enemy-territory

maintainer The_Loko · 259 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt self-extracting binary installer (et260b.x86_full.zip containing et260b.x86_keygen_V03.run) from filebase.trackbase.net, which is an unofficial third-party mirror rather than the official Splash Damage/id Software distribution channel. The .run file is then chmod +x'd and executed during the build phase (./et260b.x86_keygen_V03.run --noexec --nox11 --target). Executing a prebuilt binary from a non-official host is a genuine supply-chain concern: if the host were compromised or the file substituted, arbitrary code would run on the builder's machine. The md5sums provide weak integrity verification (MD5 is broken for collision resistance). However, trackbase.net is a well-known, long-standing Wolfenstein: Enemy Territory community mirror that has hosted this exact installer for many years, and the game itself is a free standalone release. This is a classic AUR pattern for old free-to-play games where the official download servers are gone. The risk is real but contextually low-probability. Medium severity is appropriate.

Triggered rules

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:9 source=('http://filebase.trackbase.net/et/full/et260b.x86_full.zip'
MEDIUM AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed it and judged it MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt self-extracting binary installer (et260b.x86_full.zip containing et260b.x86_keygen_V03.run) from filebase.trackbase.net, which is an unofficial third-party mirror rather than the official Splash Damage/id Software distribution channel. The .run file is then chmod +x'd and executed during the build phase (./et260b.x86_keygen_V03.run --noexec --nox11 --target). Executing a prebuilt binary from a non-official host is a genuine supply-chain concern: if the host were compromised or the file substituted, arbitrary code would run on the builder's machine. The md5sums provide weak integrity verification (MD5 is broken for collision resistance). However, trackbase.net is a well-known, long-standing Wolfenstein: Enemy Territory community mirror that has hosted this exact installer for many years, and the game itself is a free standalone release. This is a classic AUR pattern for old free-to-play games where the official download servers are gone. The risk is real but contextually low-probability. Medium severity is appropriate.

PKGBUILD

1 offending line(s) highlighted
1pkgbase=enemy-territory
2pkgname=('enemy-territory' 'enemy-territory-data')
3pkgver=2.60b
4pkgrel=14
5arch=('i686' 'x86_64')
6url="http://www.splashdamage.com/wolfet"
7license=('custom')
8makedepends=('unzip')
9source=('http://filebase.trackbase.net/et/full/et260b.x86_full.zip'
10 'enemy-territory.desktop'
11 'et.sh'
12 'etded.sh'
13 'etded.service')
14md5sums=('6db59b543d42ee096ce263f3df571c08'
15 '27532e5ae263d7ed86ca1ab17cb93fbd'
16 'd47784d89cc43564f21194c86d6242fa'
17 'ab126dd835c910f920bae4ab976e3bf8'
18 '88def8a215ad2476a343e119b5d31a6b')
19
20prepare() {
21 # extract
22 unzip -o et260b.x86_full.zip
23
24 chmod +x et260b.x86_keygen_V03.run
25 ./et260b.x86_keygen_V03.run --noexec --nox11 --target $pkgbase
26}
27
28package_enemy-territory() {
29 pkgdesc="Wolfenstein: Enemy Territory is a completely free, standalone, team-based, multiplayer FPS"
30 depends_i686=('enemy-territory-data' 'mesa' 'libxext')
31 depends_x86_64=('enemy-territory-data' 'lib32-mesa' 'lib32-libxext' 'lib32-libxdamage')
32 optdepends=('et-sdl-sound: SDL-based replacement for deprecated OSS-based sound systems of Wolf:ET')
33 backup=(usr/share/enemy-territory/etmain/server.cfg
34 usr/share/enemy-territory/etmain/punkbuster.cfg)
35 install=enemy-territory.install
36
37 # bin
38 mkdir -p $pkgdir/usr/bin
39 install -Dm 755 et.sh $pkgdir/usr/bin/et
40 install -Dm 755 etded.sh $pkgdir/usr/bin/etded
41
42 # data
43 mkdir -p $pkgdir/usr/share/$pkgname
44 install -Dm 755 $pkgbase/bin/Linux/x86/{et,etded}.x86 $pkgdir/usr/share/$pkgname/
45 cp -R $pkgbase/etmain $pkgdir/usr/share/$pkgname/
46 rm $pkgdir/usr/share/$pkgname/etmain/{pak0,pak1,pak2}.pk3
47
48 # punkbuster
49 mv $pkgbase/pb $pkgdir/usr/share/$pkgname/
50 chmod +x $pkgdir/usr/share/$pkgname/pb/pbweb.x86
51 mkdir -p $pkgdir/usr/share/$pkgname/pb/{dll,htm,svlogs,svss}
52 install -dm 755 $pkgdir/usr/share/$pkgname/pb $pkgdir/usr/share/$pkgname/pb/{dll,htm,svlogs,svss}
53
54 # etkey generator
55 install -Dm 755 $pkgbase/etkey.sh $pkgdir/usr/bin/etkey
56
57 # openurl
58 install -Dm 755 $pkgbase/openurl.sh $pkgdir/usr/share/$pkgname
59
60 # systemd unit
61 mkdir -p $pkgdir/usr/lib/systemd/system/
62 install -Dm 644 etded.service $pkgdir/usr/lib/systemd/system/
63
64 # doc
65 mkdir -p $pkgdir/usr/share/doc/$pkgname/pb
66 mv $pkgbase/Docs/Help $pkgdir/usr/share/doc/$pkgname
67 install -Dm 644 $pkgbase/Docs/MSR.rtf $pkgdir/usr/share/doc/$pkgname
68 install -Dm 644 $pkgbase/CHANGES $pkgdir/usr/share/doc/$pkgname
69 install -Dm 644 $pkgbase/Docs/{PB_EULA,PunkBuster}.rtf $pkgdir/usr/share/doc/$pkgname/pb
70
71 # license
72 mkdir -p $pkgdir/usr/share/licenses/enemy-territory
73 install -Dm 644 $pkgbase/Docs/EULA_Wolfenstein_Enemy_Territory.txt $pkgdir/usr/share/licenses/enemy-territory
74
75 # desktop file and icon
76 mkdir -p $pkgdir/usr/share/{pixmaps,applications}
77 install -Dm 644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
78 install -Dm 644 $pkgname/ET.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
79}
80
81package_enemy-territory-data() {
82 pkgdesc="Wolfenstein: Enemy Territory is a completely free, standalone, team-based, multiplayer FPS (data)"
83
84 # data files
85 mkdir -p $pkgdir/usr/share/enemy-territory/etmain
86 install -Dm 644 $pkgbase/etmain/{pak0,pak1,pak2}.pk3 $pkgdir/usr/share/enemy-territory/etmain
87}
88

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion