sdlhack

LOW
maintainer orphaned 3 votes scanned 2026-11-01 00:21:48.120785
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
3pkgname=sdlhack
4pkgver=1.4
5pkgrel=2
6pkgdesc='A wrapper for SDL which lets you force fullscreen games to minimize.'
7arch=(i686 x86_64)
8url=http://jspenguin.org:81/software/sdlhack/
9license=(LGPL)
10depends=(glibc bash)
11[ ${CARCH} = x86_64 ] && depends[0]=lib32-glibc
12makedepends=(sdl)
13[ ${CARCH} = x86_64 ] && makedepends+=(gcc-multilib)
14source=(http://jspenguin.org:81/software/sdlhack/${pkgname}-${pkgver}.tar.gz)
15md5sums=(b028e64931871e2eb76c9aeb74f6e86c)
16
17build() {
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
26package() {
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)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion