palanteer

MEDIUM
maintainer Microwave_Chef 1 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

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

0 / 4000
Your suggestion