python-mtcnn
The source is a Python package tarball from pypi.debian.net, a non-whitelisted but plausible Debian PyPI mirror; it is built from source and not executed directly, reducing supply-chain risk.
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 source is a Python package tarball from pypi.debian.net, a non-whitelisted but plausible Debian PyPI mirror; it is built from source and not executed directly, reducing supply-chain risk.
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:34
"python-${_pymodule}-${pkgver}.tar.gz::https://pypi.debian.net/${_pymodule}/${_pymodule}-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: dreieck
_pymodule="mtcnn"
_pkgname="python-${_pymodule}"
pkgname="${_pkgname}"
pkgdesc="Implementation of the MTCNN face detector for Keras. Written from scratch, using as a reference the implementation of MTCNN from David Sandberg (FaceNet’s MTCNN) in Facenet. Based on the paper Zhang, K et al. (2016)"
# url="https://pypi.org/project/mtcnn/"
url="http://github.com/ipazc/mtcnn"
license=("MIT")
epoch=0
pkgver=0.1.1
pkgrel=1
arch=(
'any'
)
depends=(
'python>=3.4'
'python-keras'
'python-opencv'
'python-tensorflow>=2.2'
)
makedepends=(
'python-setuptools'
)
provides=(
"python3-${_pymodule}=${pkgver}"
)
conflicts=(
"python3-${_pymodule}"
)
optdepends=()
source=(
# "python-${_pymodule}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/b4/8e/6565beb364587befbef5efad314e14f78be85d65c3709a4da09bd9dfbb65/${_pymodule}-${pkgver}.tar.gz"
"python-${_pymodule}-${pkgver}.tar.gz::https://pypi.debian.net/${_pymodule}/${_pymodule}-${pkgver}.tar.gz"
"python-${_pymodule}-${pkgver}-LICENSE::https://raw.githubusercontent.com/ipazc/mtcnn/master/LICENSE"
)
sha256sums=(
'd0957274584be62cb83d4a089041f8ee3cf3b1893e45f01ed3356f94a381302b'
'fd9642bdf0c3ae1231a961b5b471f01559608d7530bcd7c669eb7dcf17c57940'
)
validpgpkeys=()
build() {
cd "${srcdir}/${_pymodule}-${pkgver}"
printf '%s\n' "${url}" > "upstream.url"
python setup.py build
}
package() {
cd "${srcdir}/${_pymodule}-${pkgver}"
## See https://wiki.archlinux.org/title/Python_package_guidelines#Reproducible_bytecode
export PYTHONHASHSEED=0
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
for _docfile in AUTHORS PKG-INFO README.rst requirements.txt upstream.url; do
install -D -m644 -v "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/${_docfile}"
done
for _srcdirlicense in "python-${_pymodule}-${pkgver}-LICENSE"; do
install -D -m644 -v "${srcdir}/${_srcdirlicense}" "${pkgdir}/usr/share/licenses/${pkgname}/${_srcdirlicense}"
ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/${_srcdirlicense}" "${pkgdir}/usr/share/doc/${_pkgname}/${_srcdirlicense}"
done
}
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 |