pritunl-git

LOW
maintainer alessi0 0 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion