lab3d-sdl
maintainer carstene1ns
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a non-whitelisted host, but it contains buildable source code for a known port of Ken's Labyrinth; the package installs compiled binaries and data files locally, with no evidence of remote code execution or malicious payloads.
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 source is a tarball from a non-whitelisted host, but it contains buildable source code for a known port of Ken's Labyrinth; the package installs compiled binaries and data files locally, with no evidence of remote code execution or malicious payloads.
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:11
source=("http://s3.jspenguin.org/LAB3D-SDL-3.0-src.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
2
3
pkgname=lab3d-sdl
4
pkgver=3.0
5
pkgrel=2
6
pkgdesc="Enhanced port of Ken's Labyrinth with hi-res texture support"
7
arch=('i686' 'x86_64')
8
url="https://ktpanda.org/software/lab3d_sdl/"
9
license=('GPL')
10
depends=('sdl2_image' 'glu')
11
source=("http://s3.jspenguin.org/LAB3D-SDL-3.0-src.tar.gz"
12
"$pkgname-datadir.patch"
13
"$pkgname.sh")
14
sha256sums=('95351253fe9dae45c6ec95ddbcef895758720789b3076403906154b4bb4dd80f'
15
'dc452ef12fe98b0838e7d2e67f44b83cf5521168d8633dd6fe6a1ebb3c620255'
16
'b1bbc3e16cb5d8846144ddbc22de54fb90b2be04f9116c14727ac6e50857cd6f')
17
18
prepare() {
19
# patch to change data directory
20
patch -Np0 < $pkgname-datadir.patch
21
}
22
23
build() {
24
export CFLAGS="$CFLAGS -fcommon"
25
make -C LAB3D-SDL-3.0
26
}
27
28
package() {
29
cd LAB3D-SDL-3.0
30
31
# binary + launcher
32
install -Dm755 ../$pkgname.sh "$pkgdir"/usr/bin/$pkgname
33
install -Dm755 ken.bin "$pkgdir"/usr/lib/$pkgname/ken.bin
34
# data
35
install -d "$pkgdir"/usr/share/$pkgname/hires
36
install -m644 *.kzp {insts,tables}.dat wallparams.ini ken.bmp "$pkgdir"/usr/share/$pkgname
37
install -m644 hires/* "$pkgdir"/usr/share/$pkgname/hires
38
# docs
39
install -d "$pkgdir"/usr/share/doc/$pkgname
40
install -m644 *.doc *.txt "$pkgdir"/usr/share/doc/$pkgname
41
}
42
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 |