rhizome-pi-scheme

LOW
maintainer ecraven 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a tarball from a personal academic host not on the whitelist, but it contains the project's own source code that is compiled locally; the worst case of a swapped source is code execution, but the package follows standard AUR practices for building from source, and no remote code is executed directly.

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 personal academic host not on the whitelist, but it contains the project's own source code that is compiled locally; the worst case of a swapped source is code execution, but the package follows standard AUR practices for building from source, and no remote code is executed directly.

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:27 source=("http://www.kt.rim.or.jp/~qfwfq/packages/rhizome-$pkgver.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# This is an example PKGBUILD file. Use this as a start to creating your own,
2# and remove these comments. For more information, see 'man PKGBUILD'.
3# NOTE: Please fill out the license field for your package! If it is unknown,
4# then please put 'unknown'.
5
6# Maintainer: Peter <craven@gmx.net>
7pkgname=rhizome-pi-scheme
8pkgver=0.57
9pkgrel=2
10epoch=
11pkgdesc="rhizome/pi is a Scheme implementation (interpreter and compiler, compiler generates program in C language) conforming to R^5RS."
12arch=(x86_64 i686)
13url=""
14license=('unknown')
15groups=()
16depends=()
17makedepends=()
18checkdepends=()
19optdepends=()
20provides=()
21conflicts=()
22replaces=()
23backup=()
24options=()
25install=
26changelog=
27source=("http://www.kt.rim.or.jp/~qfwfq/packages/rhizome-$pkgver.tar.gz")
28md5sums=('5fc557fb1a03e47c0037884052f7e438')
29noextract=()
30validpgpkeys=()
31
32build() {
33 cd "rhizome-$pkgver"
34 cp config/unix/linux/rhiz_cnf.h include/rhiz_cnf.h
35 cp config/unix/linux/Makefile.kappa kappa/Makefile
36 cp config/unix/linux/Makefile.pi pi/Makefile
37 cp config/unix/linux/Makefile.pi.compiler pi/compiler/Makefile
38 cp config/unix/linux/config.scm pi/compiler/config.scm
39 sed -i 's/-mtune=i686/-m32 -mtune=i686/' pi/Makefile
40 sed -i 's/-mtune=i686/-m32 -mtune=i686/' kappa/Makefile
41 sed -i 's/-mtune=i686/-m32 -mtune=i686/' pi/compiler/Makefile
42 sed -i 's/-mtune=i686/-m32 -mtune=i686/' pi/compiler/config.scm
43 sed -i 's/"gcc"/"gcc -m32"/' pi/compiler/config.scm
44 sed -i 's/"ld -Bshareable"/"ld -melf_i386 -Bshareable"/' pi/compiler/config.scm
45 sed -i 's/-x -r -o/-melf_i386 -x -r -o/' pi/Makefile
46 sed -i 's/-x -r -o/-melf_i386 -x -r -o/' kappa/Makefile
47 sed -i 's/-x -Bshareable/-melf_i386 -x -Bshareable/' pi/compiler/Makefile
48 sed -i 's/SHLIBDIR)"/SHLIBDIR) -m32"/' pi/compiler/Makefile
49 sed -i "s|install -c -m 444 rhiz_cnf.h rhizome.h.*|install -c -m 444 rhiz_cnf.h rhizome.h ${pkgdir}/usr/include|" kappa/Makefile
50 sed -i "s|install -c -m 444 rhiz_pi.h.*|install -c -m 444 rhiz_pi.h ${pkgdir}/usr/include|" pi/Makefile
51 sed -i "s|^main(int argc, char \*argv\[\])|int main(int argc, char \*argv\[\])|" pi/main.c
52 sed -i '1i #include <stdio.h>' pi/helper.c
53 sed -i '1i #include <string.h>' pi/dynload.c
54 sed -i '1i #include <stdio.h>' kappa/ldso.c
55 sed -i 's|sprintf(mes_buf, "%s", sys_siglist[n]);|sprintf(mes_buf, "%s", strsignal(n));|' pi/subr.c
56 sed -i '/sys_siglist/d' pi/subr.c
57 cd pi
58 make
59}
60
61package() {
62 cd "rhizome-$pkgver"
63 sed -i "s|BASEDIR = /usr/local|BASEDIR = ${pkgdir}/usr|" pi/Makefile
64 sed -i "s|LIBDIR = .*$|LIBDIR = \$(BASEDIR)/lib32|" pi/Makefile
65 mkdir -p ${pkgdir}/usr/lib32
66 mkdir -p ${pkgdir}/usr/bin
67 mkdir -p ${pkgdir}/usr/include
68 cd pi
69 make install
70}
71

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