pritunl-git

maintainer alessi0 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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