lua52-lsqlite3
maintainer jakobhellermann
· 4 votes
· base
lua-lsqlite3
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a zip archive from the project's own domain (lua.sqlite.org), used to build a Lua binding from its official source; the host is not whitelisted but is plausibly official, and the build uses standard, transparent steps with a verifiable checksum.
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 source is a zip archive from the project's own domain (lua.sqlite.org), used to build a Lua binding from its official source; the host is not whitelisted but is plausibly official, and the build uses standard, transparent steps with a verifiable checksum.
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
5
pkgname=("lua-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname")
6
pkgver=0.9.7
7
_fossilver=v${pkgver//./}
8
_rockrel=1
9
pkgrel=1
10
pkgdesc='A binding for Lua to the SQLite3 database library'
11
arch=(x86_64 i686)
12
url='http://lua.sqlite.org'
13
license=(MIT)
14
depends=(sqlite)
15
makedepends=(lua
16
lua51
17
lua52
18
lua53
19
luarocks)
20
source=("archive.zip::http://lua.sqlite.org/home/zip/archive.zip?uuid=v$pkgver")
21
sha256sums=('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
33
package_lua-lsqlite3() {
34
depends+=(lua)
35
_package_helper 5.4
36
}
37
38
package_lua53-lsqlite3() {
39
depends+=(lua53)
40
_package_helper 5.3
41
}
42
43
package_lua52-lsqlite3() {
44
depends+=(lua52)
45
_package_helper 5.2
46
}
47
48
package_lua51-lsqlite3() {
49
depends+=(lua51)
50
_package_helper 5.1
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |