onscripter-en-galladite27
maintainer silverhikari
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The non-standard host hosts a font file (GenJyuu Gothic), which is non-executable data; the worst case of a swapped source is limited to data tampering, not code execution.
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 non-standard host hosts a font file (GenJyuu Gothic), which is non-executable data; the worst case of a swapped source is limited to data tampering, not code execution.
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=("${url}/archive/refs/tags/${pkgver//_/-}.tar.gz" "https://ftp.iij.ad.jp/pub/osdn.jp/users/8/8644/genjyuugothic-x-20150607.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: silverhikari <kerrickethan@gmail.com>
2
pkgname=onscripter-en-galladite27
3
_pkgname=ONScripter-EN
4
pkgver=2025_06_08
5
pkgrel=5
6
epoch=
7
pkgdesc="modern fork of onscripter-en, an opensource nscript interpreter"
8
arch=('x86_64')
9
url="https://github.com/Galladite27/ONScripter-EN"
10
license=('GPL-2.0-or-later' 'OFL-1.1')
11
depends=('sdl_ttf' 'sdl12-compat' 'sdl_image' 'libvorbis' 'sdl_mixer' 'libx11' 'bzip2' 'smpeg0' 'freetype2' 'libjpeg-turbo' 'libogg' 'libpng' 'zlib')
12
optdepends=('onscripter-en-devkit-git: user guides, project templates, and apis for ONScripter-EN')
13
provides=('onscripter-en')
14
conflicts=('onscripter-en-git')
15
install=onscripter-en.install
16
source=("${url}/archive/refs/tags/${pkgver//_/-}.tar.gz" "https://ftp.iij.ad.jp/pub/osdn.jp/users/8/8644/genjyuugothic-x-20150607.zip")
17
noextract=('genjyuugothic-x-20150607.zip')
18
sha256sums=('29d15582fafebbd7c06feb598af74871f1a346397752e970c867360b367d47b8' 'e4a0ea11b8155056ad2b678c8501b2e76dd99b8c8eb5363d396fe7c3079201b3')
19
20
prepare() {
21
cd "$_pkgname-${pkgver//_/-}"
22
./configure --prefix=/usr
23
}
24
25
build() {
26
cd "$_pkgname-${pkgver//_/-}"
27
make "all"
28
}
29
30
package() {
31
cd "$_pkgname-${pkgver//_/-}"
32
33
# Programs
34
make DESTDIR="$pkgdir" install
35
36
# helper-program
37
echo -e "#! /bin/sh\n\nonscripter-en -f /usr/share/onscripter-en/default.ttf " > "onscripter-en-play"
38
install -Dm755 "onscripter-en-play" "${pkgdir}/usr/bin/"
39
40
#manpages
41
install -d "$pkgdir/usr/share/man/man1/"
42
cp -r ./tools/man/* "$pkgdir/usr/share/man/man1/"
43
44
# Docs
45
install -d "$pkgdir/usr/share/doc/ONScripter"
46
cp -r ./macosx/Help/English.lproj/ONScripterHelp/* "$pkgdir/usr/share/doc/ONScripter/"
47
rm -v "$pkgdir/usr/share/doc/ONScripter/ONScripterHelp.helpindex"
48
49
# Fonts
50
cd ".."
51
bsdtar -xf "genjyuugothic-x-20150607.zip" "GenJyuuGothicX-Monospace-Normal.ttf" "README_GenJyuu.txt" "SIL_Open_Font_License_1.1.txt"
52
install -Dm644 "GenJyuuGothicX-Monospace-Normal.ttf" "${pkgdir}/usr/share/onscripter-en/default.ttf"
53
install -Dm644 "README_GenJyuu.txt" "${pkgdir}/usr/share/onscripter-en/README_GenJyuu.txt"
54
install -Dm644 "SIL_Open_Font_License_1.1.txt" "${pkgdir}/usr/share/licenses/onscripter-en-galladite27/SIL_Open_Font_License_1.1.txt"
55
56
}
57
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 |