pritunl-git

LOW
maintainer alessi0 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The pip install uses a mirrored PyPI source but installs dependencies from the project's own requirements.txt within a contained virtualenv; this is a normal build process for Python applications and does not indicate remote code execution or malicious intent.

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 uses a mirrored PyPI source but installs dependencies from the project's own requirements.txt within a contained virtualenv; this is a normal build process for Python applications and does not indicate remote code execution or malicious intent.

  • PKGBUILD:50 ${virtualenv}/bin/pip install $mirror -U -r requirements.txt --root="${pkgdir}" --prefix="/opt/${_pkgname}"
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:50 ${virtualenv}/bin/pip install $mirror -U -r requirements.txt --root="${pkgdir}" --prefix="/opt/${_pkgname}"

PKGBUILD

1 offending line(s) highlighted
1
2
3# Mantainer: Alessio <alessio@linux.com>
4# Contributor: Jingbei Li <i@jingbei.li>
5
6pkgname=pritunl-git
7_pkgname=pritunl
8pkgver=1.32.3602.80
9pkgrel=1
10pkgdesc="Enterprise VPN Server"
11arch=("x86_64")
12license=("custom")
13url="https://github.com/${_pkgname}/${_pkgname}"
14_depends=(
15 pritunl-dns
16 pritunl-web
17 python3
18 net-tools
19 iproute2
20 openvpn
21)
22makedepends=(
23 git
24 python-setuptools
25 python-virtualenv
26 python-pip
27)
28optdepends=(mongodb)
29provides=("${_pkgname}")
30conflicts=("${_pkgname}")
31install=${_pkgname}.install
32source=("git+$url")
33sha256sums=('SKIP')
34options=("emptydirs")
35backup=("etc/${_pkgname}.conf")
36
37pkgver() {
38 cd $_pkgname
39 git describe --always --tags | sed -e 's/-/./g' -e 's/v//g'
40}
41
42_build() {
43 export virtualenv="${pkgdir}/opt/${_pkgname}"
44 export mirror="-i https://pypi.tuna.tsinghua.edu.cn/simple"
45
46 cd "$srcdir/$_pkgname"
47 virtualenv "$virtualenv"
48 ${virtualenv}/bin/python setup.py build
49 ${virtualenv}/bin/python setup.py install --root="${pkgdir}" --prefix="/opt/${_pkgname}"
50 ${virtualenv}/bin/pip install $mirror -U -r requirements.txt --root="${pkgdir}" --prefix="/opt/${_pkgname}"
51}
52
53package() {
54 depends=(${_depends[@]})
55
56 _build
57
58 mkdir -p "${pkgdir}/usr/bin"
59 ln -s "/opt/${_pkgname}/bin/${_pkgname}" "${pkgdir}/usr/bin"
60
61 msg2 "Replacing \$pkgdir"
62 sed -e "s|${pkgdir}||g" -i $(grep "${virtualenv}" ${pkgdir} -rIl 2>/dev/null)
63
64}
65

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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