python-mtcnn

maintainer orphaned · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

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 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)
MEDIUM source=() URL on a non-standard host 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
1# Maintainer: dreieck
2
3_pymodule="mtcnn"
4_pkgname="python-${_pymodule}"
5pkgname="${_pkgname}"
6pkgdesc="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)"
7# url="https://pypi.org/project/mtcnn/"
8url="http://github.com/ipazc/mtcnn"
9license=("MIT")
10epoch=0
11pkgver=0.1.1
12pkgrel=1
13arch=(
14 'any'
15)
16depends=(
17 'python>=3.4'
18 'python-keras'
19 'python-opencv'
20 'python-tensorflow>=2.2'
21)
22makedepends=(
23 'python-setuptools'
24)
25provides=(
26 "python3-${_pymodule}=${pkgver}"
27)
28conflicts=(
29 "python3-${_pymodule}"
30)
31optdepends=()
32source=(
33 # "python-${_pymodule}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/b4/8e/6565beb364587befbef5efad314e14f78be85d65c3709a4da09bd9dfbb65/${_pymodule}-${pkgver}.tar.gz"
34 "python-${_pymodule}-${pkgver}.tar.gz::https://pypi.debian.net/${_pymodule}/${_pymodule}-${pkgver}.tar.gz"
35 "python-${_pymodule}-${pkgver}-LICENSE::https://raw.githubusercontent.com/ipazc/mtcnn/master/LICENSE"
36)
37sha256sums=(
38 'd0957274584be62cb83d4a089041f8ee3cf3b1893e45f01ed3356f94a381302b'
39 'fd9642bdf0c3ae1231a961b5b471f01559608d7530bcd7c669eb7dcf17c57940'
40)
41validpgpkeys=()
42
43
44build() {
45 cd "${srcdir}/${_pymodule}-${pkgver}"
46 printf '%s\n' "${url}" > "upstream.url"
47
48 python setup.py build
49}
50
51package() {
52 cd "${srcdir}/${_pymodule}-${pkgver}"
53
54 ## See https://wiki.archlinux.org/title/Python_package_guidelines#Reproducible_bytecode
55 export PYTHONHASHSEED=0
56
57 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
58
59 for _docfile in AUTHORS PKG-INFO README.rst requirements.txt upstream.url; do
60 install -D -m644 -v "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/${_docfile}"
61 done
62
63 for _srcdirlicense in "python-${_pymodule}-${pkgver}-LICENSE"; do
64 install -D -m644 -v "${srcdir}/${_srcdirlicense}" "${pkgdir}/usr/share/licenses/${pkgname}/${_srcdirlicense}"
65 ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/${_srcdirlicense}" "${pkgdir}/usr/share/doc/${_pkgname}/${_srcdirlicense}"
66 done
67}
68

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion