palanteer
The PKGBUILD installs Python wheels built locally but also runs 'pip install setuptools wheel --break-system-packages', which modifies the host's global Python environment, posing a supply-chain risk and violating packaging best practices.
Triggered rules
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:18
python3.12 -m pip install setuptools wheel --break-system-packages
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD installs Python wheels built locally but also runs 'pip install setuptools wheel --break-system-packages', which modifies the host's global Python environment, posing a supply-chain risk and violating packaging best practices.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Morteza NourelahiAlamdari <m@0t1.me>
pkgname=palanteer
pkgver=0.8
pkgrel=1
pkgdesc="High performance visual profiler, debugger, tests enabler for C++ and Python"
arch=('x86_64')
url="https://github.com/dfeneyrou/${pkgname}"
license=('AGPL-3.0' 'MIT')
makedepends=('gcc' 'cmake' 'make')
depends=('python312')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('2e36f6b969ac44621de902adf3d5a7dbdbb6e00002ba7c8d29b1e303500144e1')
build() {
cd ${pkgname}-${pkgver}
python3.12 -m ensurepip --upgrade 2>/dev/null
python3.12 -m pip install setuptools wheel --break-system-packages
[ -d build ] || mkdir build ; cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DPython3_EXECUTABLE=/usr/bin/python3.12
make -j$(nproc)
}
package() {
install -Dm755 "${pkgname}-${pkgver}/build/bin/${pkgname}" "${pkgdir}/usr/local/bin/${pkgname}"
install -Dvm644 "${pkgname}-${pkgver}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}"
# Desktop icon.
install -Dm 644 ../palanteer.png "${pkgdir}/usr/share/pixmaps/palanteer.png"
install -Dm 644 ../palanteer.desktop "${pkgdir}/usr/share/applications/palanteer.desktop"
# Python packages.
python3.12 -m pip install "${pkgname}-${pkgver}/build/python/dist/${pkgname}-${pkgver}"*.whl --root "${pkgdir}" --ignore-installed --no-deps
python3.12 -m pip install "${pkgname}-${pkgver}/build/server/scripting/dist/${pkgname}_scripting-${pkgver}"*.whl --root "${pkgdir}" --ignore-installed --no-deps
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |