ti99sim
maintainer gavinhungry
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source code and ROM data from a personal domain, but both are checksummed and the ROMs are non-executable data files; the build process compiles the emulator from its own source, which is standard for AUR packages.
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 source code and ROM data from a personal domain, but both are checksummed and the ROMs are non-executable data files; the build process compiles the emulator from its own source, which is standard for AUR packages.
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:13
"https://ftp.lloyd.fm/ti99sim/TIMRaD2.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
2
3
pkgname=ti99sim
4
pkgver=0.16.0
5
pkgrel=6
6
pkgdesc="Texas Instruments TI-99/4A Home Computer Emulator"
7
arch=('x86_64')
8
url="http://www.mrousseau.org/programs/ti99sim"
9
license=('GPL')
10
depends=('sdl')
11
makedepends=('sdl')
12
source=("${url}/archives/${pkgname}-${pkgver}.src.tar.xz"
13
"https://ftp.lloyd.fm/ti99sim/TIMRaD2.zip"
14
"include-cstring.patch")
15
sha256sums=('14bd72f372fe1a253c3a25bca579d29b5c3e47aff2f22622188dc4023576b159'
16
'bf01737f996a335f4be84d2b170d2e16704b8242bd8447c5b6debb5b4f959b55'
17
'42b9ae172a1d2a9222a3c5d500c305e8517626ab4ed8473d0bfebe59ed81d561')
18
19
prepare() {
20
cd "${srcdir}"/${pkgname}-${pkgver}
21
patch -p0 < ../include-cstring.patch
22
}
23
24
build() {
25
cd "${srcdir}"/${pkgname}-${pkgver}
26
make
27
28
cd "${srcdir}"/ROMs
29
mv 994AGROM.Bin 994agrom.bin
30
mv 994aROM.Bin 994arom.bin
31
mv Disk.Bin ti-disk.bin
32
mv SpchROM.Bin spchrom.bin
33
34
"${srcdir}"/${pkgname}-${pkgver}/bin/convert-ctg 994a.bin
35
"${srcdir}"/${pkgname}-${pkgver}/bin/convert-ctg --cru=1100 ti-disk.bin
36
}
37
38
package() {
39
cd "${srcdir}"/${pkgname}-${pkgver}
40
41
# used by `Makefile.linux`
42
export DATA_DIR="${pkgdir}"/opt/${pkgname}
43
export BIN_DIR="${DATA_DIR}"/bin
44
export SYS_BIN="${BIN_DIR}" # prevent automatic symlink creation
45
46
mkdir -p "${BIN_DIR}" "${pkgdir}"/usr/bin
47
make install
48
49
cp "${srcdir}"/ROMs/TI-994A.ctg "${DATA_DIR}"/console
50
cp "${srcdir}"/ROMs/ti-disk.ctg "${DATA_DIR}"/console
51
cp "${srcdir}"/ROMs/spchrom.bin "${DATA_DIR}"/console
52
53
ln -s /opt/${pkgname}/bin/ti99sim-console "${pkgdir}"/usr/bin/
54
ln -s /opt/${pkgname}/bin/ti99sim-sdl "${pkgdir}"/usr/bin/
55
ln -s /usr/bin/ti99sim-sdl "${pkgdir}"/usr/bin/ti99sim
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 |