heroku-audit

LOW
maintainer theorangeone 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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