libdiff
maintainer aperez
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project maintainer's own domain, which is plausibly official; building from a non-whitelisted host is normal for AUR packages and the content is not executed remotely.
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 maintainer's own domain, which is plausibly official; building from a non-whitelisted host is normal for AUR packages and the content is not executed remotely.
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:10
source=("https://kristaps.bsd.lv/${pkgname}/snapshots/${pkgname}-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
2
pkgname=libdiff
3
pkgdesc='C library to generate arbitrary sequence diffs'
4
pkgver=0.1.0
5
pkgrel=4
6
url='https://github.com/kristapsdz/libdiff'
7
arch=(x86_64)
8
makedepends=(glibc)
9
license=(custom:MIT)
10
source=("https://kristaps.bsd.lv/${pkgname}/snapshots/${pkgname}-${pkgver}.tar.gz")
11
sha512sums=('373b3f1a0d6146b2c1ff68d790cd5ba0f38b3a199e96f1da6ceee978e16d27508ea48678e804bcaba435c3c0a4317b01c98f90b3915385edbe73aedab455bbab')
12
13
build () {
14
cd "${pkgname}-${pkgver}"
15
./configure PREFIX=/usr MANDIR=/usr/share/man
16
cat >> Makefile.configure <<-EOF
17
CFLAGS += ${CFLAGS}
18
LDFLAGS += ${LDFLAGS}
19
EOF
20
make
21
}
22
23
package () {
24
cd "${pkgname}-${pkgver}"
25
make DESTDIR="${pkgdir}" install
26
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
27
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
28
}
29
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 |