mc-minihud-117-fabric
The PKGBUILD fetches a manifest JSON from masa.dy.fi and then dynamically resolves and downloads a JAR file URL from that manifest at build time using wget. Two concerns: (1) masa.dy.fi is the personal/project site of the mod author 'masa' (Matti Ruohonen), who is the actual upstream developer of MiniHUD — so this is effectively the official upstream host, not a random third party. (2) However, the JAR URL is not known at PKGBUILD write time and has no integrity check — the sha1sum only covers the manifest, not the downloaded JAR. The actual executed JAR binary is fetched dynamically without any checksum verification, meaning a compromise of masa.dy.fi or a MITM could silently substitute a malicious JAR that gets installed and later executed by Minecraft. This is a genuine supply-chain concern: an unsigned, unchecked binary from a personal host is downloaded and installed. While masa.dy.fi is the legitimate upstream for this mod, the lack of any integrity verification on the actual installed artifact (the JAR) is a real medium-severity issue.
Triggered rules
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:14
source=("manifest.json::https://masa.dy.fi/api/games/mods/minecraft/latest/client/")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD fetches a manifest JSON from masa.dy.fi and then dynamically resolves and downloads a JAR file URL from that manifest at build time using wget. Two concerns: (1) masa.dy.fi is the personal/project site of the mod author 'masa' (Matti Ruohonen), who is the actual upstream developer of MiniHUD — so this is effectively the official upstream host, not a random third party. (2) However, the JAR URL is not known at PKGBUILD write time and has no integrity check — the sha1sum only covers the manifest, not the downloaded JAR. The actual executed JAR binary is fetched dynamically without any checksum verification, meaning a compromise of masa.dy.fi or a MITM could silently substitute a malicious JAR that gets installed and later executed by Minecraft. This is a genuine supply-chain concern: an unsigned, unchecked binary from a personal host is downloaded and installed. While masa.dy.fi is the legitimate upstream for this mod, the lack of any integrity verification on the actual installed artifact (the JAR) is a real medium-severity issue.
PKGBUILD
1 offending line(s) highlighted# Maintainer: EatMyVenom <eat.my.venomm@gmail.com>
_modname=minihud
_mcver="1.17-snapshot-21w05a"
_modloader="fabric"
pkgname=mc-minihud-117-fabric
pkgver="0.19.0.dev.20201218.025957"
pkgrel=1
pkgdesc="A client-side mod that allows displaying various info lines on the screen "
arch=('any')
url="https://masa.dy.fi/mcmods/client_mods/"
license=('LGPL')
makedepends=('wget' 'jq')
source=("manifest.json::https://masa.dy.fi/api/games/mods/minecraft/latest/client/")
sha1sums=('3b3c19c94ad38288f78222b4c72847f44df81b34')
pkgver() {
cd $srcdir
cat manifest.json | jq ".[\"mods\"][\"${_mcver}\"][\"${_modloader}\"][\"${_modname}\"][\"version\"]" | sed 's/-/./g;s/+/./g'
}
build() {
wget $(cat manifest.json | jq -r ".[\"mods\"][\"${_mcver}\"][\"${_modloader}\"][\"${_modname}\"][\"url\"]")
}
package() {
install -d -m 755 "${pkgdir}/usr/share/minecraft"
cp $(cat manifest.json | jq -r ".[\"mods\"][\"${_mcver}\"][\"${_modloader}\"][\"${_modname}\"][\"filename\"]") \
"${pkgdir}/usr/share/minecraft/${_modname}-${_mcver}.jar"
}
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 |