unmined-gui

LOW
maintainer lapsus 3 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt .deb from the project's official domain (unmined.net) which is not on standard code hosts but plausibly legitimate; the binary content is verified via fixed sha256sum, and no remote code execution or exfiltration is present.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt .deb from the project's official domain (unmined.net) which is not on standard code hosts but plausibly legitimate; the binary content is verified via fixed sha256sum, and no remote code execution or exfiltration is present.

2 higher static findings superseded - not the current verdict (shown for transparency)
Medium External download from an untrusted host, not in source=() 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:21 tmstv=$(curl -fsSL 'https://unmined.net/downloads/' 2>/dev/null |
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=("unmined-gui-dev_amd64.deb::https://unmined.net/download/unmined-gui-linuxdeb-x64-dev/")

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Yakov Till <yakov.till@gmail.com>
2# Contributor: Maciej Dems <macdems@gmail.com>
3pkgname=unmined-gui
4pkgver=0.20.8.20260901
5pkgrel=1
6pkgdesc="An easy to use and fast Minecraft world viewer and mapper tool"
7arch=('x86_64')
8url="https://unmined.net/"
9depends=('fontconfig' 'gcc-libs' 'glibc')
10makedepends=('zstd')
11license=('LicenseRef-unmined')
12# Upstream bundle fails to launch if stripped.
13options=('!strip' '!debug')
14source=("unmined-gui-dev_amd64.deb::https://unmined.net/download/unmined-gui-linuxdeb-x64-dev/")
15sha256sums=('bc877bfa1bde992ce2fab2156978374520705114f8636ebc30eb7f29129e44d5')
16
17latestver() {
18 local tmp ver ctrl_size tmstv stamp
19
20 # tmstv cache-buster on the downloads page encodes the build timestamp.
21 tmstv=$(curl -fsSL 'https://unmined.net/downloads/' 2>/dev/null |
22 sed -nE 's#.*href="https://unmined.net/download/unmined-gui-linuxdeb-x64-dev/\?tmstv=([0-9]+)".*#\1#p' |
23 head -1)
24 [[ -n ${tmstv} ]] || return 1
25 stamp=$(date -u -d "@${tmstv}" +%Y%m%d 2>/dev/null) || return 1
26
27 tmp=$(mktemp) || return 1
28 trap 'rm -f "$tmp"' RETURN
29
30 # ar(5) .deb partial read: 132-byte fixed prefix → parse control.tar.zst
31 # body size from ar header → read exactly that many more bytes (~500 B total).
32 curl -fsSL 'https://unmined.net/download/unmined-gui-linuxdeb-x64-dev/' 2>/dev/null | {
33 dd bs=1 count=132 iflag=fullblock of="$tmp" 2>/dev/null
34 ctrl_size=$(dd if="$tmp" bs=1 skip=120 count=10 2>/dev/null | tr -d ' ')
35 [[ -n "$ctrl_size" && "$ctrl_size" -gt 0 ]] 2>/dev/null || exit 1
36 dd bs=1 count="$ctrl_size" iflag=fullblock >>"$tmp" 2>/dev/null
37 }
38
39 ver=$(bsdtar -xOf "$tmp" control.tar.zst 2>/dev/null |
40 tar --zstd -xOf - ./control 2>/dev/null |
41 sed -nE 's/^Version: ([0-9.]+)-dev$/\1/p')
42 [[ -n ${ver} ]] || return 1
43
44 printf '%s.%s\n' "$ver" "$stamp"
45}
46
47prepare() {
48 mkdir -p "$srcdir/extracted"
49 cd "$srcdir/extracted"
50 tar --use-compress-program=unzstd -xf "$srcdir/data.tar.zst"
51}
52
53package() {
54 cd "$srcdir/extracted"
55 cp -a usr opt "$pkgdir/"
56 chmod +x "$pkgdir/opt/unmined/unmined"
57 chmod +x "$pkgdir/opt/unmined/"*.so
58 install -D -m644 opt/unmined/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
59
60 # Fix desktop file to set correct working directory
61 sed -i 's/^Path=$/Path=\/opt\/unmined/' "$pkgdir/usr/share/applications/uNmINeD.desktop"
62}
63

Changes since previous scan

--- PKGBUILD @ 2026-09-01 00:11
+++ PKGBUILD @ 2026-09-17 00:27
@@ -1,7 +1,7 @@
# Maintainer: Yakov Till <yakov.till@gmail.com>
# Contributor: Maciej Dems <macdems@gmail.com>
pkgname=unmined-gui
-pkgver=0.20.7.20260830
+pkgver=0.20.8.20260901
pkgrel=1
pkgdesc="An easy to use and fast Minecraft world viewer and mapper tool"
arch=('x86_64')
@@ -12,7 +12,7 @@
# Upstream bundle fails to launch if stripped.
options=('!strip' '!debug')
source=("unmined-gui-dev_amd64.deb::https://unmined.net/download/unmined-gui-linuxdeb-x64-dev/")
-sha256sums=('6d39f4c12f07907b9ffac34a168be6695b4b4c201b4abddb4c0ddc8dcc8549db')
+sha256sums=('bc877bfa1bde992ce2fab2156978374520705114f8636ebc30eb7f29129e44d5')
latestver() {
local tmp ver ctrl_size tmstv stamp

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 3
2026-09-16 00:03:17 Low 3
2026-09-15 00:25:31 Low 3
2026-09-14 00:27:57 Low 3
2026-09-13 00:19:54 Low 3
2026-09-12 00:25:17 Low 3
2026-09-11 00:19:22 Low 3
2026-09-10 00:22:44 Low 3
2026-09-09 00:04:09 Low 3
2026-09-08 00:18:08 Low 3
2026-09-07 00:30:15 Low 3
2026-09-06 00:17:06 Low 3
2026-09-05 00:16:27 Low 3
2026-09-04 00:03:13 Low 3
2026-09-03 00:15:47 Low 3
2026-09-02 00:02:31 Low 3
2026-09-01 11:47:58 Medium 2
2026-09-01 00:11:19 Medium 3
2026-08-31 01:44:31 Medium 3
2026-08-31 00:19:57 Medium 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion