slib
maintainer fabi
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a versioned zip file from a plausible project-owned host at MIT CSAIL, containing only Scheme source code and data files; the worst case of a swapped source would be tampering with data or scripts, not remote code execution, and the build process is standard.
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 versioned zip file from a plausible project-owned host at MIT CSAIL, containing only Scheme source code and data files; the worst case of a swapped source would be tampering with data or scripts, not remote code execution, and the build process is standard.
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:14
source=("https://groups.csail.mit.edu/mac/ftpdir/scm/$pkgname-$pkgver.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2
# Contributor: Aaron Griffin <aaron@archlinux.org>
3
# Contributor: David Moore <davidm@sjsoft.com>
4
5
pkgname=slib
6
pkgver=3c1
7
pkgrel=3
8
pkgdesc='Library of functions for Scheme implementations'
9
arch=(any)
10
url='https://people.csail.mit.edu/jaffer/SLIB.html'
11
license=(custom)
12
depends=(guile)
13
options=(emptydirs)
14
source=("https://groups.csail.mit.edu/mac/ftpdir/scm/$pkgname-$pkgver.zip")
15
b2sums=('86c38a6ce6936bd1e8b2e3f52fdd3e2e05ba1bb86a611aca7f66a5d65095c81774444459f23f47dd8d01c808ea40c2052d07587c73ffca010f50f5415b2beaf0')
16
17
prepare() {
18
cd $pkgname
19
# Path fix
20
sed -r -i 's,/usr/(local/)?lib/slib,/usr/share/slib,g' *.init
21
# Add missing headers and definitions
22
sed -i "1s,^,#!/bin/sh\nexport SCHEME_LIBRARY_PATH=/usr/share/slib/\nVERSION=$pkgver\n,;s,\${S48_VICINITY},/usr/share/scheme48/,g" slib.sh
23
}
24
25
package() {
26
cd $pkgname
27
install -d "$pkgdir"/usr/{bin,share/{guile/site,slib}}
28
install -m644 *.scm *.init *.xyz *.txt *.dat *.ps "$pkgdir/usr/share/slib/"
29
install -Dm755 slib.sh "$pkgdir/usr/bin/slib"
30
ln -s /usr/share/slib "$pkgdir/usr/share/guile/site/"
31
install -Dm644 slib.info "$pkgdir/usr/share/info/slib.info"
32
install -Dm644 slib.1 "$pkgdir/usr/share/man/man1/slib.1"
33
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
34
}
35
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 |