android-aarch64-sqlite

LOW
maintainer hipersayan_x 0 votes scanned 2026-11-06 00:21:40.447623
View on AUR
Why flagged

The source is a verifiable upstream tarball from the official sqlite.org domain, which is the project's own release infrastructure; the non-whitelisted host is a subdomain of the official project site, and the package builds from source without executing untrusted binaries.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a verifiable upstream tarball from the official sqlite.org domain, which is the project's own release infrastructure; the non-whitelisted host is a subdomain of the official project site, and the package builds from source without executing untrusted binaries.

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:19 source=("https://www.sqlite.org/2026/sqlite-src-${_srcver}.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
2# Contributor: Andreas Radke <andyrtr@archlinux.org>
3# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4
5_android_arch=aarch64
6
7pkgname=android-${_android_arch}-sqlite
8pkgver=3.53.4
9_srcver=$(echo "${pkgver}" | awk -F. '{ printf "%d%02d%02d00", $1, $2, $3 }')
10pkgrel=1
11arch=('any')
12pkgdesc="A C library that implements an SQL database engine (Android ${_android_arch})"
13license=('LicenseRef-Sqlite')
14url="https://www.sqlite.org/"
15groups=('android-sqlite')
16depends=("android-${_android_arch}-zlib")
17makedepends=('android-configure')
18options=(!strip !buildflags staticlibs !emptydirs)
19source=("https://www.sqlite.org/2026/sqlite-src-${_srcver}.zip")
20md5sums=('718613520b678b8754427ed2b01d12d3')
21
22build() {
23 cd "${srcdir}/sqlite-src-${_srcver}"
24 source android-env ${_android_arch}
25
26 # this uses malloc_usable_size, which is incompatible with fortification level 3
27 export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
28 export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
29
30 export CPPFLAGS="${CPPFLAGS} \
31 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
32 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
33 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
34 -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
35 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
36 -DSQLITE_SECURE_DELETE \
37 -DSQLITE_ENABLE_STMTVTAB \
38 -DSQLITE_ENABLE_STAT4 \
39 -DSQLITE_MAX_VARIABLE_NUMBER=250000 \
40 -DSQLITE_MAX_EXPR_DEPTH=10000 \
41 -DSQLITE_ENABLE_MATH_FUNCTIONS \
42 -DSQLITE_ENABLE_RTREE=1 \
43 -DSQLITE_ENABLE_FTS5=1 \
44 -DSQLITE_ENABLE_JSON1=1"
45
46 ./configure \
47 --host=${_android_arch/x86-/x86_}-linux-android \
48 --build=${CHOST} \
49 --prefix="${ANDROID_PREFIX}" \
50 --libdir="${ANDROID_PREFIX_LIB}" \
51 --includedir="${ANDROID_PREFIX_INCLUDE}" \
52 --enable-shared \
53 --enable-static \
54 --disable-readline \
55 --disable-tcl \
56 --fts4 \
57 --fts5 \
58 --rtree
59 make $MAKEFLAGS
60}
61
62package() {
63 cd "${srcdir}/sqlite-src-$_srcver"
64 source android-env ${_android_arch}
65
66 make DESTDIR="${pkgdir}" install
67 rm -rf "${pkgdir}/${ANDROID_PREFIX_BIN}"
68 rm -rf "${pkgdir}/${ANDROID_PREFIX_SHARE}"
69 ${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
70 ${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a || true
71
72 install -vDm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}/"
73}
74

Scan history

Scanned at (UTC)SeverityRules
2026-11-06 00:21:40 Low 2
2026-11-05 00:01:40 Low 2
2026-11-04 00:25:23 Low 2
2026-11-03 00:01:00 Low 2
2026-11-02 00:26:00 Low 2
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 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