mc-tweakeroo-112-liteloader

MEDIUM
maintainer eatmyvenom 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD fetches a manifest JSON from masa.dy.fi with sha1sums='SKIP' (no integrity check), then dynamically resolves and downloads a .litemod binary (a JAR-format executed Java archive) from whatever URL the manifest specifies. This is a genuine supply-chain concern: (1) the checksum is skipped entirely, so any MITM or server compromise would deliver an arbitrary binary; (2) the actual binary URL is not known at package definition time — it is resolved at build time from the manifest, meaning the downloaded file is never checksummed against a known-good value; (3) .litemod files are executed by the Minecraft/LiteLoader runtime, so a malicious file would achieve code execution in the JVM. However, masa.dy.fi is the personal/official host of the well-known Minecraft modder 'masa' (Matti Ruohonen), who maintains tweakeroo and several other popular mods, so this is not a random untrusted host — it is the canonical upstream. The risk is real but stems from the lack of checksums and dynamic URL resolution rather than from a clearly malicious actor, placing this squarely in the medium category.

Triggered rules

Medium source=() URL on a non-standard host 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/")
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 fetches a manifest JSON from masa.dy.fi with sha1sums='SKIP' (no integrity check), then dynamically resolves and downloads a .litemod binary (a JAR-format executed Java archive) from whatever URL the manifest specifies. This is a genuine supply-chain concern: (1) the checksum is skipped entirely, so any MITM or server compromise would deliver an arbitrary binary; (2) the actual binary URL is not known at package definition time — it is resolved at build time from the manifest, meaning the downloaded file is never checksummed against a known-good value; (3) .litemod files are executed by the Minecraft/LiteLoader runtime, so a malicious file would achieve code execution in the JVM. However, masa.dy.fi is the personal/official host of the well-known Minecraft modder 'masa' (Matti Ruohonen), who maintains tweakeroo and several other popular mods, so this is not a random untrusted host — it is the canonical upstream. The risk is real but stems from the lack of checksums and dynamic URL resolution rather than from a clearly malicious actor, placing this squarely in the medium category.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: EatMyVenom <eat.my.venomm@gmail.com>
2
3_modname=tweakeroo
4_mcver="1.12.2"
5_modloader="liteloader"
6pkgname=mc-tweakeroo-112-liteloader
7pkgver="0.10.0.dev.20200811.201751"
8pkgrel=1
9pkgdesc="a client-side mod, which adds a whole bunch of various different tweaks to the game."
10arch=('any')
11url="https://masa.dy.fi/mcmods/client_mods/"
12license=('LGPL')
13makedepends=('wget' 'jq')
14source=("manifest.json::https://masa.dy.fi/api/games/mods/minecraft/latest/client/")
15sha1sums=('SKIP')
16
17pkgver() {
18 cd $srcdir
19 cat manifest.json | jq ".[\"mods\"][\"${_mcver}\"][\"${_modloader}\"][\"${_modname}\"][\"version\"]" | sed 's/-/./g;s/+/./g'
20}
21
22build() {
23 wget $(cat manifest.json | jq -r ".[\"mods\"][\"${_mcver}\"][\"${_modloader}\"][\"${_modname}\"][\"url\"]")
24}
25
26package() {
27 install -d -m 755 "${pkgdir}/usr/share/minecraft"
28
29 cp $(cat manifest.json | jq -r ".[\"mods\"][\"${_mcver}\"][\"${_modloader}\"][\"${_modname}\"][\"filename\"]") \
30 "${pkgdir}/usr/share/minecraft/${_modname}-${_mcver}.litemod"
31}
32

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