lunar-client

LOW
maintainer Nixuge 18 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt AppImage from the project's official CDN domain, which is plausibly controlled by the Lunar Client project; while the host is not on a standard whitelist, the AppImage is from the official vendor and used to extract and repackage the application, a common and expected practice for AppImage-based AUR packages.

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 AppImage from the project's official CDN domain, which is plausibly controlled by the Lunar Client project; while the host is not on a standard whitelist, the AppImage is from the official vendor and used to extract and repackage the application, a common and expected practice for AppImage-based AUR packages.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:16 source=("https://launcherupdates.lunarclientcdn.com/${_appimage}")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nixuge
2# Co-Maintainer: Antti <antti@antti.codes>
3
4pkgname=lunar-client
5_pkgname=lunarclient
6pkgver=3.7.16
7pkgrel=1
8pkgdesc='PvP modpack for all modern versions of Minecraft'
9url=https://lunarclient.com
10arch=(x86_64)
11license=(unknown)
12depends=(fuse xorg-xrandr)
13options=(!strip !debug)
14# For some reason lunar added "ow" to the filename, may or may not change, check on the next update.
15_appimage="Lunar%20Client-${pkgver}-ow.AppImage"
16source=("https://launcherupdates.lunarclientcdn.com/${_appimage}")
17sha256sums=('1e8a6f5a58a7cb2ca76d7f7450a8051fd3fcfffe558bcf778962b7c9a6ec3a99')
18
19prepare() {
20 chmod +x "${_appimage}"
21 ./"${_appimage}" --appimage-extract
22}
23
24build() {
25 # Adjust .desktop so it will work outside of AppImage container
26 sed -i -E \
27 "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_pkgname}|" \
28 "squashfs-root/lunarclient.desktop"
29 # Fix permissions; .AppImage permissions are 700 for all directories
30 chmod -R a-x+rX squashfs-root/usr
31}
32
33package() {
34 # AppImage
35 install -Dm755 \
36 "${srcdir}/${_appimage}" \
37 "${pkgdir}/opt/${_pkgname}/${_pkgname}.AppImage"
38
39 # Desktop file
40 install -Dm644 \
41 "${srcdir}/squashfs-root/lunarclient.desktop" \
42 "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
43
44 # Icon images
45 install -dm755 "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
46 cp -a \
47 "${srcdir}/squashfs-root/usr/share/icons/hicolor/1024x1024/apps/lunarclient.png" \
48 "${pkgdir}/usr/share/icons/hicolor/512x512/apps/lunarclient.png"
49
50 # Symlink executable
51 install -dm755 "${pkgdir}/usr/bin"
52 ln -s \
53 "/opt/${_pkgname}/${_pkgname}.AppImage" \
54 "${pkgdir}/usr/bin/${_pkgname}"
55}
56# vim:set ts=4 sw=4 noet:
57

Scan history

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

Report a package

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

0 / 4000
Your suggestion