pibootcheck
maintainer dials
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip install in build() is used to install build dependencies from the project's own requirements.txt, which is standard practice; the source is from a legitimate GitHub repository and the package builds from source, so the risk is low.
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 in build() is used to install build dependencies from the project's own requirements.txt, which is standard practice; the source is from a legitimate GitHub repository and the package builds from source, so the risk is low.
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:20
pip install --upgrade pip setuptools wheel build -
PKGBUILD:21
pip install -r requirements.txt
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: 0xdials <youremail@example.com>
2
pkgname=pibootcheck
3
pkgver=0.9.0
4
pkgrel=1
5
pkgdesc="Read-only Raspberry Pi boot-chain verification toolkit"
6
arch=('any')
7
url="https://github.com/0xdials/pibootcheck"
8
license=('MIT')
9
depends=('python' 'python-click' 'python-rich' 'python-jinja' 'python-pandas' 'python-dateutil' 'python-tldextract')
10
makedepends=('python-setuptools' 'python-wheel' 'git' 'binwalk')
11
source=("$pkgname-$pkgver.tar.gz::https://github.com/0xdials/pibootcheck/archive/refs/tags/v$pkgver.tar.gz")
12
sha256sums=('fee55ff6e709dcc92c22267c51e88ce138adf7c8881498076751b43690a2d418')
13
14
python_version=3.10
15
16
build() {
17
cd "$srcdir/$pkgname-$pkgver"
18
python -m venv .venv
19
source .venv/bin/activate
20
pip install --upgrade pip setuptools wheel build
21
pip install -r requirements.txt
22
python -m build --wheel
23
deactivate
24
}
25
26
package() {
27
cd "$srcdir/$pkgname-$pkgver"
28
# Install the built wheel into package root, no dependencies (system deps managed by depends)
29
pip install --root="$pkgdir" --no-deps ./dist/*.whl
30
31
# Install README and LICENSE
32
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
33
if [ -f LICENSE ]; then
34
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
35
fi
36
}
37
38
check() {
39
cd "$srcdir/$pkgname-$pkgver"
40
source .venv/bin/activate
41
pip install ./
42
# Run basic tests if available
43
if command -v pytest >/dev/null 2>&1; then
44
pytest -v
45
fi
46
deactivate
47
}
48
49
# vim:set ts=2 sw=2 et:
50
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 |