tiberiansun
maintainer ASzc
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a freeware game archive from a known community host (cncfps.com), which is not on the whitelist but is a legitimate source for this software; the archive is checksummed and contains only game data and assets, not executable code that could be maliciously repurposed.
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 freeware game archive from a known community host (cncfps.com), which is not on the whitelist but is a legitimate source for this software; the archive is checksummed and contains only game data and assets, not executable code that could be maliciously repurposed.
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:19
'https://downloads.cncfps.com/Freeware/Tibsun/OfficialCnCTiberianSun.rar')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Alex Szczuczko <alex at szc dot ca>
2
3
pkgname=tiberiansun
4
pkgver=2.03
5
pkgrel=2
6
pkgdesc="Freeware release of Westwood's classic C&C: Tiberian Sun, with Firestorm Expansion (uses Wine)"
7
url='http://web.archive.org/web/20000302013458/http://www.westwood.com/games/ccuniverse/tiberiansun/index.html'
8
arch=('any')
9
license=('custom:freeware')
10
depends=('wine'
11
'winetricks')
12
makedepends=('unrar')
13
options=(!strip)
14
install='tiberiansun.install'
15
source=('tiberiansun.desktop'
16
'launch-tiberiansun.sh'
17
'README'
18
'fix-renderer.reg'
19
'https://downloads.cncfps.com/Freeware/Tibsun/OfficialCnCTiberianSun.rar')
20
noextract=('OfficialCnCTiberianSun.rar')
21
sha256sums=('ce9c09f9338c989d005bd8c9c425b930ad591a7ee135c5f6c4ccbce513c4199e'
22
'a325ce3c3de0ee7947418fd136e620a2cd84ca67999f358e360f9aea55f4dbe9'
23
'739ada7ac1b6b7614ad386bdd74f472a36902110daaba12cd2c7dd3d527e7e61'
24
'6a925ba54f6f96aa954f5d4237e0089bfcc3029eae2927b73dfd22292a4b3b15'
25
'b04219e715511de9baa2feb9827013c8e106f8d6b9b563936b8a2f650305dec5')
26
27
# Disable compression of the package
28
PKGEXT='.tar'
29
30
build() {
31
cd "$srcdir"
32
unrar x -o- OfficialCnCTiberianSun.rar
33
find "EA Games/" -type f -exec chmod 644 "{}" \;
34
find "EA Games/" -type d -exec chmod 755 "{}" \;
35
}
36
37
package() {
38
cd "$srcdir"
39
40
mkdir -p "$pkgdir/opt/$pkgname/"
41
42
# Main files and License
43
pushd 'EA Games/Command & Conquer The First Decade/Command & Conquer(tm) Tiberian Sun(tm)' >/dev/null
44
cp -R "SUN" "$pkgdir/opt/$pkgname/"
45
install -Dm644 SUN/LICENSE.DOC "$pkgdir/usr/share/licenses/$pkgname/LICENSE.DOC"
46
popd >/dev/null
47
48
# Online fixes
49
pushd 'EA Games/Command & Conquer The First Decade' >/dev/null
50
cp -R "Internet" "$pkgdir/opt/$pkgname/"
51
install -Dm644 "TiberianSun_OnlinePlayInstructions.txt" "$pkgdir/opt/$pkgname/Internet/TiberianSun_OnlinePlayInstructions.txt"
52
install -Dm644 "tibsun_regadd.reg" "$pkgdir/opt/$pkgname/Internet/tibsun_regadd.reg"
53
popd >/dev/null
54
55
# Launcher
56
install -Dm755 "launch-$pkgname.sh" "$pkgdir/opt/$pkgname/launch-$pkgname.sh"
57
mkdir -p "$pkgdir/usr/bin/"
58
ln -s -T "/opt/$pkgname/launch-$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
59
install -Dm644 "fix-renderer.reg" "$pkgdir/opt/$pkgname/"
60
61
# Icon
62
mkdir -p "$pkgdir/usr/share/icons/"
63
ln -s -T "/opt/$pkgname/SUN/SUN.ICO" "$pkgdir/usr/share/icons/$pkgname.ico"
64
65
# .desktop File
66
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
67
68
# Docs
69
install -Dm644 "README" "$pkgdir/opt/$pkgname/README"
70
}
71
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 |