zograscope-git
maintainer farseerfc
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from source using git repositories hosted on a non-whitelisted domain, but the repositories are owned by the upstream developer and contain legitimate project dependencies; no unverified executables or malicious payloads are present.
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 package builds from source using git repositories hosted on a non-whitelisted domain, but the repositories are owned by the upstream developer and contain legitimate project dependencies; no unverified executables or malicious payloads are present.
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:16
"cursed::git+https://code.reversed.top/user/xaizek/libcursed"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jiachen YANG <farseerfc@gmail.com>
2
_pkgname=zograscope
3
pkgname=$_pkgname-git
4
pkgver=r1089.aae6264
5
pkgrel=1
6
pkgdesc="syntax-aware diff that also provides a number of additional tools (zs-diff, zs-find, zs-gdiff, zs-hi, zs-stats)"
7
arch=(x86_64)
8
url="https://github.com/xaizek/zograscope"
9
license=('AGPL')
10
depends=('qt5-base' 'libgit2' 'boost-libs' 'ncurses')
11
makedepends=('git' 'boost' 'srcml' 'bison')
12
optdepends=('srcml: srcML related diff features')
13
provides=("${pkgname%-git}")
14
conflicts=("${pkgname%-git}")
15
source=("zograscope::git+$url.git"
16
"cursed::git+https://code.reversed.top/user/xaizek/libcursed"
17
"vle::git+https://code.reversed.top/user/xaizek/libvle")
18
md5sums=('SKIP'
19
'SKIP'
20
'SKIP')
21
22
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
23
# a description of each element in the source array.
24
25
pkgver() {
26
cd "$srcdir/${_pkgname}"
27
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
28
}
29
30
prepare() {
31
cd "$srcdir/${_pkgname}"
32
git submodule init
33
git config submodule.tools.tui.libs.vle "${srcdir}/vle"
34
git config submodule.tools.tui.libs.cursed "${srcdir}/cursed"
35
git submodule update
36
echo 'QT5_PROG := qmake-qt5' >> config.mk
37
echo 'HAVE_LIBGIT2 := yes' >> config.mk
38
echo 'HAVE_CURSESW := yes' >> config.mk
39
}
40
41
build() {
42
cd "$srcdir/${_pkgname}"
43
make release
44
}
45
46
check() {
47
cd "$srcdir/${_pkgname}"
48
make check
49
}
50
51
package() {
52
cd "$srcdir/${_pkgname}"
53
make DESTDIR="$pkgdir/" install
54
}
55
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 |