th08
The package downloads a source file from a non-whitelisted host (catbox.moe), but it is a prebuilt game binary archive for a trial version of a Touhou Project game; the worst case is distribution of a modified or outdated game file, not remote code execution, and the build process only extracts and relocates files without executing arbitrary code.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source file from a non-whitelisted host (catbox.moe), but it is a prebuilt game binary archive for a trial version of a Touhou Project game; the worst case is distribution of a modified or outdated game file, not remote code execution, and the build process only extracts and relocates files without executing arbitrary code.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:14
source=(th08.sh th08.desktop license th08.xpm eiya_tr003.lzh::'https://files.catbox.moe/lpdkcc.lzh')
PKGBUILD
1 offending line(s) highlighted# Maintainer: chris_L <chrislcenter dash mamoru at yahoo.com dot mx>
# Contributor: iruel <moot at 404chan dot tk>
pkgname=th08
pkgver=0.03
pkgrel=5
pkgdesc="The eighth game of the Touhou Project series, Imperishable Night trial version (via wine). Easy upgrade to full version."
arch=(i686 x86_64)
url="https://www16.big.or.jp/~zun/html/th08top.html"
license=('custom')
depends=('wine')
makedepends=('lha')
optdepends=('timidity++: to get MIDI background music')
source=(th08.sh th08.desktop license th08.xpm eiya_tr003.lzh::'https://files.catbox.moe/lpdkcc.lzh')
install=${pkgname}.install
md5sums=('f68cc931fdce0d4fa65dfe0614c08db2'
'6ebb33c8949a426794bd6203f52a8cc5'
'5de1cb787942308b7620f93a176367d9'
'fcd7e155a01b98b06affe5cf6d7f2ca9'
'c42647202a695bd1fdd2d88ce6615d53')
noextract=(eiya_tr003.lzh)
options=(!strip)
build() {
cd $srcdir/
lha xf eiya_tr003.lzh
cd eiya
find -type d|LANG=C grep -v '\(html\|^.$\)'|xargs -I DIR mv DIR th08man
ls *.txt|LANG=C grep -v '^[rc]'|xargs -I FILE mv FILE info.txt
}
package() {
cd $srcdir/
install -d -m755 $pkgdir/usr/share/
cp -R eiya $pkgdir/usr/share/$pkgname
mv $pkgdir/usr/share/$pkgname/th08tr.exe $pkgdir/usr/share/$pkgname/th08.exe
find $pkgdir/usr/share/th08 -type d -exec chmod 755 "{}" \;
find $pkgdir/usr/share/th08 -type f -exec chmod 644 "{}" \;
install -d -m755 $pkgdir/usr/bin
install -m755 th08.sh $pkgdir/usr/bin/$pkgname
install -d -m755 $pkgdir/usr/share/applications
install -d -m755 $pkgdir/usr/share/pixmaps
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
install -m755 th08.desktop $pkgdir/usr/share/applications
install -m755 th08.xpm $pkgdir/usr/share/pixmaps/th08.xpm
install -m755 license $pkgdir/usr/share/licenses/$pkgname/license
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |