tinyxml-git
maintainer Chocobo1
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from the project's own Git repository hosted on SourceForge and includes a .pc file from Arch Linux's official GitLab; both sources are legitimate and non-executable, with checksums skipped but no remote code execution or malicious payload involved.
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 the project's own Git repository hosted on SourceForge and includes a .pc file from Arch Linux's official GitLab; both sources are legitimate and non-executable, with checksums skipped but no remote code execution or malicious payload involved.
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.code.sf.net/p/tinyxml/git"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3
pkgname=tinyxml-git
4
pkgver=r1.g94b1760
5
pkgrel=5
6
pkgdesc="A simple, small, efficient, C++ XML parser"
7
arch=('i686' 'x86_64')
8
url="http://www.grinninglizard.com/tinyxml/"
9
license=('Zlib')
10
depends=('glibc' 'libgcc' 'libstdc++')
11
makedepends=('git' 'setconf')
12
provides=("tinyxml=$pkgver")
13
conflicts=('tinyxml')
14
source=("git+https://git.code.sf.net/p/tinyxml/git"
15
"tinyxml.pc::https://gitlab.archlinux.org/archlinux/packaging/packages/tinyxml/-/raw/main/tinyxml.pc")
16
sha256sums=('SKIP'
17
'SKIP')
18
19
20
prepare() {
21
cd "git"
22
23
setconf Makefile TINYXML_USE_STL YES
24
setconf Makefile RELEASE_CFLAGS "$CXXFLAGS -fPIC"
25
}
26
27
pkgver() {
28
cd "git"
29
30
_rev=$(git rev-list --count --all)
31
_hash=$(git rev-parse --short HEAD)
32
printf "r%s.g%s" "$_rev" "$_hash"
33
}
34
35
build() {
36
cd "git"
37
38
make
39
g++ "$CXXFLAGS" -fPIC -shared -o "libtinyxml.so" \
40
-Wl,-soname,"libtinyxml.so" "$(printf '%s\n' *.o | grep -v xmltest)"
41
}
42
43
check() {
44
cd "git"
45
46
#./xmltest
47
}
48
49
package() {
50
cd "git"
51
52
install -dm755 "$pkgdir/usr"/{lib,include}
53
install -Dm755 "libtinyxml.so" -t "$pkgdir/usr/lib"
54
install -Dm644 {tinyxml,tinystr}.h -t "$pkgdir/usr/include"
55
install -Dm644 "$srcdir/tinyxml.pc" -t "$pkgdir/usr/lib/pkgconfig"
56
install -Dm644 "readme.txt" "$pkgdir/usr/share/licenses/tinyxml/LICENSE"
57
}
58
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 |