zeldalttp
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-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 |