adbenq-git
Triggered rules
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:26
pip install pure-python-adb --break-system-packages
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD runs 'pip install pure-python-adb --break-system-packages' during the build() phase, which installs a PyPI package directly into the system Python environment outside pacman's control. This is a genuine supply-chain concern: the installed package is not pinned to a specific version or hash, so any future compromise or version bump of 'pure-python-adb' on PyPI would silently affect users. Additionally, --break-system-packages bypasses PEP 668 protections and installs into the system site-packages, polluting the managed environment. The source itself is a git clone from the upstream GitHub repo (SKIP checksum is acceptable for VCS sources), and the rest of the package installs data files and scripts normally. The core issue is the unpinned, unverified pip install of an executed Python library from an external registry during build, which is a real medium-severity supply-chain risk.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Lyna Stral <testerthe60@gmail.com>
_pkgname=adbenq
pkgname="$_pkgname"-git
pkgver=v0.2.4.r0.gc68a390
pkgrel=1
pkgdesc="General utility to manage your ANDROID TV. Tailored for BENQ TVs"
url="https://github.com/Zarox28/ADBenQ"
license=("AGPLv3")
arch=('any')
provides=('adbenq')
depends=('python' 'python-pip' 'pyside6' 'scrcpy' 'android-tools' 'python-platformdirs')
makedepends=('git')
source=("${_pkgname}::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir"/${_pkgname}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir"/${_pkgname}
# Currently I do not have any other way to package this dependency, which sucks. Shouldn't break anything tho
pip install pure-python-adb --break-system-packages
}
package() {
install -Dm 0644 "../adbenq.desktop" "${pkgdir}/usr/share/applications/adbenq.desktop"
install -Dm 0655 "../run" "${pkgdir}/usr/bin/adbenq"
cd "$srcdir/${_pkgname}"
install -Dm 0644 "src/icons/linux.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/adbenq.png"
mkdir -p "${pkgdir}/opt/adbenq"
cp -r . "${pkgdir}/opt/adbenq/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |