graf
maintainer marmai
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged
The source is downloaded from the project's own Forgejo repository, which is plausibly the official source; building from a non-whitelisted but project-owned host is normal for AUR packages and does not constitute a high risk.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is downloaded from the project's own Forgejo repository, which is plausibly the official source; building from a non-whitelisted but project-owned host is normal for AUR packages and does not constitute a high risk.
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:21
source=("graf-0.7.0.alpha.tar.gz::https://git.sovereign-society.org/graf-vcs/graf/archive/v0.7.0-alpha.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Mark K. <markus@sovereign-society.org>
2
# Maintainer note: this package is updated automatically from annotated tags
3
# in graf's Forgejo repository via CI.
4
5
pkgname=graf
6
pkgver=0.7.0.alpha
7
pkgrel=1
8
pkgdesc='Sovereign-native Janus-native version control for operators and agents'
9
arch=('x86_64')
10
url='https://git.sovereign-society.org/markus/graf'
11
license=('custom:LCL-1.0')
12
depends=('glibc')
13
makedepends=('bash' 'git' 'janus')
14
checkdepends=('bash')
15
provides=('graf')
16
conflicts=('graf-git')
17
18
_upstream_repo='https://git.sovereign-society.org/graf-vcs/graf'
19
_upstream_tag='v0.7.0-alpha'
20
21
source=("graf-0.7.0.alpha.tar.gz::https://git.sovereign-society.org/graf-vcs/graf/archive/v0.7.0-alpha.tar.gz")
22
sha256sums=('0f236cfdeaba931c4aef77c22f91f82c82c33645a78bb97ea22aaa35b424020e')
23
24
pkg_source_root() {
25
local marker
26
27
marker="$(find "$srcdir" -maxdepth 4 -type f -path '*/src/main.jan' -print -quit 2>/dev/null)"
28
if [[ -z "$marker" ]]; then
29
return 1
30
fi
31
32
printf '%s' "$(dirname "$marker")"
33
}
34
35
build() {
36
local graf_root
37
38
graf_root="$(pkg_source_root)"
39
if [[ -z "$graf_root" ]]; then
40
error 'Unable to locate graf source tree in PKGBUILD source extraction path'
41
return 1
42
fi
43
44
if ! command -v janus >/dev/null; then
45
error 'janus compiler not found in build environment'
46
error 'Set build dependency to include janus and ensure it is executable'
47
return 1
48
fi
49
50
cd "$graf_root"
51
JANUS="${JANUS:-$(command -v janus)}" \
52
./scripts/zb build
53
}
54
55
check() {
56
local graf_root
57
58
graf_root="$(pkg_source_root)"
59
if [[ -z "$graf_root" ]]; then
60
error 'Unable to locate graf source tree for check()'
61
return 1
62
fi
63
64
if [[ -x "$graf_root/zig-out/bin/graf" ]]; then
65
"$graf_root/zig-out/bin/graf" help >/dev/null 2>&1 || true
66
fi
67
}
68
69
package() {
70
local graf_root
71
72
graf_root="$(pkg_source_root)"
73
if [[ -z "$graf_root" ]]; then
74
error 'Unable to locate graf source tree for package()'
75
return 1
76
fi
77
78
cd "$graf_root"
79
install -Dm755 zig-out/bin/graf "$pkgdir/usr/bin/graf"
80
81
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
82
83
if [[ -f "CLAUDE.md" ]]; then
84
install -Dm644 CLAUDE.md "$pkgdir/usr/share/doc/$pkgname/CLAUDE.md"
85
fi
86
87
install -Dm644 docs/agent-native-workflow.md "$pkgdir/usr/share/doc/$pkgname/agent-native-workflow.md"
88
}
89
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-08-18 00:03@@ -3,7 +3,7 @@ # in graf's Forgejo repository via CI. pkgname=graf-pkgver=0.5.48.alpha.2+pkgver=0.7.0.alpha pkgrel=1 pkgdesc='Sovereign-native Janus-native version control for operators and agents' arch=('x86_64')@@ -15,11 +15,11 @@ provides=('graf') conflicts=('graf-git') -_upstream_repo='https://git.sovereign-society.org/markus/graf'-_upstream_tag='v0.5.48-alpha.2'+_upstream_repo='https://git.sovereign-society.org/graf-vcs/graf'+_upstream_tag='v0.7.0-alpha' -source=("graf-0.5.48.alpha.2.tar.gz::https://git.sovereign-society.org/markus/graf/archive/v0.5.48-alpha.2.tar.gz")-sha256sums=('20d87fc1c878b25b8384f3ba39ca7f11ade06014d4dcd60cd51eed9986c28148')+source=("graf-0.7.0.alpha.tar.gz::https://git.sovereign-society.org/graf-vcs/graf/archive/v0.7.0-alpha.tar.gz")+sha256sums=('0f236cfdeaba931c4aef77c22f91f82c82c33645a78bb97ea22aaa35b424020e') pkg_source_root() { local markerScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 2 |
| 2026-08-17 00:18:29 | LOW | 2 |
| 2026-08-16 00:03:42 | LOW | 2 |
| 2026-08-15 00:26:13 | LOW | 2 |
| 2026-08-14 17:29:23 | MEDIUM | 1 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 18:55:24 | CLEAN | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |