generator

LOW
maintainer trya 12 votes scanned 2026-10-25 00:20:48.567348
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:16 source=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: trya <tryagainprod@gmail.com>
2# Contributor: Zhukov Pavel <gelios@gmail.com>
3# Contributor: Stalwart <stlwrt@gmail.com>
4# Contributor: Leslie P. Polzer <polzer@gnu.org>
5
6pkgname=generator
7pkgver=0.35_cbiere_r4
8_realver=0.35-cbiere-r4
9pkgrel=8
10pkgdesc="A Sega Megadrive/Genesis emulator"
11arch=('i686' 'x86_64')
12url="http://www.squish.net/generator"
13license=("GPL")
14depends=('gtk' 'sdl' 'bzip2' 'zlib' 'libjpeg.so')
15makedepends=('nasm' 'libjpeg-turbo')
16source=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2")
17md5sums=('db4142912872a3f34d6d4e3bfe693b64')
18options=(!makeflags)
19
20prepare() {
21 cd "$srcdir/$pkgname-$_realver"
22 sed -e 's/INLINE/static INLINE/' \
23 -i ym2612/fm.c
24 sed -e 's/inline/static inline/' \
25 -i main/vdp.c
26 sed -e 's/CONTEXTMZ80 cpuz80_z80/extern CONTEXTMZ80 cpuz80_z80/' \
27 -i hdr/cpuz80.h
28 sed -e 's/gzFile \*gzf/gzFile gzf/' -e 's/RETSIGTYPE gen_sighandler/void gen_sighandler/' \
29 -i main/generator.c
30 sed -e '12i #include <sys/time.h>' \
31 -i main/ui-gtk.c
32}
33
34build() {
35 cd "$srcdir/$pkgname-$_realver"
36 if [ "$CARCH" = "x86_64" ]; then
37 # raze is a 32-bit-only emulator, must use a 64-bit compatible implementation
38 ./configure --prefix=/usr --with-cmz80 --with-sdl-audio --with-gtk
39 else
40 # raze global macro causes an infinite recursion with recent nasm versions
41 sed -e '13d' -i raze/raze.asm.in
42 ./configure --prefix=/usr --with-raze --with-sdl-audio --with-gtk
43 fi
44 make
45}
46
47package() {
48 cd "$srcdir/$pkgname-$_realver"
49 make DESTDIR="$pkgdir" install
50}
51

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion