generator
The source is a tarball from the project's official domain (squish.net), used to build the emulator from source; the host is not whitelisted but is plausibly legitimate, and no untrusted executable is run.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official domain (squish.net), used to build the emulator from source; the host is not whitelisted but is plausibly legitimate, and no untrusted executable is run.
1 higher static finding superseded - not the current verdict (shown for transparency)
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=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2")
PKGBUILD
1 offending line(s) highlighted# Maintainer: trya <tryagainprod@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>
# Contributor: Stalwart <stlwrt@gmail.com>
# Contributor: Leslie P. Polzer <polzer@gnu.org>
pkgname=generator
pkgver=0.35_cbiere_r4
_realver=0.35-cbiere-r4
pkgrel=8
pkgdesc="A Sega Megadrive/Genesis emulator"
arch=('i686' 'x86_64')
url="http://www.squish.net/generator"
license=("GPL")
depends=('gtk' 'sdl' 'bzip2' 'zlib' 'libjpeg.so')
makedepends=('nasm' 'libjpeg-turbo')
source=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2")
md5sums=('db4142912872a3f34d6d4e3bfe693b64')
options=(!makeflags)
prepare() {
cd "$srcdir/$pkgname-$_realver"
sed -e 's/INLINE/static INLINE/' \
-i ym2612/fm.c
sed -e 's/inline/static inline/' \
-i main/vdp.c
sed -e 's/CONTEXTMZ80 cpuz80_z80/extern CONTEXTMZ80 cpuz80_z80/' \
-i hdr/cpuz80.h
sed -e 's/gzFile \*gzf/gzFile gzf/' -e 's/RETSIGTYPE gen_sighandler/void gen_sighandler/' \
-i main/generator.c
sed -e '12i #include <sys/time.h>' \
-i main/ui-gtk.c
}
build() {
cd "$srcdir/$pkgname-$_realver"
if [ "$CARCH" = "x86_64" ]; then
# raze is a 32-bit-only emulator, must use a 64-bit compatible implementation
./configure --prefix=/usr --with-cmz80 --with-sdl-audio --with-gtk
else
# raze global macro causes an infinite recursion with recent nasm versions
sed -e '13d' -i raze/raze.asm.in
./configure --prefix=/usr --with-raze --with-sdl-audio --with-gtk
fi
make
}
package() {
cd "$srcdir/$pkgname-$_realver"
make DESTDIR="$pkgdir" install
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |