gz-models

maintainer 3ED_0 · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a source archive from a non-whitelisted but official Google Code archive host, extracts and processes harmless data files (3D models and definitions) for a game, and builds a PK3 mod file; no remote code execution, obfuscation, or untrusted binary execution occurs.

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 downloads a source archive from a non-whitelisted but official Google Code archive host, extracts and processes harmless data files (3D models and definitions) for a game, and builds a PK3 mod file; no remote code execution, obfuscation, or untrusted binary execution occurs.

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=("ds-models-${pkgver}.zip::https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/ds-models/source-archive.zip")

PKGBUILD

1 offending line(s) highlighted
1# Contributor: 3ED <krzysztofas@protonmail.com>
2
3pkgname=gz-models
4_trunk=GZ-Models
5pkgver=20130109
6pkgrel=1
7pkgdesc="HiRes 3D Models for GZDoom"
8arch=('any')
9url="http://code.google.com/p/ds-models/"
10license=('GPL')
11depends=('gzdoom')
12makedepends=('perl' 'p7zip')
13install=gz-models.install
14source=("ds-models-${pkgver}.zip::https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/ds-models/source-archive.zip")
15sha512sums=('6a3b7b9446d42e12371fab2b25bb2856ca79f5796ecd0c7e6f315ddb56c3eb57a88d406d4aa3b83c2f7bbb8fe04a8670602545b7bb8dbc114da21fc3b7ee6b96')
16noextract=("ds-models-${pkgver}.zip")
17
18prepare() {
19 cd "$srcdir"
20
21 if [ -d "$pkgname-$pkgver" ]; then
22 rm -rf "$pkgname-$pkgver"
23 fi
24
25 msg2 "Extracting $_trunk..."
26 bsdtar \
27 --include="ds-models/trunk/$_trunk/*" \
28 --strip-components 2 \
29 -xf "ds-models-${pkgver}.zip"
30
31 cd "$_trunk"
32
33 msg2 "Fixing space chars..."
34 find -type f -iname "*.def" -print0 \
35 | xargs -0 perl -p -i -e 's/\xA0/ /g'
36
37 msg2 "Fixing files paths..."
38 install -dm755 "$srcdir/$pkgname-$pkgver/Models"
39 mv Build/*/*.def "$srcdir/$pkgname-$pkgver/"
40 mv Build/Hires "$srcdir/$pkgname-$pkgver/"
41 mv Build/*/*/ "$srcdir/$pkgname-$pkgver/Models/"
42
43 cd "$srcdir"
44
45 msg2 "Cleaning leftovers..."
46 rm -rf "$_trunk"
47}
48
49package() {
50 cd "$srcdir/$pkgname-$pkgver"
51
52 # Dunno if this is still a proper path
53 _DESTDIR="$pkgdir"/usr/share/games/gzdoom/
54
55 install -dm755 "$_DESTDIR"
56 7za a -bd -tzip "$_DESTDIR/${_trunk}.pk3" *
57 chmod a=r,u+w "$_DESTDIR/${_trunk}.pk3"
58}
59

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion