rhizome-pi-scheme
maintainer ecraven
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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>
7
pkgname=rhizome-pi-scheme
8
pkgver=0.57
9
pkgrel=2
10
epoch=
11
pkgdesc="rhizome/pi is a Scheme implementation (interpreter and compiler, compiler generates program in C language) conforming to R^5RS."
12
arch=(x86_64 i686)
13
url=""
14
license=('unknown')
15
groups=()
16
depends=()
17
makedepends=()
18
checkdepends=()
19
optdepends=()
20
provides=()
21
conflicts=()
22
replaces=()
23
backup=()
24
options=()
25
install=
26
changelog=
27
source=("http://www.kt.rim.or.jp/~qfwfq/packages/rhizome-$pkgver.tar.gz")
28
md5sums=('5fc557fb1a03e47c0037884052f7e438')
29
noextract=()
30
validpgpkeys=()
31
32
build() {
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
61
package() {
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) | 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 |