tlauncher-installer

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

This PKGBUILD downloads a prebuilt binary .deb from dl1.tlauncher.org via a PHP redirect URL (f.php?f=...), extracts it, and installs executables into the package. The host is the official TLauncher distribution server (tlauncher.org is the upstream vendor), so this is not a random personal host. However, TLauncher itself is a controversial Minecraft launcher that has historically been associated with piracy (allowing play without a legitimate Mojang/Microsoft account) and has had malware bundled in past versions. The PHP redirect URL is somewhat obfuscated but is pinned with a sha256sum, which mitigates substitution attacks at build time. The core concern is: (1) TLauncher is widely considered a piracy-enabling tool for Minecraft, and (2) the package installs prebuilt binaries from a vendor with a poor security reputation. The sha256sum provides integrity but not authenticity. The piracy flag is borderline — TLauncher does enable playing Minecraft without a paid account, which constitutes circumvention of license enforcement, but the PKGBUILD itself does not crack anything. Given TLauncher's well-documented history of enabling unlicensed Minecraft play, the piracy flag applies.

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:9 source=("tlauncher-linux-installer.deb::https://dl1.tlauncher.org/f.php?f=files%2Ftlauncher-linux-installer.deb")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD downloads a prebuilt binary .deb from dl1.tlauncher.org via a PHP redirect URL (f.php?f=...), extracts it, and installs executables into the package. The host is the official TLauncher distribution server (tlauncher.org is the upstream vendor), so this is not a random personal host. However, TLauncher itself is a controversial Minecraft launcher that has historically been associated with piracy (allowing play without a legitimate Mojang/Microsoft account) and has had malware bundled in past versions. The PHP redirect URL is somewhat obfuscated but is pinned with a sha256sum, which mitigates substitution attacks at build time. The core concern is: (1) TLauncher is widely considered a piracy-enabling tool for Minecraft, and (2) the package installs prebuilt binaries from a vendor with a poor security reputation. The sha256sum provides integrity but not authenticity. The piracy flag is borderline — TLauncher does enable playing Minecraft without a paid account, which constitutes circumvention of license enforcement, but the PKGBUILD itself does not crack anything. Given TLauncher's well-documented history of enabling unlicensed Minecraft play, the piracy flag applies.

PKGBUILD

1 offending line(s) highlighted
1pkgname=tlauncher-installer
2pkgver=1.0
3pkgrel=1
4arch=('any')
5pkgdesc="TLauncher (prebuilt binary from upstream .deb)"
6url="https://tlauncher.org"
7license=('MIT')
8depends=()
9source=("tlauncher-linux-installer.deb::https://dl1.tlauncher.org/f.php?f=files%2Ftlauncher-linux-installer.deb")
10noextract=("tlauncher-linux-installer.deb")
11sha256sums=('418871838de35f024a285a7cebff5eb31b24cc3b3ddb086946a7027855cbff1a')
12
13package() {
14 cd "${srcdir}"
15
16 # resolve potential name::url source syntax
17 debfile="${source[0]}"
18 if printf '%s' "$debfile" | grep -q '::'; then
19 debfile="${debfile%%::*}"
20 fi
21
22 [ -f "$debfile" ] || { echo "Source .deb not found: $debfile"; return 1; }
23
24 # extract .deb and data archive
25 ar x "$debfile" || return 1
26 data_tar=$(ls -1 data.tar.* 2>/dev/null | head -n1)
27 [ -n "$data_tar" ] || { echo "data.tar.* not found"; return 1; }
28
29 tmpdir="${srcdir}/.deb_tmp"
30 rm -rf "$tmpdir" && mkdir -p "$tmpdir"
31 tar -xpf "$data_tar" -C "$tmpdir" || return 1
32
33 # move only the runtime files into the package: usr/games and usr/share
34 if [ -d "$tmpdir/usr/games" ]; then
35 mkdir -p "$pkgdir/usr"
36 mv "$tmpdir/usr/games" "$pkgdir/usr/"
37 fi
38 if [ -d "$tmpdir/usr/share" ]; then
39 mkdir -p "$pkgdir/usr/share"
40 cp -a "$tmpdir/usr/share/." "$pkgdir/usr/share/"
41 fi
42
43 rm -rf "$tmpdir"
44
45 # ensure directories have sensible permissions
46 find "$pkgdir" -type d -exec chmod 755 {} + || true
47}
48

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