scriptbasic

maintainer peter.babic · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a source tarball from the project's official website, which is not on a standard code hosting platform but is plausibly the project's own distribution channel; the build process compiles the source locally and installs binaries and scripts without executing remote code or introducing unverifiable prebuilt payloads.

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 package downloads a source tarball from the project's official website, which is not on a standard code hosting platform but is plausibly the project's own distribution channel; the build process compiles the source locally and installs binaries and scripts without executing remote code or introducing unverifiable prebuilt payloads.

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:11 source=("http://www.scriptbasic.org/download/SB_${pkgver}_Linux.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintaier: Peter Babič <babicpet at gmail dot com>
2pkgname=scriptbasic
3pkgver=2.1_RC1
4pkgrel=4
5pkgdesc="Scriba compiler for a powerful scripting language/API"
6arch=("x86_64")
7url="http://www.scriptbasic.org/"
8license=('unknown')
9depends=('postgresql-libs')
10install=".install"
11source=("http://www.scriptbasic.org/download/SB_${pkgver}_Linux.tar.gz"
12 "scriptbasic_arch.patch"
13 "configure.save")
14noextract=()
15md5sums=('374a37fff435d26c08cfe2ed8d694a8e'
16 'f026797fd8e695a797e1eee2f04e264a'
17 'fc077e744f5000c5e508243b35f348f2')
18validpgpkeys=()
19
20prepare() {
21# perl jamal.pl -i
22 chmod -R 755 "scriptbasic"
23 cp configure.save scriptbasic/
24 patch -p0 -i "scriptbasic_arch.patch"
25}
26
27build() {
28 cd "scriptbasic"
29 ./setup
30 make clean
31 ./setup
32 ./setup --install --load
33 bin/exe/scriba -k -f basic.conf scriba.conf.unix.lsp
34}
35
36package() {
37 cd "scriptbasic"
38 install -m666 -d "$pkgdir/var/log/scriba/"
39 install -m555 -d "$pkgdir/etc/scriba/"
40 install -m777 -d "$pkgdir/var/cache/scriba/cache/"
41 install -m777 -d "$pkgdir/var/cache/scriba/hebtemp/"
42
43 install -Dm555 "bin/exe/scriba" "$pkgdir/usr/bin/scriba"
44 install -Dm555 "bin/exe/sbhttpd" "$pkgdir/usr/bin/sbhttpd"
45# install -Dm777 "etc-init.d-sbhttpd" "$pkgdir/etc/init.d/sbhttpd"
46
47 install -Dm444 "basic.conf" "$pkgdir/etc/scriba/basic.conf"
48 install -Dm444 "heber.bas" "$pkgdir/usr/share/scriba/source/heber.bas"
49 install -Dm444 "bin/lib/libscriba.a" "$pkgdir/usr/local/lib/libscriba.a"
50
51 install -m555 -d "$pkgdir/usr/share/scriba/include/"
52 install -Dm444 include/*.bas "$pkgdir/usr/share/scriba/include/"
53
54 install -m555 -d "$pkgdir/usr/local/lib/scriba/"
55 install -Dm644 bin/mod/dll/*.so "$pkgdir/usr/local/lib/scriba/"
56
57 extensions=(cgi curl curses dbg gd hash mt mysql odbc re sdbg t trial ux xml zlib)
58 for i in "${extensions[@]}"
59 do
60 sourceDir="extensions/$i/mod_$i/"
61 destDir="$pkgdir/usr/share/scriba/source/mod_$i/"
62 if [ -d "$sourceDir" ]; then
63 install -m555 -d "$destDir"
64 install -Dm644 "$sourceDir"*.html "$destDir"
65 fi
66
67 indexFile="bin/texi/mod_$i.html"
68 if [ -f "$indexFile" ]; then
69 install -Dm644 "$indexFile" "$pkgdir/usr/share/scriba/source/"
70 fi
71
72 basFile="extensions/$i/$i.bas"
73 if [ -f "$basFile" ]; then
74 install -Dm644 "$basFile" "$pkgdir/usr/share/scriba/include/$i/$i.bas"
75 fi
76
77 done
78
79}
80

Scan history

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

Report a package

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

0 / 4000
Your suggestion