zeldalttp

maintainer gameslayer · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads 'zelda3_assets.dat' from archive.org at build time using wget, outside of the source=() array, with no checksum verification. This is a genuine supply-chain concern: the file could be tampered with or replaced on archive.org without any integrity check. However, archive.org is a legitimate public archive host (not a personal/unofficial host), and the file appears to be a game asset data file rather than an executable binary. That said, the zelda3 engine will load and potentially execute or interpret this asset file at runtime, and without a checksum there is no guarantee of integrity. Additionally, the package has a runtime dependency on 'wget' and performs network downloads during packaging (not at install time), which is non-standard and fragile. The piracy concern is notable — 'zelda3_assets.dat' likely contains extracted ROM data from the copyrighted SNES game 'The Legend of Zelda: A Link to the Past', which would constitute copyright infringement/piracy of Nintendo's IP. The GPL license claim is also dubious for a package that distributes Nintendo game assets.

Triggered rules

MEDIUM External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:29 wget "https://archive.org/download/zelda3_assets/zelda3_assets.dat"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads 'zelda3_assets.dat' from archive.org at build time using wget, outside of the source=() array, with no checksum verification. This is a genuine supply-chain concern: the file could be tampered with or replaced on archive.org without any integrity check. However, archive.org is a legitimate public archive host (not a personal/unofficial host), and the file appears to be a game asset data file rather than an executable binary. That said, the zelda3 engine will load and potentially execute or interpret this asset file at runtime, and without a checksum there is no guarantee of integrity. Additionally, the package has a runtime dependency on 'wget' and performs network downloads during packaging (not at install time), which is non-standard and fragile. The piracy concern is notable — 'zelda3_assets.dat' likely contains extracted ROM data from the copyrighted SNES game 'The Legend of Zelda: A Link to the Past', which would constitute copyright infringement/piracy of Nintendo's IP. The GPL license claim is also dubious for a package that distributes Nintendo game assets.

PKGBUILD

1 offending line(s) highlighted
1pkgname=zeldalttp
2_pkgname=Zeldalttp
3pkgver=1.0.2
4pkgrel=2
5pkgdesc="Legend Of Zelda: Link to the Past game powered by the zelda3."
6arch=('pentium4' 'i386' 'i686' 'x86_64' 'aarch64')
7license=('GPL')
8url="https://gitlab.com/linuxbombay/zeldalttp"
9depends=('zelda3-bin' 'wget' 'unzip' 'yad')
10makedepends=('unzip')
11source=("$url/-/archive/$pkgver/zeldalttp-$pkgver.tar.bz2")
12sha256sums=('f1ff517eff8223815aea282cddf692fdf8deab42abe0f2d919c43822e4976245')
13
14package() {
15 install -dm755 "$pkgdir/usr/bin"
16 install -dm775 "$pkgdir/usr/share/games/$_pkgname"
17 install -dm755 "$pkgdir/usr/share/pixmaps"
18
19 # Packaging files
20 # Check if zelda3_assets.dat exists so it doesn't redownload the file when it doesn't need to.
21 FILE="/usr/share/games/$_pkgname/zelda3_assets.dat"
22 if test -f "$FILE"
23 then
24 echo "$FILE exists skipping download."
25 ln -s /usr/share/games/$_pkgname/zelda3_assets.dat "$pkgdir/usr/share/games/$_pkgname/zelda3_assets.dat"
26 else
27 echo "$FILE does not exist, Starting download.."
28 cd $srcdir/$pkgname-$pkgver
29 wget "https://archive.org/download/zelda3_assets/zelda3_assets.dat"
30 fi
31 cd $srcdir/$pkgname-$pkgver
32 install -Dm755 "$pkgname" "$pkgdir/usr/bin"
33 cp -r ./ "$pkgdir/usr/share/games/$_pkgname"
34 install -Dm755 zelda3.png "$pkgdir/usr/share/pixmaps"
35
36 # Desktop Entry
37 install -Dm644 "$_pkgname.desktop" \
38 "$pkgdir/usr/share/applications/$_pkgname.desktop"
39 sed -i s%/usr/share%/opt% "$pkgdir/usr/share/applications/$_pkgname.desktop"
40}
41

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