hmcl-pr-bin

MEDIUM
maintainer c114514 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The PKGBUILD downloads a prebuilt JAR file from 'alist.8mi.tech', which is a personal/third-party mirror host, not the official GitHub releases infrastructure for the HMCL project (github.com/burningtnt/HMCL or the canonical HMCL repo). The JAR is executed as a Java application (installed to /usr/share/java and launched via a script), so a compromised or substituted JAR could achieve code execution. Additionally, all sha256sums are 'SKIP', meaning there is zero integrity verification — any file served by that host would be accepted without validation. This is a genuine supply-chain concern: the combination of an unofficial third-party host, an executable artifact (JAR), and no checksum verification represents a real medium-severity risk. It is not clearly malicious, but the trust chain is broken.

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:13 "${pkgname}-${_pkgver}-${pkgrel}.jar::https://alist.8mi.tech/d/mirror/HMCL-Snapshot/Auto/6eca40e4c4f0a33343a9fb76819bae57caf30cb8/HMCL-${_pkgver}.jar")
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 a prebuilt JAR file from 'alist.8mi.tech', which is a personal/third-party mirror host, not the official GitHub releases infrastructure for the HMCL project (github.com/burningtnt/HMCL or the canonical HMCL repo). The JAR is executed as a Java application (installed to /usr/share/java and launched via a script), so a compromised or substituted JAR could achieve code execution. Additionally, all sha256sums are 'SKIP', meaning there is zero integrity verification — any file served by that host would be accepted without validation. This is a genuine supply-chain concern: the combination of an unofficial third-party host, an executable artifact (JAR), and no checksum verification represents a real medium-severity risk. It is not clearly malicious, but the trust chain is broken.

PKGBUILD

1 offending line(s) highlighted
1pkgname=hmcl-pr-bin
2pkgver=3.6.unofficial_ad602ae
3_pkgver=3.6.unofficial-ad602ae
4pkgrel=1
5pkgdesc="A Minecraft Launcher which is multi-functional, cross-platform and popular | PR Collection"
6arch=('any')
7url="https://github.com/burningtnt/HMCL"
8license=('GPL-3.0-or-later')
9depends=('java-runtime' 'hicolor-icon-theme')
10conflicts=('hmcl' 'hmcl-bin' 'hmcl-dev-bin' 'hmcl-beta-bin')
11source=("hmcl-pr.desktop"
12 "hmcl-pr-launch-script"
13 "${pkgname}-${_pkgver}-${pkgrel}.jar::https://alist.8mi.tech/d/mirror/HMCL-Snapshot/Auto/6eca40e4c4f0a33343a9fb76819bae57caf30cb8/HMCL-${_pkgver}.jar")
14sha256sums=('SKIP'
15 'SKIP'
16 'SKIP')
17
18noextract=("${pkgname}-${_pkgver}-${pkgrel}.jar")
19
20prepare() {
21 # extract icons from jar
22 # Thanks to @Misaka13514
23 local _iconfile
24 for _iconfile in icon.png icon@2x.png icon@4x.png icon@8x.png; do
25 jar -xf "${pkgname}-${_pkgver}-${pkgrel}.jar" "assets/img/${_iconfile}"
26 done
27}
28
29package() {
30 install -Dm644 "${pkgname}-${_pkgver}-${pkgrel}.jar" "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
31 install -Dm755 "hmcl-pr-launch-script" "${pkgdir}/usr/bin/${pkgname}"
32 install -Dm644 "hmcl-pr.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
33
34 # install icons
35 local _icon _iconfile
36 for _icon in 32:icon.png 64:icon@2x.png 128:icon@4x.png 256:icon@8x.png; do
37 _iconfile=${_icon#*:}
38 _icon=${_icon%:*}
39 install -Dm644 "assets/img/${_iconfile}" "${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname}.png"
40 done
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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