heroku-audit
maintainer theorangeone
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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>
2
pkgname=heroku-audit
3
pkgver=0.0.3
4
pkgrel=1
5
pkgdesc="Command-line tool for reporting on specific attributes of a Heroku environment."
6
url="https://github.com/torchbox/heroku-audit"
7
license=('BSD')
8
arch=('x86_64')
9
depends=(zlib readline xz openssl glibc expat bzip2 libffi util-linux-libs ncurses mpdecimal)
10
source=("https://github.com/torchbox/heroku-audit/archive/${pkgver}.tar.gz")
11
makedepends=(python-build python-wheel)
12
sha256sums=('69514c421d3d626db8a9f6ddb7441ba49cb3c970855e5a865488ed1a5adacc49')
13
14
build() {
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
26
check() {
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
33
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |