zeldalttp

MEDIUM
maintainer gameslayer 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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