cdist
maintainer sparrowhawk
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official Git host (code.ungleich.ch), which is plausibly the project's own infrastructure; building from source is normal for AUR packages, and the checksum is provided.
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 a tarball from the project's official Git host (code.ungleich.ch), which is plausibly the project's own infrastructure; building from source is normal for AUR packages, and the checksum is provided.
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:12
source=("https://code.ungleich.ch/ungleich-public/cdist/archive/${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Joachim Desroches <joachim.desroches@epfl.ch>
2
3
pkgname=cdist
4
pkgver=7.0.0
5
pkgrel=2
6
pkgdesc='A usable configuration management system'
7
arch=('any')
8
url='https://code.ungleich.ch/ungleich-public/cdist/'
9
license=('GPL3')
10
depends=('python' 'openssh')
11
makedepends=('python-setuptools' 'python-six' 'python-sphinx' 'python-sphinx_rtd_theme')
12
source=("https://code.ungleich.ch/ungleich-public/cdist/archive/${pkgver}.tar.gz")
13
sha256sums=('951f37b01a57e0b630987d68827ceb2eeb44e29251028406b1c37c8dc05beb9f')
14
15
prepare() {
16
echo "VERSION = \"${pkgver}\"" > ${pkgname}/cdist/version.py
17
}
18
19
build() {
20
cd ${pkgname}/
21
22
python setup.py build
23
make man
24
}
25
26
package() {
27
cd ${pkgname}/
28
29
python setup.py install --root="${pkgdir}"
30
31
# Install documentation
32
mkdir -p ${pkgdir}/usr/share/man/man1 ${pkgdir}/usr/share/man/man7
33
cp docs/dist/man/man1/*.1 ${pkgdir}/usr/share/man/man1/
34
cp docs/dist/man/man7/*.7 ${pkgdir}/usr/share/man/man7/
35
36
# Restore executable bit on scripts removed by setup.py
37
cd "${pkgdir}"
38
grep -l -R -m 1 "^#!\/" . | xargs chmod +x
39
40
}
41
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 |