libstudxml
maintainer migrev
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a project-related domain (pkg.cppget.org) used for build2 packages, hosting the official libstudxml release; building from this source is normal for the ecosystem and poses no inherent 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a project-related domain (pkg.cppget.org) used for build2 packages, hosting the official libstudxml release; building from this source is normal for the ecosystem and poses no inherent 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:12
source=("https://pkg.cppget.org/1/stable/${pkgname}/${pkgname}-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Miguel Revilla <yo at miguelrevilla dot com>
2
3
pkgname=libstudxml
4
pkgver=1.1.0
5
pkgrel=2
6
pkgdesc="Streaming XML pull parser and streaming XML serializer"
7
url="https://www.codesynthesis.com/projects/libstudxml/"
8
arch=('i686' 'x86_64')
9
depends=('build2')
10
options=('!libtool')
11
license=('MIT')
12
source=("https://pkg.cppget.org/1/stable/${pkgname}/${pkgname}-${pkgver}.tar.gz")
13
sha256sums=('bcf8d86b137c1660b0e8684403fbb14376d0b106fa2089fd8646ebd65f01c956')
14
15
prepare() {
16
17
GPPVER="$(${CXX:-g++} --version | grep 'g++ (GCC)' | sed 's/g++ (GCC) //' | sed 's/\s.*$//')"
18
19
bpkg create -d odb-gcc-${GPPVER} cc \
20
config.cxx=${CXX:-g++} \
21
config.cc.coptions="-O3 -DODB_GCC_PLUGIN_DIR $CXXFLAGS" \
22
config.bin.rpath=${pkgdir}/usr/lib \
23
config.install.root=${pkgdir}/usr \
24
config.install.relocatable=true
25
26
mv ${pkgname}-${pkgver}.tar.gz odb-gcc-${GPPVER}
27
}
28
29
build() {
30
31
GPPVER="$(${CXX:-g++} --version | grep 'g++ (GCC)' | sed 's/g++ (GCC) //' | sed 's/\s.*$//')"
32
cd "${srcdir}/odb-gcc-${GPPVER}"
33
34
bpkg build ${pkgname}-${pkgver}.tar.gz
35
}
36
37
package() {
38
39
GPPVER="$(${CXX:-g++} --version | grep 'g++ (GCC)' | sed 's/g++ (GCC) //' | sed 's/\s.*$//')"
40
cd "${srcdir}/odb-gcc-${GPPVER}"
41
42
bpkg install ${pkgname}
43
44
rm ${pkgdir}/usr/lib/pkgconfig/${pkgname}.static.pc
45
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
46
}
47
Changes since previous scan
--- PKGBUILD @ 2026-07-28 00:07+++ PKGBUILD @ 2026-08-03 00:08@@ -2,9 +2,9 @@ pkgname=libstudxml pkgver=1.1.0-pkgrel=1+pkgrel=2 pkgdesc="Streaming XML pull parser and streaming XML serializer"-url="www.codesynthesis.com/projects/libstudxml/"+url="https://www.codesynthesis.com/projects/libstudxml/" arch=('i686' 'x86_64') depends=('build2') options=('!libtool')@@ -39,9 +39,9 @@ GPPVER="$(${CXX:-g++} --version | grep 'g++ (GCC)' | sed 's/g++ (GCC) //' | sed 's/\s.*$//')" cd "${srcdir}/odb-gcc-${GPPVER}" - bpkg install libstudxml+ bpkg install ${pkgname} - rm ${pkgdir}/usr/lib/pkgconfig/libstudxml.static.pc+ rm ${pkgdir}/usr/lib/pkgconfig/${pkgname}.static.pc install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname } 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 17:39:33 | MEDIUM | 1 |
| 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 |