scriptbasic

LOW
maintainer peter.babic 0 votes scanned 2026-11-01 00:21:48.120785
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-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