unmined-gui

maintainer lapsus · 3 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The package downloads a prebuilt .deb binary from an untrusted host (unmined.net) not in the source array, and the source URL is on a non-standard host, creating a supply-chain risk if the domain is compromised.

Triggered rules

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/")
MEDIUM AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb binary from an untrusted host (unmined.net) not in the source array, and the source URL is on a non-standard host, creating a supply-chain risk if the domain is compromised.

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.19.60.20260731
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=('2af848691a21d79a384c2af5370cd07744856ed85170ed70be92aee945da8be1')
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-07-31 00:14
+++ PKGBUILD @ 2026-08-03 00:08
@@ -1,7 +1,7 @@
# Maintainer: Yakov Till <yakov.till@gmail.com>
# Contributor: Maciej Dems <macdems@gmail.com>
pkgname=unmined-gui
-pkgver=0.19.60.20260730
+pkgver=0.19.60.20260731
pkgrel=1
pkgdesc="An easy to use and fast Minecraft world viewer and mapper tool"
arch=('x86_64')

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 3
2026-08-02 00:16:08 MEDIUM 3
2026-08-01 00:11:18 MEDIUM 3
2026-07-31 13:18:10 MEDIUM 3
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 11:14:12 MEDIUM 3
2026-07-30 00:17:23 LOW 3
2026-07-29 13:11:48 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 3
2026-07-28 13:38:59 MEDIUM 3
2026-07-28 00:07:28 MEDIUM 3
2026-07-27 01:34:00 MEDIUM 3
2026-07-27 00:24:32 MEDIUM 3
2026-07-26 01:31:24 MEDIUM 3
2026-07-26 00:07:32 MEDIUM 3
2026-07-25 00:13:44 MEDIUM 3
2026-07-24 03:27:03 MEDIUM 3
2026-07-24 00:02:28 MEDIUM 3
2026-07-23 03:22:31 MEDIUM 3
2026-07-23 00:14:47 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