nook-beta-bin
The package downloads a prebuilt .deb binary from a non-standard, non-whitelisted host (nook.cloudylake.io), which is an unverifiable executable artifact that could be silently swapped, posing a supply-chain risk.
Triggered rules
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:14
source_x86_64=("nook-beta-0.2.35-linux-${pkgver}-${pkgrel}.deb::https://nook.cloudylake.io/download/beta/nook-beta-0.2.35-linux.deb")
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb binary from a non-standard, non-whitelisted host (nook.cloudylake.io), which is an unverifiable executable artifact that could be silently swapped, posing a supply-chain risk.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Nook Release Bot <release-bot@nook.local>
pkgname=nook-beta-bin
pkgver=0.2.35
pkgrel=1
pkgdesc='Nook Beta desktop collaboration app'
arch=('x86_64')
url='https://nook.cloudylake.io'
license=('custom')
depends=('alsa-lib' 'at-spi2-core' 'gtk3' 'hicolor-icon-theme' 'libayatana-appindicator' 'libdrm' 'libx11' 'libxcb' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxkbcommon' 'libxrandr' 'libxss' 'libxtst' 'mesa' 'nss' 'xdg-utils')
optdepends=('libpulse: PulseAudio audio support')
provides=('nook-beta')
conflicts=('nook-beta')
options=(!strip)
source_x86_64=("nook-beta-0.2.35-linux-${pkgver}-${pkgrel}.deb::https://nook.cloudylake.io/download/beta/nook-beta-0.2.35-linux.deb")
sha256sums_x86_64=('a5a2522d79c9148be82474176c96dddcc35ef1521cc57aca750200f529c3e735')
package() {
bsdtar -xf "nook-beta-0.2.35-linux-${pkgver}-${pkgrel}.deb" -C "${srcdir}"
local data_archive
local app_install_dir='nook-beta'
local versioned_app_dir="${app_install_dir}-${pkgver}"
data_archive="$(find "${srcdir}" -maxdepth 1 -type f -name 'data.tar*' | head -n 1)"
if [ -z "${data_archive}" ]; then
echo "Unable to find data archive in extracted .deb" >&2
return 1
fi
bsdtar -xf "${data_archive}" -C "${pkgdir}"
if [ ! -d "${pkgdir}/opt/${app_install_dir}" ]; then
echo "Unable to find /opt/${app_install_dir} in extracted .deb" >&2
return 1
fi
# AUR upgrades must not write hashed Electron/Vite assets into a stable
# /opt path. If an older install left unowned files behind, pacman checks
# would fail before scriptlets can clean them. Keep the app payload
# versioned and point the stable launchers at it instead.
rm -rf "${pkgdir}/opt/${versioned_app_dir}"
mv "${pkgdir}/opt/${app_install_dir}" "${pkgdir}/opt/${versioned_app_dir}"
mkdir -p "${pkgdir}/usr/bin"
ln -sfn "/opt/${versioned_app_dir}/${app_install_dir}" "${pkgdir}/usr/bin/${app_install_dir}"
local desktop_file="${pkgdir}/usr/share/applications/${app_install_dir}.desktop"
if [ -f "${pkgdir}/usr/share/applications/Nook.desktop" ]; then
mv "${pkgdir}/usr/share/applications/Nook.desktop" "${desktop_file}"
fi
if [ -f "${desktop_file}" ]; then
sed -i "s#/opt/${app_install_dir}/${app_install_dir}#/opt/${versioned_app_dir}/${app_install_dir}#g" "${desktop_file}"
fi
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |