boostchanger-py

LOW
maintainer nbebaw 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The cheaper model's concern about `pip install plyer` is valid but overstated. 'plyer' is a well-known, legitimate Python library on PyPI used for cross-platform notifications; it is not an unofficial or personal package. The real issues here are packaging quality problems: (1) `pip install plyer` runs at build time without version pinning or hash verification, bypassing pacman dependency tracking — this is sloppy but not a novel supply-chain attack vector beyond what any pip usage entails; (2) `md5sums=('SKIP')` means the upstream tarball is not integrity-checked; (3) the PKGBUILD writes to `$HOME` of the build user during `package()`, which is non-standard; (4) `prepare()` incorrectly references `$pkgdir` which is not set at that stage. These are all packaging quality/correctness issues. The source is from the maintainer's own GitHub releases (matching the package URL), and the installed content is Python scripts plus a shell wrapper — no pre-compiled binaries from unofficial hosts. Overall this is low severity: sloppy packaging with no integrity checking and an unpinned pip dependency, but not a genuine supply-chain attack or execution of binaries from an unofficial host.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 72%): The cheaper model's concern about `pip install plyer` is valid but overstated. 'plyer' is a well-known, legitimate Python library on PyPI used for cross-platform notifications; it is not an unofficial or personal package. The real issues here are packaging quality problems: (1) `pip install plyer` runs at build time without version pinning or hash verification, bypassing pacman dependency tracking — this is sloppy but not a novel supply-chain attack vector beyond what any pip usage entails; (2) `md5sums=('SKIP')` means the upstream tarball is not integrity-checked; (3) the PKGBUILD writes to `$HOME` of the build user during `package()`, which is non-standard; (4) `prepare()` incorrectly references `$pkgdir` which is not set at that stage. These are all packaging quality/correctness issues. The source is from the maintainer's own GitHub releases (matching the package URL), and the installed content is Python scripts plus a shell wrapper — no pre-compiled binaries from unofficial hosts. Overall this is low severity: sloppy packaging with no integrity checking and an unpinned pip dependency, but not a genuine supply-chain attack or execution of binaries from an unofficial host.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:22 pip install plyer

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: nbebaw
2pkgname=boostchanger-py
3pkgver=0.1
4pkgrel=4
5pkgdesc="Tray application to controlling CPU Turbo boost"
6arch=('any')
7url="https://github.com/nbebaw/boostchanger-py"
8license=('MIT')
9makedepends=('python' 'git' 'tar')
10source=("https://github.com/nbebaw/boostchanger-py/releases/download/v$pkgver.$pkgrel/boost_changer-$pkgver.$pkgrel.tar.gz")
11md5sums=('SKIP')
12
13prepare() {
14 pkgverOLD=0.1.3
15 if [ -d ${pkgdir}/opt/boostchanger-v$pkgver.$pkgrel ]; then
16 rm -r ${pkgdir}/opt/boostchanger-v$pkgverOLD
17 rm ${pkgdir}/usr/bin/boostchanger-py
18 rm ${pkgdir}/usr/share/applications/boostchanger-py.desktop
19 rm ${pkgdir}/usr/share/pixmaps/boostchanger-py.png
20 fi
21 tar -xvf boost_changer-$pkgver.$pkgrel.tar.gz
22 pip install plyer
23}
24
25package() {
26 mkdir -p ${pkgdir}/opt
27 mkdir -p ${pkgdir}/home/$USER/.config/autostart
28 cp -r boost_changer-$pkgver.$pkgrel/src ${pkgdir}/opt
29 mv ${pkgdir}/opt/src ${pkgdir}/opt/boostchanger-v$pkgver.$pkgrel
30 install -Dm755 boost_changer-$pkgver.$pkgrel/build/boostchanger-py.sh ${pkgdir}/usr/bin/boostchanger-py
31 install -Dm644 boost_changer-$pkgver.$pkgrel/build/boostchanger-py.desktop ${pkgdir}/usr/share/applications/boostchanger-py.desktop
32 install -Dm644 boost_changer-$pkgver.$pkgrel/build/boostchanger-py.png ${pkgdir}/usr/share/pixmaps/boostchanger-py.png
33 cp boost_changer-$pkgver.$pkgrel/build/boostchanger-py.desktop ${pkgdir}/home/$USER/.config/autostart
34 chown $USER:$USER ${pkgdir}/home/$USER/.config/autostart/boostchanger-py.desktop
35 rm -r boost_changer-$pkgver.$pkgrel
36 rm boost_changer-$pkgver.$pkgrel.tar.gz
37}
38

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

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

0 / 4000
Your suggestion