python-pep-adapter-hg
maintainer TheJackiMonster
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is fetched from the project's own mercurial repository on a non-whitelisted but plausibly official domain (pep.foundation); building from own source is normal AUR practice, and the package installs only compiled Python extensions, not untrusted prebuilt binaries.
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 fetched from the project's own mercurial repository on a non-whitelisted but plausibly official domain (pep.foundation); building from own source is normal AUR practice, and the package installs only compiled Python extensions, not untrusted prebuilt binaries.
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:14
source=("hg+https://pep.foundation/dev/repos/${_name}")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Tobias Frisch <thejackimonster@gmail.com>
2
3
pkgname=python-pep-adapter-hg
4
_name=pEpPythonAdapter
5
pkgver=2.1.0
6
pkgrel=1
7
pkgdesc="p≡p Python adapter"
8
url="https://pep.foundation/dev/repos/pEpPythonAdapter"
9
depends=('python' 'pep-engine' 'boost' 'boost-libs' 'gcc')
10
makedepends=('mercurial' 'python')
11
optdepends=()
12
license=('GPL3')
13
arch=('any')
14
source=("hg+https://pep.foundation/dev/repos/${_name}")
15
sha256sums=('SKIP')
16
provides=('python-pep-adapter')
17
18
prepare() {
19
cd "$srcdir/${_name}"
20
21
hg up "Release_2.1.0"
22
23
sed -i 's/\-mt//g' setup.py
24
}
25
26
pkgver() {
27
cd "$srcdir/${_name}"
28
29
hg tags | grep Release | grep -v RC | sort -r | head -1 | awk '{print $1}' | cut -c9-
30
}
31
32
build() {
33
cd "$srcdir/${_name}"
34
35
python3 setup.py build_ext
36
}
37
38
package() {
39
cd "$srcdir/${_name}"
40
41
python3 setup.py install --root="$pkgdir" --optimize=1
42
}
43
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 |