gz-models

LOW
maintainer 3ED_0 3 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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