gz-models

LOW
maintainer 3ED_0 3 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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