zeldalttp
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
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"
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) highlightedpkgname=zeldalttp
_pkgname=Zeldalttp
pkgver=1.0.2
pkgrel=2
pkgdesc="Legend Of Zelda: Link to the Past game powered by the zelda3."
arch=('pentium4' 'i386' 'i686' 'x86_64' 'aarch64')
license=('GPL')
url="https://gitlab.com/linuxbombay/zeldalttp"
depends=('zelda3-bin' 'wget' 'unzip' 'yad')
makedepends=('unzip')
source=("$url/-/archive/$pkgver/zeldalttp-$pkgver.tar.bz2")
sha256sums=('f1ff517eff8223815aea282cddf692fdf8deab42abe0f2d919c43822e4976245')
package() {
install -dm755 "$pkgdir/usr/bin"
install -dm775 "$pkgdir/usr/share/games/$_pkgname"
install -dm755 "$pkgdir/usr/share/pixmaps"
# Packaging files
# Check if zelda3_assets.dat exists so it doesn't redownload the file when it doesn't need to.
FILE="/usr/share/games/$_pkgname/zelda3_assets.dat"
if test -f "$FILE"
then
echo "$FILE exists skipping download."
ln -s /usr/share/games/$_pkgname/zelda3_assets.dat "$pkgdir/usr/share/games/$_pkgname/zelda3_assets.dat"
else
echo "$FILE does not exist, Starting download.."
cd $srcdir/$pkgname-$pkgver
wget "https://archive.org/download/zelda3_assets/zelda3_assets.dat"
fi
cd $srcdir/$pkgname-$pkgver
install -Dm755 "$pkgname" "$pkgdir/usr/bin"
cp -r ./ "$pkgdir/usr/share/games/$_pkgname"
install -Dm755 zelda3.png "$pkgdir/usr/share/pixmaps"
# Desktop Entry
install -Dm644 "$_pkgname.desktop" \
"$pkgdir/usr/share/applications/$_pkgname.desktop"
sed -i s%/usr/share%/opt% "$pkgdir/usr/share/applications/$_pkgname.desktop"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |