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
6
pkgname=pritunl-git
7
_pkgname=pritunl
8
pkgver=1.32.3602.80
9
pkgrel=1
10
pkgdesc="Enterprise VPN Server"
11
arch=("x86_64")
12
license=("custom")
13
url="https://github.com/${_pkgname}/${_pkgname}"
14
_depends=(
15
pritunl-dns
16
pritunl-web
17
python3
18
net-tools
19
iproute2
20
openvpn
21
)
22
makedepends=(
23
git
24
python-setuptools
25
python-virtualenv
26
python-pip
27
)
28
optdepends=(mongodb)
29
provides=("${_pkgname}")
30
conflicts=("${_pkgname}")
31
install=${_pkgname}.install
32
source=("git+$url")
33
sha256sums=('SKIP')
34
options=("emptydirs")
35
backup=("etc/${_pkgname}.conf")
36
37
pkgver() {
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
53
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |