lua54-lsqlite3
lua-lsqlite3
scanned 2026-09-05 18:04:08.931566
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
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 18:04:08 | Low | 2 |
| 2026-09-05 18:00:42 | Medium | 1 |