superlauncher-mc

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

The PKGBUILD uses `sha256sums=('SKIP')` for the source tarball, meaning the downloaded source is never integrity-checked. More importantly, it runs `pip install` during the `package()` phase to pull in multiple PyPI packages (pyqt6, minecraft-launcher-lib, requests, psutil, pypresence, packaging, tqdm, random-username) without any version pinning or hash verification. These packages are fetched at build time from PyPI with no integrity guarantees, creating a real supply-chain risk: any of these packages could be compromised or typosquatted (e.g. 'random-username' is a relatively obscure package). Additionally, creating a venv inside `pkgdir` and running pip into it during packaging is non-standard and means the installed package contains a venv with unverified, unpinned dependencies that will not receive system updates. The combination of SKIP checksums, unpinned pip installs of multiple packages (including less-common ones), and execution of downloaded code during the build phase constitutes a genuine medium-severity supply-chain concern.

Triggered rules

Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:40 "$pkgdir/usr/share/superlauncher-mc/venv/bin/python" -m pip install --upgrade pip
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD uses `sha256sums=('SKIP')` for the source tarball, meaning the downloaded source is never integrity-checked. More importantly, it runs `pip install` during the `package()` phase to pull in multiple PyPI packages (pyqt6, minecraft-launcher-lib, requests, psutil, pypresence, packaging, tqdm, random-username) without any version pinning or hash verification. These packages are fetched at build time from PyPI with no integrity guarantees, creating a real supply-chain risk: any of these packages could be compromised or typosquatted (e.g. 'random-username' is a relatively obscure package). Additionally, creating a venv inside `pkgdir` and running pip into it during packaging is non-standard and means the installed package contains a venv with unverified, unpinned dependencies that will not receive system updates. The combination of SKIP checksums, unpinned pip installs of multiple packages (including less-common ones), and execution of downloaded code during the build phase constitutes a genuine medium-severity supply-chain concern.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Ludvig <artemludvig79@gmail.com>
2
3pkgname=superlauncher-mc
4pkgver=1.4.0.9
5pkgrel=1
6pkgdesc="SuperLauncherMC — Advanced Minecraft launcher with mod and server support (new design release)"
7arch=('x86_64')
8url="https://github.com/ludvig2457/SuperLauncherMC"
9license=('GPL3')
10depends=(
11 'python'
12 'python-pyqt6'
13 'java-runtime'
14)
15makedepends=(
16 'python-pip'
17 'python-virtualenv'
18)
19source=(
20 "$pkgname-$pkgver.tar.gz::https://github.com/ludvig2457/SuperLauncherMC/archive/v$pkgver.tar.gz"
21)
22sha256sums=('SKIP')
23
24package() {
25 cd "$srcdir/SuperLauncherMC-$pkgver"
26
27 # Установка директории лаунчера
28 install -d "$pkgdir/usr/share/superlauncher-mc"
29 cp -r SuperLauncher.py assets "$pkgdir/usr/share/superlauncher-mc/"
30
31 # Добавляем шебанг для python3, если его нет
32 if ! head -n 1 SuperLauncher.py | grep -q "^#\!"; then
33 sed -i '1i#!/usr/bin/env python3' SuperLauncher.py
34 fi
35
36 # Создаём virtual environment
37 python -m venv "$pkgdir/usr/share/superlauncher-mc/venv"
38
39 # Устанавливаем библиотеки в venv
40 "$pkgdir/usr/share/superlauncher-mc/venv/bin/python" -m pip install --upgrade pip
41 "$pkgdir/usr/share/superlauncher-mc/venv/bin/python" -m pip install \
42 pyqt6 minecraft-launcher-lib requests psutil pypresence packaging tqdm random-username
43
44 # Создаём wrapper для запуска через venv напрямую
45 install -d "$pkgdir/usr/bin"
46 cat <<EOF > "$pkgdir/usr/bin/superlauncher-mc"
47#!/usr/bin/env bash
48DIR="/usr/share/superlauncher-mc"
49exec "\$DIR/venv/bin/python" "\$DIR/SuperLauncher.py" "\$@"
50EOF
51 chmod +x "$pkgdir/usr/bin/superlauncher-mc"
52
53 # Desktop-файл
54 install -d "$pkgdir/usr/share/applications"
55 cat <<EOF > "$pkgdir/usr/share/applications/superlauncher-mc.desktop"
56[Desktop Entry]
57Name=SuperLauncherMC
58Comment=Advanced Minecraft Launcher with mod and server support
59Exec=/usr/bin/superlauncher-mc
60Icon=superlauncher
61Type=Application
62Categories=Game;
63Terminal=false
64EOF
65
66 # Иконка
67 install -Dm644 assets/icon.png "$pkgdir/usr/share/pixmaps/superlauncher.png"
68}
69

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