nook-beta-bin

MEDIUM
maintainer Opolak95 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Medium source=() URL on a non-standard host 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")
Medium AI review 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
1# Maintainer: Nook Release Bot <release-bot@nook.local>
2pkgname=nook-beta-bin
3pkgver=0.2.35
4pkgrel=1
5pkgdesc='Nook Beta desktop collaboration app'
6arch=('x86_64')
7url='https://nook.cloudylake.io'
8license=('custom')
9depends=('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')
10optdepends=('libpulse: PulseAudio audio support')
11provides=('nook-beta')
12conflicts=('nook-beta')
13options=(!strip)
14source_x86_64=("nook-beta-0.2.35-linux-${pkgver}-${pkgrel}.deb::https://nook.cloudylake.io/download/beta/nook-beta-0.2.35-linux.deb")
15sha256sums_x86_64=('a5a2522d79c9148be82474176c96dddcc35ef1521cc57aca750200f529c3e735')
16
17package() {
18 bsdtar -xf "nook-beta-0.2.35-linux-${pkgver}-${pkgrel}.deb" -C "${srcdir}"
19
20 local data_archive
21 local app_install_dir='nook-beta'
22 local versioned_app_dir="${app_install_dir}-${pkgver}"
23 data_archive="$(find "${srcdir}" -maxdepth 1 -type f -name 'data.tar*' | head -n 1)"
24 if [ -z "${data_archive}" ]; then
25 echo "Unable to find data archive in extracted .deb" >&2
26 return 1
27 fi
28
29 bsdtar -xf "${data_archive}" -C "${pkgdir}"
30
31 if [ ! -d "${pkgdir}/opt/${app_install_dir}" ]; then
32 echo "Unable to find /opt/${app_install_dir} in extracted .deb" >&2
33 return 1
34 fi
35
36 # AUR upgrades must not write hashed Electron/Vite assets into a stable
37 # /opt path. If an older install left unowned files behind, pacman checks
38 # would fail before scriptlets can clean them. Keep the app payload
39 # versioned and point the stable launchers at it instead.
40 rm -rf "${pkgdir}/opt/${versioned_app_dir}"
41 mv "${pkgdir}/opt/${app_install_dir}" "${pkgdir}/opt/${versioned_app_dir}"
42
43 mkdir -p "${pkgdir}/usr/bin"
44 ln -sfn "/opt/${versioned_app_dir}/${app_install_dir}" "${pkgdir}/usr/bin/${app_install_dir}"
45
46 local desktop_file="${pkgdir}/usr/share/applications/${app_install_dir}.desktop"
47 if [ -f "${pkgdir}/usr/share/applications/Nook.desktop" ]; then
48 mv "${pkgdir}/usr/share/applications/Nook.desktop" "${desktop_file}"
49 fi
50 if [ -f "${desktop_file}" ]; then
51 sed -i "s#/opt/${app_install_dir}/${app_install_dir}#/opt/${versioned_app_dir}/${app_install_dir}#g" "${desktop_file}"
52 fi
53}
54

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion