android-riscv64-gnutls
The source is a tarball from the official GnuTLS upstream host (gnupg.org), which is a trusted project domain; building from official source is normal AUR packaging, so the non-whitelisted host is a false positive.
Triggered rules
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 tarball from the official GnuTLS upstream host (gnupg.org), which is a trusted project domain; building from official source is normal AUR packaging, so the non-whitelisted host is a false positive.
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:24
source=("https://www.gnupg.org/ftp/gcrypt/gnutls/v${pkgver%.*}/gnutls-${pkgver}.tar.xz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Martchus <martchus@gmx.net>
_android_arch=riscv64
pkgname=android-${_android_arch}-gnutls
pkgver=3.8.11
pkgrel=4
arch=('any')
pkgdesc="A library which provides a secure layer over a reliable transport layer (Android ${_android_arch})"
url="https://www.gnutls.org/"
license=('GPL-3.0-or-later AND LGPL-2.1-or-later')
groups=('android-gnutls')
depends=("android-${_android_arch}-libidn2"
"android-${_android_arch}-libtasn1"
"android-${_android_arch}-libunistring"
"android-${_android_arch}-nettle"
"android-${_android_arch}-p11-kit"
"android-${_android_arch}-zlib")
makedepends=('android-configure'
'autogen')
optdepends=("android-${_android_arch}-openssl: libgnutls-openssl")
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://www.gnupg.org/ftp/gcrypt/gnutls/v${pkgver%.*}/gnutls-${pkgver}.tar.xz")
md5sums=('614a4f4131ee9d9c004830181bddccea')
build() {
cd "${srcdir}/gnutls-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-configure \
--with-idn \
--with-brotli \
--with-zstd \
--with-tpm2 \
--disable-doc \
--disable-tests \
--disable-valgrind-tests \
--disable-full-test-suite \
--enable-ktls \
--enable-openssl-compatibility \
--disable-srp-authentication \
--disable-rpath \
--disable-non-suiteb-curves \
--disable-gtk-doc \
--disable-full-test-suite \
--disable-rpath \
--disable-tools \
--with-libiconv-prefix="${ANDROID_PREFIX}" \
--enable-nls \
--enable-cxx \
--without-tpm \
--without-tpm2
make $MAKEFLAGS
}
package() {
cd "${srcdir}/gnutls-${pkgver}"
source android-env ${_android_arch}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/${ANDROID_PREFIX_SHARE}"
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a
install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 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 |
| 2026-08-29 00:29:17 | Low | 2 |