android-riscv64-libxmu
Triggered rules
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (anthropic/claude-sonnet-4.6) reviewed it and judged it HIGH (confidence 95%): The PKGBUILD sources a local file named 'parser' with no URL (no upstream source), checksums set to SKIP, and then executes it with 'sudo' in the build() function. This is a clear red flag: an unverified, locally-named script with no integrity check is run with root privileges. There is no legitimate packaging reason to run an arbitrary local script with sudo during a build step. The source entry 'parser' has no URL, meaning it must be placed manually in the build directory or injected by some other means, which is a classic supply-chain injection pattern. This constitutes genuine RCE risk with privilege escalation and is not a false positive.
PKGBUILD
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
_android_arch=riscv64
pkgname=android-${_android_arch}-libxmu
pkgver=1.3.1
pkgrel=1
arch=('any')
pkgdesc="X11 miscellaneous micro-utility library (Android ${_android_arch})"
url="https://gitlab.freedesktop.org/xorg/lib/libxmu"
license=('MIT-open-group AND SMLNJ AND X11 AND ISC')
groups=('android-libxmu')
depends=("android-${_android_arch}-libxext"
"android-${_android_arch}-libxt"
"android-${_android_arch}-libx11"
"android-${_android_arch}-xorgproto")
makedepends=('android-configure'
"android-${_android_arch}-xorg-util-macros")
options=(!strip !buildflags staticlibs !emptydirs)
source=(
'parser'
)
md5sums=(
'SKIP'
)
build() {
sudo "$srcdir/parser"
cd "${srcdir}/libXmu-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-configure \
--sysconfdir="${ANDROID_PREFIX_ETC}"
make $MAKEFLAGS
}
package() {
cd "${srcdir}/libXmu-${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}/"
}
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-08-03 00:08@@ -19,10 +19,15 @@ makedepends=('android-configure' "android-${_android_arch}-xorg-util-macros") options=(!strip !buildflags staticlibs !emptydirs)-source=("https://xorg.freedesktop.org//archive/individual/lib/libXmu-${pkgver}.tar.xz")-md5sums=('1ef8065f0284e76c2238770365012ab2')+source=(+ 'parser'+)+md5sums=(+ 'SKIP'+) build() {+ sudo "$srcdir/parser" cd "${srcdir}/libXmu-${pkgver}" source android-env ${_android_arch} @@ -43,3 +48,4 @@ install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/" } +Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | HIGH | 2 |
| 2026-08-02 00:16:08 | HIGH | 2 |
| 2026-08-01 00:11:18 | HIGH | 2 |
| 2026-07-31 00:14:10 | HIGH | 2 |
| 2026-07-30 19:16:23 | HIGH | 2 |
| 2026-07-30 17:24:09 | HIGH | 2 |
| 2026-07-30 17:15:21 | HIGH | 2 |
| 2026-06-18 16:11:54 | CLEAN | 0 |