python-nipy
The package downloads data files from the project's own domain (nipy.org) for building; these are non-executable data assets, not prebuilt binaries, and the source is plausibly official, so the risk is low 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 data files from the project's own domain (nipy.org) for building; these are non-executable data assets, not prebuilt binaries, and the source is plausibly official, so the risk is low 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:32
'http://nipy.org/data-packages/nipy-templates-0.3.tar.gz'
PKGBUILD
1 offending line(s) highlighted# Maintainer: Butui Hu <hot123tea123@gmail.com>
_pkgname=nipy
pkgname=python-nipy
pkgver=0.6.1
pkgrel=3
pkgdesc='Neuroimaging in Python FMRI analysis package'
arch=('x86_64')
url='http://nipy.org/nipy'
license=('BSD-3-Clause')
depends=(
openblas
python-nibabel
python-numpy
python-scipy
python-sympy
python-transforms3d
)
makedepends=(
cmake
cython
git
meson-python
python-build
python-installer
python-setuptools
python-wheel
)
# data files from https://nipy.org/data-packages/
source=(
"https://github.com/nipy/nipy/pull/589.patch"
'http://nipy.org/data-packages/nipy-templates-0.3.tar.gz'
'http://nipy.org/data-packages/nipy-data-0.3.tar.gz'
"${_pkgname}-${pkgver}::git+https://github.com/nipy/nipy.git")
sha512sums=('e01b353a6535e4f5fb4c968aad8e2f7c6111c8323f41d129645af51780307a4c2991afe52f9975f8791412736762e59ee65a9924d2218ff34ff5cc53c84e6254'
'3af927b8dde0b10ca45899016bce5e4f5b25ef285b2339a63346bfbfa99cc1a0e2f0728336c3ac7e32d4c05375f36fdfa7cf97cdfd26b42834cb3cb631d593b9'
'ea8ed3537fb00596c16fa8b3464a2da54845ce9782e7bb40eb1157eb94de53892dda99bb4f22a829493cd59cfb47551f39de7641bf65a33678e97e5a4974de1a'
'SKIP')
prepare() {
# we don't use ninja from PyPI to build the package
sed -i "/ninja/d" "${srcdir}/${_pkgname}-${pkgver}/pyproject.toml"
patch -d "${srcdir}/${_pkgname}-${pkgver}" -p1 -i "${srcdir}/589.patch"
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
cd "${srcdir}/nipy-data-0.3"
python -m build --wheel --no-isolation
cd "${srcdir}/nipy-templates-0.3"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
cd "${srcdir}/nipy-data-0.3"
python -m installer --destdir="${pkgdir}" dist/*.whl
cd "${srcdir}/nipy-templates-0.3"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
# vim:set ts=2 sw=2 et:
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 |