palanteer

MEDIUM
maintainer Microwave_Chef 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

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:18 python3.12 -m pip install setuptools wheel --break-system-packages
Medium AI review 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
1# Maintainer: Morteza NourelahiAlamdari <m@0t1.me>
2
3pkgname=palanteer
4pkgver=0.8
5pkgrel=1
6pkgdesc="High performance visual profiler, debugger, tests enabler for C++ and Python"
7arch=('x86_64')
8url="https://github.com/dfeneyrou/${pkgname}"
9license=('AGPL-3.0' 'MIT')
10makedepends=('gcc' 'cmake' 'make')
11depends=('python312')
12source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
13sha256sums=('2e36f6b969ac44621de902adf3d5a7dbdbb6e00002ba7c8d29b1e303500144e1')
14
15build() {
16 cd ${pkgname}-${pkgver}
17 python3.12 -m ensurepip --upgrade 2>/dev/null
18 python3.12 -m pip install setuptools wheel --break-system-packages
19 [ -d build ] || mkdir build ; cd build
20 cmake .. -DCMAKE_BUILD_TYPE=Release -DPython3_EXECUTABLE=/usr/bin/python3.12
21 make -j$(nproc)
22}
23
24package() {
25 install -Dm755 "${pkgname}-${pkgver}/build/bin/${pkgname}" "${pkgdir}/usr/local/bin/${pkgname}"
26 install -Dvm644 "${pkgname}-${pkgver}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}"
27
28 # Desktop icon.
29 install -Dm 644 ../palanteer.png "${pkgdir}/usr/share/pixmaps/palanteer.png"
30 install -Dm 644 ../palanteer.desktop "${pkgdir}/usr/share/applications/palanteer.desktop"
31
32 # Python packages.
33 python3.12 -m pip install "${pkgname}-${pkgver}/build/python/dist/${pkgname}-${pkgver}"*.whl --root "${pkgdir}" --ignore-installed --no-deps
34 python3.12 -m pip install "${pkgname}-${pkgver}/build/server/scripting/dist/${pkgname}_scripting-${pkgver}"*.whl --root "${pkgdir}" --ignore-installed --no-deps
35}
36

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion