cgit-pink
maintainer mia
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's own official git host, which is not on the standard whitelist but is plausibly legitimate; building from project-owned infrastructure is normal AUR packaging practice and poses low 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's own official git host, which is not on the standard whitelist but is plausibly legitimate; building from project-owned infrastructure is normal AUR packaging practice and poses low 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:25
source=("https://git.causal.agency/$pkgname/snapshot/$pkgname-$pkgver.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Thomas Faughnan <tom@tjf.sh>
2
3
pkgname=cgit-pink
4
pkgver=1.4.1
5
pkgrel=1
6
pkgdesc='Updated fork of cgit, a web frontend for git'
7
arch=('x86_64')
8
url='https://git.causal.agency/cgit-pink/'
9
license=('GPL2')
10
depends=('openssl')
11
makedepends=('zlib' 'curl' 'asciidoc')
12
optdepends=('groff: about page using man page syntax'
13
'python-pygments: syntax highlighting support'
14
'python-docutils: about page formatted with reStructuredText'
15
'python-markdown: about page formatted with markdown'
16
'gzip: gzip compressed snapshots'
17
'bzip2: bzip2 compressed snapshots'
18
'lzip: lzip compressed snapshots'
19
'xz: xz compressed snapshots'
20
'zstd: zstd compressed snapshots'
21
'mime-types: serve file with correct content-type header')
22
conflicts=('cgit')
23
provides=('cgit')
24
install=cgit.install
25
source=("https://git.causal.agency/$pkgname/snapshot/$pkgname-$pkgver.tar.gz"
26
'tmpfiles.conf'
27
'apache.example.conf')
28
sha256sums=('f1246c6c81305800c24e7eee2b224319ab5e57b1ddb07b4883aea845f29046d5'
29
'4004b72d433e5810b046fc6019171a11a0dae3e9c6b29a44f16ed41705c46c3d'
30
'89927d462c0504863c163eb8a210e5d65db30ee6e4300ff6a2f92460e4f20a62')
31
32
prepare() {
33
cd "$pkgname-$pkgver"
34
make get-git
35
}
36
37
build() {
38
cd "$pkgname-$pkgver"
39
make
40
make doc-man
41
}
42
43
check() {
44
cd "$pkgname-$pkgver"
45
make test
46
}
47
48
package() {
49
cd "$pkgname-$pkgver"
50
make CGIT_SCRIPT_PATH=/usr/share/webapps/cgit DESTDIR="$pkgdir" prefix=/usr install install-man
51
52
install -vDm0644 "$srcdir/tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/cgit.conf"
53
install -vDm0644 "$srcdir/apache.example.conf" "$pkgdir/etc/webapps/cgit/apache.example.conf"
54
mkdir -p "$pkgdir/usr/lib/cgit"
55
mv "$pkgdir/usr/share/webapps/cgit/cgit.cgi" "$pkgdir/usr/lib/cgit"
56
ln -sf ../../../lib/cgit/cgit.cgi "$pkgdir/usr/share/webapps/cgit/cgit.cgi"
57
}
58
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 |