lib32-libjson
maintainer bryanvalente
· 10 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 domain (projects.snarc.org), which is not on the whitelist but plausibly legitimate; building from project-owned source is normal AUR practice and the package installs only compiled libraries without executing remote 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 tarball from the project's own official domain (projects.snarc.org), which is not on the whitelist but plausibly legitimate; building from project-owned source is normal AUR practice and the package installs only compiled libraries without executing remote 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=("https://projects.snarc.org/libjson/download/libjson-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
2
3
_pkgbasename=libjson
4
pkgname=lib32-$_pkgbasename
5
pkgver='0.8'
6
pkgrel='1'
7
pkgdesc="Small C library and small codebase that packs an efficient parser and a configurable printer (32-bit version)"
8
arch=('x86_64')
9
url="https://projects.snarc.org/libjson/"
10
license=('LGPL')
11
depends=(lib32-glibc $_pkgbasename)
12
makedepends=(gcc-multilib)
13
options=(!libtool !makeflags)
14
source=("https://projects.snarc.org/libjson/download/libjson-${pkgver}.tar.gz")
15
sha256sums=('4f0e717a8edc6ede5c4d900d810165ca91f033b2863989daaeaf1b3fe5ea0ad6')
16
17
build() {
18
cd "${srcdir}/${_pkgbasename}-${pkgver}"
19
20
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
21
sed -i s:/lib:/lib32:g Makefile
22
make CC="gcc -m32" CFLAGS:='-Wall -Os -fPIC'
23
}
24
25
package() {
26
cd "${srcdir}/${_pkgbasename}-${pkgver}"
27
28
make CC="gcc -m32" CFLAGS:='-Wall -Os -fPIC' DESTDIR="${pkgdir}" install
29
rm -r "${pkgdir}/usr/bin"
30
rm -r "${pkgdir}/usr/include"
31
}
32
33
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 |