lua-lsqlite3
The source is downloaded from lua.sqlite.org, which is the project's own official domain, so this is a legitimate project source tarball; the non-whitelisted host flag is a false positive, though the zip archive from a Fossil repository is slightly unconventional.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 70%): The source is downloaded from lua.sqlite.org, which is the project's own official domain, so this is a legitimate project source tarball; the non-whitelisted host flag is a false positive, though the zip archive from a Fossil repository is slightly unconventional.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:20
source=("archive.zip::http://lua.sqlite.org/home/zip/archive.zip?uuid=v$pkgver")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jakob Hellermann <jakob.hellermann@protonmail.com>
# Contributor: Caleb Maclennan <caleb@alerque.com>
_rockname=lsqlite3
pkgname=("lua-$_rockname" "lua54-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname")
pkgver=0.9.7
_fossilver=v${pkgver//./}
_rockrel=1
pkgrel=1
pkgdesc='A binding for Lua to the SQLite3 database library'
arch=(x86_64 i686)
url='http://lua.sqlite.org'
license=(MIT)
depends=(sqlite)
makedepends=(lua
lua51
lua52
lua53
luarocks)
source=("archive.zip::http://lua.sqlite.org/home/zip/archive.zip?uuid=v$pkgver")
sha256sums=('981851c3b831439ad8341a48e00a46bfd1413e469e62cfe39452a1bd7e9acae9')
_package_helper() {
cd archive
luarocks --lua-version "$1" --tree "$pkgdir/usr/" \
make --deps-mode none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec"
# Upstream ships the MIT license inline in lsqlite3.c; extract it into /usr/share/licenses/.
awk 'NR==1{next} /^\*+\/$/{exit} {sub(/^\* ?/, ""); sub(/ *\*+$/, ""); print}' lsqlite3.c |
install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_lua-lsqlite3() {
depends+=(lua)
_package_helper 5.5
}
package_lua54-lsqlite3() {
depends+=(lua53)
_package_helper 5.4
}
package_lua53-lsqlite3() {
depends+=(lua53)
_package_helper 5.3
}
package_lua52-lsqlite3() {
depends+=(lua52)
_package_helper 5.2
}
package_lua51-lsqlite3() {
depends+=(lua51)
_package_helper 5.1
}
Changes since previous scan
--- PKGBUILD @ 2026-09-05 00:16+++ PKGBUILD @ 2026-09-17 00:27@@ -2,7 +2,7 @@ # Contributor: Caleb Maclennan <caleb@alerque.com> _rockname=lsqlite3-pkgname=("lua-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname")+pkgname=("lua-$_rockname" "lua54-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname") pkgver=0.9.7 _fossilver=v${pkgver//./} _rockrel=1@@ -32,6 +32,11 @@ package_lua-lsqlite3() { depends+=(lua)+ _package_helper 5.5+}++package_lua54-lsqlite3() {+ depends+=(lua53) _package_helper 5.4 } Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 18:00:42 | Medium | 1 |
| 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 |