sdlhack
maintainer orphaned
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source tarball from a non-whitelisted but plausibly project-owned host (jspenguin.org) and builds from source; the worst case of a swapped source is limited to code execution during build, but this is a standard AUR practice and the source is checksummed.
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 tarball from a non-whitelisted but plausibly project-owned host (jspenguin.org) and builds from source; the worst case of a swapped source is limited to code execution during build, but this is a standard AUR practice and the source is checksummed.
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=(http://jspenguin.org:81/software/sdlhack/${pkgname}-${pkgver}.tar.gz)
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: dobo <dobo90_at_gmail.com>
2
3
pkgname=sdlhack
4
pkgver=1.4
5
pkgrel=2
6
pkgdesc='A wrapper for SDL which lets you force fullscreen games to minimize.'
7
arch=(i686 x86_64)
8
url=http://jspenguin.org:81/software/sdlhack/
9
license=(LGPL)
10
depends=(glibc bash)
11
[ ${CARCH} = x86_64 ] && depends[0]=lib32-glibc
12
makedepends=(sdl)
13
[ ${CARCH} = x86_64 ] && makedepends+=(gcc-multilib)
14
source=(http://jspenguin.org:81/software/sdlhack/${pkgname}-${pkgver}.tar.gz)
15
md5sums=(b028e64931871e2eb76c9aeb74f6e86c)
16
17
build() {
18
cd ${srcdir}/${pkgname}-${pkgver}
19
20
CFLAGS="${CFLAGS} $(sdl-config --cflags) -shared -fPIC -O2 -ldl -Wall"
21
22
gcc -m32 ${CFLAGS} libsdlhack.c -o libsdlhack-i386.so
23
if [ ${CARCH} = x86_64 ]; then gcc -m64 ${CFLAGS} libsdlhack.c -o libsdlhack-x86_64.so; fi
24
}
25
26
package() {
27
cd ${srcdir}/${pkgname}-${pkgver}
28
29
if [ ${CARCH} = i686 ]; then
30
install -D -m 755 libsdlhack-i386.so ${pkgdir}/usr/lib/libsdlhack.so
31
else # x86_64
32
install -D -m 755 libsdlhack-i386.so ${pkgdir}/usr/lib32/libsdlhack.so
33
install -D -m 755 libsdlhack-x86_64.so ${pkgdir}/usr/lib/libsdlhack.so
34
fi
35
36
install -D -m 755 sdlhack ${pkgdir}/usr/bin/sdlhack
37
install -D -m 644 README ${pkgdir}/usr/share/doc/${pkgname}/README
38
}
39
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 |