s7

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

The source is a tarball from Stanford's official GitLab instance, which is plausibly the project's own infrastructure; building from this source is normal AUR packaging despite the non-whitelisted host.

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 Stanford's official GitLab instance, which is plausibly the project's own infrastructure; building from this source is normal AUR packaging despite the non-whitelisted host.

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:26 source=("https://cm-gitlab.stanford.edu/bil/s7/-/archive/$_commit/s7-$_commit.tar.gz" Makefile s7.pc pass-through-compiler-flags.patch)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jonas Hvid <mail@johv.dk>
2# Contributor: Peter <peter@nexoid.at>
3pkgname=s7
4# Upstream publishes different versions with the same version number
5pkgver=11.9.r20260730
6_upstreamver=${pkgver%.*}
7pkgrel=1
8epoch=
9pkgdesc="A Scheme implementation intended as an extension language for other applications."
10arch=(x86_64 i686)
11url="https://ccrma.stanford.edu/software/snd/snd/s7.html"
12license=('custom:0BSD')
13groups=()
14depends=(glibc)
15makedepends=(git rsync)
16checkdepends=()
17optdepends=()
18provides=()
19conflicts=()
20replaces=()
21backup=()
22options=()
23install=
24changelog=
25_commit="779e11342679c7f5082e1fac8af50535fbf7513e"
26source=("https://cm-gitlab.stanford.edu/bil/s7/-/archive/$_commit/s7-$_commit.tar.gz" Makefile s7.pc pass-through-compiler-flags.patch)
27sha256sums=('c083b51add696690dc1a9a9d7d9b4117e7e03f74837fb3a4855b16aca425c867' SKIP SKIP SKIP)
28
29noextract=()
30validpgpkeys=()
31
32prepare() {
33 sed -i 's/XX\.X/'${_upstreamver}'/' s7.pc
34 cd s7-$_commit
35 cp ${srcdir}/Makefile .
36 patch -Np0 -i ${srcdir}/pass-through-compiler-flags.patch
37}
38
39build() {
40 cd s7-$_commit
41 make -j all
42}
43
44package() {
45 mkdir -vp ${pkgdir}/usr/lib/s7
46 mkdir -vp ${pkgdir}/usr/bin/
47 mkdir -vp ${pkgdir}/usr/include/
48 mkdir -vp ${pkgdir}/usr/lib/pkgconfig/
49 mkdir -vp ${pkgdir}/usr/share/doc/s7/
50 mkdir -vp ${pkgdir}/usr/share/licenses/s7/
51 cp -v ${srcdir}/s7.pc ${pkgdir}/usr/lib/pkgconfig/
52 echo '0-clause BSD' > ${pkgdir}/usr/share/licenses/s7/LICENSE
53 cd ${srcdir}/s7-$_commit
54 find . -name '*.scm' | rsync -va --files-from - ./ ${pkgdir}/usr/lib/s7
55 cp -v libc_s7.so ${pkgdir}/usr/lib/s7
56 cp -v s7 ${pkgdir}/usr/bin/
57 cp -v libs7.so ${pkgdir}/usr/lib/
58 cp -v s7.h ${pkgdir}/usr/include/
59 cp -v *.html ${pkgdir}/usr/share/doc/s7/
60}
61

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