crawl-git
maintainer zhs
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Git repository from a plausible project-owned host, used to build the software from source; the non-whitelisted host is not inherently dangerous as it hosts the project's own code.
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 Git repository from a plausible project-owned host, used to build the software from source; the non-whitelisted host is not inherently dangerous as it hosts the project's own code.
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=("git+https://git.autistici.org/ale/crawl/")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: zhs <zhao4she4@tuta.io>
2
3
pkgname=crawl-git
4
_pkgname=crawl
5
pkgver=r83.ef2c410
6
pkgrel=1
7
pkgdesc="Simple web crawler written in Go, storing websites in WARC format"
8
arch=('x86_64')
9
url="https://git.autistici.org/ale/crawl/"
10
license=('MIT')
11
depends=('glibc')
12
makedepends=('git' 'go')
13
install=crawl-git.install
14
source=("git+https://git.autistici.org/ale/crawl/")
15
sha256sums=('SKIP')
16
17
pkgver() {
18
cd "${srcdir}/${_pkgname}"
19
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20
}
21
22
prepare() {
23
cd "${_pkgname}"
24
mkdir -p build/
25
}
26
27
build() {
28
cd "${srcdir}/${_pkgname}"
29
30
export CGO_CPPFLAGS="$CPPFLAGS"
31
export CGO_CFLAGS="$CFLAGS"
32
export CGO_CXXFLAGS="$CXXFLAGS"
33
export CGO_LDFLAGS="$LDFLAGS"
34
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
35
go build -o build ./cmd/...
36
}
37
38
check() {
39
cd "${srcdir}/${_pkgname}"
40
go test ./...
41
}
42
43
package() {
44
cd "${srcdir}/${_pkgname}"
45
install -Dm755 -- "build/crawl" "${pkgdir}/usr/bin/go-crawl"
46
install -Dm755 -- "build/links" "${pkgdir}/usr/bin/go-links"
47
install -Dm755 -- "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
48
}
49
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 |