android-riscv64-poppler-data
maintainer hipersayan_x
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source tarballs from freedesktop.org and a Gentoo dev host to install non-executable encoding data and cMaps for poppler; these are data files, not code, and the worst case of a swapped source is limited to data corruption, not code execution.
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 package downloads source tarballs from freedesktop.org and a Gentoo dev host to install non-executable encoding data and cMaps for poppler; these are data files, not code, and the worst case of a swapped source is limited to data corruption, not code execution.
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:21
"https://dev.gentoo.org/~sam/distfiles/app-text/poppler-data/poppler-data-$_POPPLER_DATA_EXTRA_VERSION-extra.tar.xz")
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: Jan de Groot <jgc@archlinux.org>
4
5
_android_arch=riscv64
6
7
pkgname=android-${_android_arch}-poppler-data
8
pkgver=0.4.12
9
_POPPLER_DATA_EXTRA_VERSION="0.4.11-2"
10
pkgrel=1
11
arch=('any')
12
pkgdesc="Encoding data for the poppler PDF rendering library (Android ${_android_arch})"
13
license=('custom'
14
'GPL2')
15
url="https://poppler.freedesktop.org/"
16
conflicts=("android-${_android_arch}-poppler<0.10.5")
17
depends=('android-ndk')
18
makedepends=('android-environment')
19
options=(!strip !buildflags staticlibs !emptydirs)
20
source=("https://poppler.freedesktop.org/poppler-data-${pkgver}.tar.gz"
21
"https://dev.gentoo.org/~sam/distfiles/app-text/poppler-data/poppler-data-$_POPPLER_DATA_EXTRA_VERSION-extra.tar.xz")
22
sha256sums=('c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74'
23
'2f62dc1d20e1646e9c92e6fc35ba26f7d12b7cacee3577e5fd4a85511bfc6603')
24
25
build() {
26
cd "${srcdir}/poppler-data-${pkgver}"
27
source android-env ${_android_arch}
28
}
29
30
package() {
31
cd "${srcdir}/poppler-data-${pkgver}"
32
source android-env ${_android_arch}
33
34
make prefix="${ANDROID_PREFIX}" DESTDIR="${pkgdir}" install
35
36
# additional cMaps for ghostscript - FS#76416
37
cp ../poppler-data-${_POPPLER_DATA_EXTRA_VERSION}-extra/Identity-* "${pkgdir}/${ANDROID_PREFIX_SHARE}/poppler/cMap"
38
39
# add symlinks to cMaps - FS#76565
40
pushd "${pkgdir}/${ANDROID_PREFIX_SHARE}/poppler/cMap"
41
find ../cMap -type f -exec ln -s {} . \;
42
popd
43
}
44
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 |