boostchanger-py

maintainer nbebaw · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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