lua-lsqlite3

LOW
maintainer jakobhellermann 4 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:20 source=("archive.zip::http://lua.sqlite.org/home/zip/archive.zip?uuid=v$pkgver")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jakob Hellermann <jakob.hellermann@protonmail.com>
2# Contributor: Caleb Maclennan <caleb@alerque.com>
3
4_rockname=lsqlite3
5pkgname=("lua-$_rockname" "lua54-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname")
6pkgver=0.9.7
7_fossilver=v${pkgver//./}
8_rockrel=1
9pkgrel=1
10pkgdesc='A binding for Lua to the SQLite3 database library'
11arch=(x86_64 i686)
12url='http://lua.sqlite.org'
13license=(MIT)
14depends=(sqlite)
15makedepends=(lua
16 lua51
17 lua52
18 lua53
19 luarocks)
20source=("archive.zip::http://lua.sqlite.org/home/zip/archive.zip?uuid=v$pkgver")
21sha256sums=('981851c3b831439ad8341a48e00a46bfd1413e469e62cfe39452a1bd7e9acae9')
22
23_package_helper() {
24 cd archive
25 luarocks --lua-version "$1" --tree "$pkgdir/usr/" \
26 make --deps-mode none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec"
27
28 # Upstream ships the MIT license inline in lsqlite3.c; extract it into /usr/share/licenses/.
29 awk 'NR==1{next} /^\*+\/$/{exit} {sub(/^\* ?/, ""); sub(/ *\*+$/, ""); print}' lsqlite3.c |
30 install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31}
32
33package_lua-lsqlite3() {
34 depends+=(lua)
35 _package_helper 5.5
36}
37
38package_lua54-lsqlite3() {
39 depends+=(lua53)
40 _package_helper 5.4
41}
42
43package_lua53-lsqlite3() {
44 depends+=(lua53)
45 _package_helper 5.3
46}
47
48package_lua52-lsqlite3() {
49 depends+=(lua52)
50 _package_helper 5.2
51}
52
53package_lua51-lsqlite3() {
54 depends+=(lua51)
55 _package_helper 5.1
56}
57

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)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 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

Report a package

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

0 / 4000
Your suggestion