heroku-audit

LOW
maintainer theorangeone 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The pip install is used to install build dependencies (pyinstaller) and the package itself in a temporary virtualenv for building an executable; it does not install arbitrary external code or persist beyond the build process.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install is used to install build dependencies (pyinstaller) and the package itself in a temporary virtualenv for building an executable; it does not install arbitrary external code or persist beyond the build process.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:21 pip install -e . pyinstaller

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jake Howard <aur at theorangeone dot net>
2pkgname=heroku-audit
3pkgver=0.0.3
4pkgrel=1
5pkgdesc="Command-line tool for reporting on specific attributes of a Heroku environment."
6url="https://github.com/torchbox/heroku-audit"
7license=('BSD')
8arch=('x86_64')
9depends=(zlib readline xz openssl glibc expat bzip2 libffi util-linux-libs ncurses mpdecimal)
10source=("https://github.com/torchbox/heroku-audit/archive/${pkgver}.tar.gz")
11makedepends=(python-build python-wheel)
12sha256sums=('69514c421d3d626db8a9f6ddb7441ba49cb3c970855e5a865488ed1a5adacc49')
13
14build() {
15 cd "${srcdir}"/${pkgname}-${pkgver}
16
17 # Create a temporary virtualenv to install the build dependencies in
18 python -m venv venv
19 source venv/bin/activate
20
21 pip install -e . pyinstaller
22
23 venv/bin/pyinstaller -D --strip heroku_audit/__main__.py --name heroku-audit --clean --noconfirm
24}
25
26check() {
27 cd "${srcdir}"/${pkgname}-${pkgver}
28
29 ./dist/heroku-audit/heroku-audit --version > /dev/null
30 ./dist/heroku-audit/heroku-audit --list > /dev/null
31}
32
33package() {
34 cd "${srcdir}"/${pkgname}-${pkgver}
35
36 mkdir -p "${pkgdir}"/opt
37 cp -r dist/heroku-audit "${pkgdir}"/opt/heroku-audit
38
39 mkdir -p "${pkgdir}"/usr/bin/
40 ln -s /opt/heroku-audit/heroku-audit "${pkgdir}"/usr/bin/
41
42 install -Dm644 README.md "${pkgdir}"/usr/share/doc/${pkgname}/README.md
43 install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

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

0 / 4000
Your suggestion