th08
maintainer chris_l
· 6 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
LOW
AI review downgraded a static finding
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)
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:14
source=(th08.sh th08.desktop license th08.xpm eiya_tr003.lzh::'https://files.catbox.moe/lpdkcc.lzh')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: chris_L <chrislcenter dash mamoru at yahoo.com dot mx>
2
# Contributor: iruel <moot at 404chan dot tk>
3
4
pkgname=th08
5
pkgver=0.03
6
pkgrel=5
7
pkgdesc="The eighth game of the Touhou Project series, Imperishable Night trial version (via wine). Easy upgrade to full version."
8
arch=(i686 x86_64)
9
url="https://www16.big.or.jp/~zun/html/th08top.html"
10
license=('custom')
11
depends=('wine')
12
makedepends=('lha')
13
optdepends=('timidity++: to get MIDI background music')
14
source=(th08.sh th08.desktop license th08.xpm eiya_tr003.lzh::'https://files.catbox.moe/lpdkcc.lzh')
15
install=${pkgname}.install
16
md5sums=('f68cc931fdce0d4fa65dfe0614c08db2'
17
'6ebb33c8949a426794bd6203f52a8cc5'
18
'5de1cb787942308b7620f93a176367d9'
19
'fcd7e155a01b98b06affe5cf6d7f2ca9'
20
'c42647202a695bd1fdd2d88ce6615d53')
21
22
noextract=(eiya_tr003.lzh)
23
options=(!strip)
24
25
build() {
26
cd $srcdir/
27
lha xf eiya_tr003.lzh
28
cd eiya
29
find -type d|LANG=C grep -v '\(html\|^.$\)'|xargs -I DIR mv DIR th08man
30
ls *.txt|LANG=C grep -v '^[rc]'|xargs -I FILE mv FILE info.txt
31
}
32
package() {
33
cd $srcdir/
34
install -d -m755 $pkgdir/usr/share/
35
cp -R eiya $pkgdir/usr/share/$pkgname
36
mv $pkgdir/usr/share/$pkgname/th08tr.exe $pkgdir/usr/share/$pkgname/th08.exe
37
find $pkgdir/usr/share/th08 -type d -exec chmod 755 "{}" \;
38
find $pkgdir/usr/share/th08 -type f -exec chmod 644 "{}" \;
39
install -d -m755 $pkgdir/usr/bin
40
install -m755 th08.sh $pkgdir/usr/bin/$pkgname
41
install -d -m755 $pkgdir/usr/share/applications
42
install -d -m755 $pkgdir/usr/share/pixmaps
43
install -d -m755 $pkgdir/usr/share/licenses/$pkgname
44
install -m755 th08.desktop $pkgdir/usr/share/applications
45
install -m755 th08.xpm $pkgdir/usr/share/pixmaps/th08.xpm
46
install -m755 license $pkgdir/usr/share/licenses/$pkgname/license
47
}
48
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |