python-minerva-git
The package downloads source code from the project's official GitHub repository and a diagram from Google Docs; the latter is used as documentation and not executed, posing minimal risk despite the non-whitelisted host.
Triggered rules
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 package downloads source code from the project's official GitHub repository and a diagram from Google Docs; the latter is used as documentation and not executed, posing minimal risk despite the non-whitelisted host.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:33
"pipeline-diagram.png::https://docs.google.com/drawings/d/e/2PACX-1vTMkQc8ZJoiJ2AOeFGMkK0QTNx1hSG5wDrG5seLdJ3i61E4ag7wH7VFey44qhvuXotvOKxOw-mFS-VE/pub?w=850&h=761"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de>
pkgname=python-minerva-git
_gitpkgname=minerva
pkgver=r137.b9fb6d8
pkgrel=1
pkgdesc='32-bit RISC-V soft processor'
arch=('any')
url='https://github.com/minerva-cpu/minerva'
license=('BSD-3-Clause')
depends=(
'python'
'python-amaranth'
'python-amaranth-soc'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-pdm-backend'
'python-wheel'
)
checkdepends=(
'python-pdm'
'symbiyosys'
'yices'
)
provides=("python-minerva=${pkgver}")
conflicts=('python-minerva')
source=(
"${_gitpkgname}::git+https://github.com/minerva-cpu/minerva.git"
"pipeline-diagram.png::https://docs.google.com/drawings/d/e/2PACX-1vTMkQc8ZJoiJ2AOeFGMkK0QTNx1hSG5wDrG5seLdJ3i61E4ag7wH7VFey44qhvuXotvOKxOw-mFS-VE/pub?w=850&h=761"
)
sha512sums=(
'SKIP'
'SKIP'
)
pkgver() {
printf "r%s.%s" \
"$(git -C "${_gitpkgname}" rev-list --count HEAD)" \
"$(git -C "${_gitpkgname}" rev-parse --short HEAD)"
}
prepare() {
cd "${_gitpkgname}"
echo >&2 'Patching tests to use symbiyosys instead of yowasp-yosys'
sed -i -e 's/yowasp-sby/sby/' minerva/test/utils.py
echo >&2 'Adjusting image links'
sed -i -e 's/\(!\[Pipeline Diagram Image\]\)([^)]*)/\1(.\/pipeline-diagram.png)/' \
README.md
}
build() {
cd "${_gitpkgname}"
python -m build --wheel --no-isolation
}
check() {
cd "${_gitpkgname}"
PDM_USE_VENV=false SBY=sby YOSYS=yosys python -m unittest discover -v
}
package() {
cd "${_gitpkgname}"
echo >&2 'Packaging the wheel'
python -I -m installer --destdir="${pkgdir}" dist/*.whl
echo >&2 'Packaging the documentation'
install -D -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
README.md ../pipeline-diagram.png
echo >&2 'Packaging the license'
install -D -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" \
LICENSE.txt
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |