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-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 |