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
3
pkgname=gz-models
4
_trunk=GZ-Models
5
pkgver=20130109
6
pkgrel=1
7
pkgdesc="HiRes 3D Models for GZDoom"
8
arch=('any')
9
url="http://code.google.com/p/ds-models/"
10
license=('GPL')
11
depends=('gzdoom')
12
makedepends=('perl' 'p7zip')
13
install=gz-models.install
14
source=("ds-models-${pkgver}.zip::https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/ds-models/source-archive.zip")
15
sha512sums=('6a3b7b9446d42e12371fab2b25bb2856ca79f5796ecd0c7e6f315ddb56c3eb57a88d406d4aa3b83c2f7bbb8fe04a8670602545b7bb8dbc114da21fc3b7ee6b96')
16
noextract=("ds-models-${pkgver}.zip")
17
18
prepare() {
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
49
package() {
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) | 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 |