katawa-shoujo-bin

maintainer snit · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The package downloads a prebuilt binary archive (containing a Ren'Py engine binary and Python libraries that are executed at runtime) from cdn.fhs.sh, which is not the official upstream host (katawa-shoujo.com). The official KS Linux download is distributed directly from the Four Leaf Studios site or mirrors like itch.io/lemmasoft, not cdn.fhs.sh. This is a personal/unofficial CDN operated by the maintainer or a third party, meaning the binary could be substituted without upstream's knowledge. A sha256 checksum is present, which mitigates tampering after the fact but does not establish trust in the source host itself — if the CDN is compromised or the maintainer rotates the file, the checksum would need to be updated. The installed content includes a native Linux x86_64 binary (the Ren'Py launcher) and Python libraries, all of which are executed on the user's system. This is a genuine supply-chain concern: executed binaries from an unofficial host. The piracy flag does not apply since Katawa Shoujo is a free, legally distributed game under CC-BY-NC-ND-3.0.

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:20 "ks.tar.zst::https://cdn.fhs.sh/ks/bin/${pkgver}/%5B4ls%5D_katawa_shoujo_${pkgver}-%5Blinux-x86%5D%5BBA993979%5D.tar.zst"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The package downloads a prebuilt binary archive (containing a Ren'Py engine binary and Python libraries that are executed at runtime) from cdn.fhs.sh, which is not the official upstream host (katawa-shoujo.com). The official KS Linux download is distributed directly from the Four Leaf Studios site or mirrors like itch.io/lemmasoft, not cdn.fhs.sh. This is a personal/unofficial CDN operated by the maintainer or a third party, meaning the binary could be substituted without upstream's knowledge. A sha256 checksum is present, which mitigates tampering after the fact but does not establish trust in the source host itself — if the CDN is compromised or the maintainer rotates the file, the checksum would need to be updated. The installed content includes a native Linux x86_64 binary (the Ren'Py launcher) and Python libraries, all of which are executed on the user's system. This is a genuine supply-chain concern: executed binaries from an unofficial host. The piracy flag does not apply since Katawa Shoujo is a free, legally distributed game under CC-BY-NC-ND-3.0.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: snit <snit@cock.li>
2# Contributor: Alice Jenkinson <virtual.aur at zero-x dot nz>
3
4_pkgname="katawa-shoujo"
5pkgname="$_pkgname-bin"
6pkgver=1.3.2
7pkgrel=1
8pkgdesc="A bishoujo-style visual novel by Four Leaf Studios"
9url="https://www.katawa-shoujo.com"
10license=("CC-BY-NC-ND-3.0")
11arch=("x86_64")
12
13provides=("$_pkgname=$pkgver")
14conflicts=("$_pkgname")
15
16options=("!strip")
17
18_pkgsrc="Katawa Shoujo-$pkgver-linux"
19source=(
20 "ks.tar.zst::https://cdn.fhs.sh/ks/bin/${pkgver}/%5B4ls%5D_katawa_shoujo_${pkgver}-%5Blinux-x86%5D%5BBA993979%5D.tar.zst"
21 "katawa-shoujo.png"
22)
23
24sha256sums=(
25 'c76b644b9d7582b20c50d0a984e426b6a85d8c564325e73ad29637210e31e0af'
26 'dcd08ef958f785ac52b88a255680e385051d6b6a9626e57f00acb44021d7c0ee'
27)
28
29package() {
30 cd "$_pkgsrc"
31
32 # main files
33 install -dm755 "$pkgdir/usr/share/$_pkgname"
34 cp --reflink=auto -a game renpy "Katawa Shoujo.py" "$pkgdir/usr/share/$_pkgname/"
35
36 install -dm755 "$pkgdir/usr/share/$_pkgname/lib"
37 cp --reflink=auto -a lib/linux-x86_64 lib/pythonlib2.7 "$pkgdir/usr/share/$_pkgname/lib/"
38
39 # script
40 install -Dm755 /dev/stdin "$pkgdir/usr/bin/$_pkgname" << END
41#!/bin/sh
42BASE="/usr/share/katawa-shoujo"
43LIB="\$BASE/lib/linux-x86_64"
44BASEFILE="Katawa Shoujo"
45
46exec "\$LIB/\$BASEFILE" \$RENPY_PYARGS -EO "\$BASE/\$BASEFILE.py" "\$@"
47END
48
49 install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/$_pkgname.desktop" << END
50[Desktop Entry]
51Name=Katawa Shoujo
52Comment=$pkgdesc
53Exec=$_pkgname
54Icon=$_pkgname
55Type=Application
56Categories=Game;
57END
58
59 # icon
60 install -Dm644 "$srcdir/$_pkgname.png" -t "$pkgdir/usr/share/pixmaps/"
61
62 # license
63 install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
64
65 # manual
66 install -Dm644 'Game Manual.pdf' "$pkgdir/usr/share/doc/$pkgname/gamemanual.pdf"
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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