spiritfarer-appimage

HIGH
maintainer azzbcc 0 votes scanned 2026-11-01 00:21:48.120785
piracy
View on AUR
Why flagged

This PKGBUILD downloads a prebuilt AppImage of the commercial game Spiritfarer from linuxgame.cn (de.linuxgame.cn), which is a third-party Chinese Linux gaming site, not the official Thunder Lotus Games distribution channel. Spiritfarer is a paid commercial game (available on Steam, GOG, etc.), and distributing it via an unofficial host without authorization constitutes piracy. The AppImage is also executed during the prepare() phase (--appimage-extract) to unpack its contents, meaning arbitrary code from this unofficial binary runs on the build system. The sha256sum provides integrity but not authenticity — if the host is controlled by a bad actor or the file was placed there without the developer's consent, users get a pirated and potentially tampered binary. The piracy flag applies regardless of malware presence since this is clearly unauthorized redistribution of a commercial game.

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:11 source=("${_pkgname}-${pkgver}.appimage::https://de.linuxgame.cn/%E7%81%B5%E9%AD%82%E6%91%86%E6%B8%A1%E4%BA%BA/Spiritfarer_32138b_amd64.appimage"
High AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed it and judged it HIGH (confidence 82%): This PKGBUILD downloads a prebuilt AppImage of the commercial game Spiritfarer from linuxgame.cn (de.linuxgame.cn), which is a third-party Chinese Linux gaming site, not the official Thunder Lotus Games distribution channel. Spiritfarer is a paid commercial game (available on Steam, GOG, etc.), and distributing it via an unofficial host without authorization constitutes piracy. The AppImage is also executed during the prepare() phase (--appimage-extract) to unpack its contents, meaning arbitrary code from this unofficial binary runs on the build system. The sha256sum provides integrity but not authenticity — if the host is controlled by a bad actor or the file was placed there without the developer's consent, users get a pirated and potentially tampered binary. The piracy flag applies regardless of malware presence since this is clearly unauthorized redistribution of a commercial game.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Clarence <xjh.azzbcc@gmail.com>
2
3_pkgname=spiritfarer
4pkgname="${_pkgname}"-appimage
5pkgver=1.0
6pkgrel=1
7pkgdesc="Spiritfarer (AppImage version)"
8arch=('x86_64')
9url='https://www.linuxgame.cn/%e7%81%b5%e9%ad%82%e6%91%86%e6%b8%a1%e4%ba%ba-spiritfarer'
10provides=("${_pkgname}=${pkgver}")
11source=("${_pkgname}-${pkgver}.appimage::https://de.linuxgame.cn/%E7%81%B5%E9%AD%82%E6%91%86%E6%B8%A1%E4%BA%BA/Spiritfarer_32138b_amd64.appimage"
12 'spiritfarer.sh')
13sha256sums=('182e14e8bc64db4f505365ec5d88e1481ea7bcd0f4a8691b3a827c948e6e8b03'
14 '237e093d8fc27a48d65e337a4bb56f17308f8b28271d173a4e8295b34385ecf3')
15options=(!strip)
16
17prepare() {
18 cd "${srcdir}"
19 chmod +x "${_pkgname}-${pkgver}.appimage"
20 ./"${_pkgname}-${pkgver}.appimage" --appimage-extract
21}
22
23package() {
24 install -Dm755 "${srcdir}/${_pkgname}-${pkgver}.appimage" "${pkgdir}/opt/appimages/${_pkgname}.AppImage"
25 install -Dm755 "${srcdir}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
26 install -Dm755 "${srcdir}/squashfs-root/usr/bin/support/icon.png" "${pkgdir}/usr/share/icons/${_pkgname}.png"
27 install -Dm644 "${srcdir}/squashfs-root/Spiritfarer.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
28 sed -i 's|^Exec=start.sh|Exec=spiritfarer|' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
29 sed -i 's|^Icon=UnityPlayer|Icon=spiritfarer|' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
30}
31
32# vim:set ts=2 sw=2 et:
33

Scan history

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

Report a package

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

0 / 4000
Your suggestion