scriptbasic

LOW
maintainer peter.babic 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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