lua54-lsqlite3

LOW
maintainer jakobhellermann 4 votes base lua-lsqlite3 scanned 2026-09-05 18:04:08.931566
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

Scan history

Scanned at (UTC)SeverityRules
2026-09-05 18:04:08 Low 2
2026-09-05 18:00:42 Medium 1

Report a package

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

0 / 4000
Your suggestion