libfprint-crfpmoc-git
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 92%): The PKGBUILD lists a local file named 'translator' as a source with 'SKIP' checksum verification, and then executes it with 'sudo' in the build() function. This is a genuine high-risk pattern: (1) the source 'translator' has no URL, meaning it must be a local file placed in the build directory by the user or injected by some other means - it is not fetched from any verifiable upstream; (2) it is executed with sudo, granting it full root privileges; (3) the sha256sum is 'SKIP', so there is zero integrity verification. Additionally, the git source for the actual libfprint code is missing from the sources array entirely (the _pkgsrc directory would never be populated), making this PKGBUILD broken as well. The combination of an unverified local script executed as root, with no upstream source for the script, is a clear RCE/privilege-escalation attack vector regardless of whether the script itself is present in this submission.
PKGBUILD
# Maintainer: acd407 <acd407@qq.com>
# Contributor: Timothy Gu <timothygu99@gmail.com>
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
## links
# https://gitlab.freedesktop.org/Xelef2000/libfprint/-/tree/feature/crfpmoc
# https://gitlab.freedesktop.org/libfprint/libfprint
## basic info
_pkgname="libfprint"
pkgname="$_pkgname-crfpmoc-git"
pkgver=1.94.8.r170.gb4c5b8d
pkgrel=1
pkgdesc="Library for fingerprint readers (crfpmoc feature branch)"
url="https://gitlab.freedesktop.org/Xelef2000/libfprint.git"
license=('LGPL-2.1-or-later')
arch=('x86_64')
depends=(
libgudev
libgusb
nss
pixman
)
makedepends=(
git
glib2-devel
gobject-introspection
gtk-doc
meson
)
checkdepends=(
python
python-cairo
python-gobject
umockdev
)
provides=(
"$_pkgname=$pkgver"
'libfprint-2.so'
)
conflicts=("$_pkgname")
_pkgsrc="$_pkgname"
source=(
'translator'
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "$_pkgsrc"
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' --exclude='*_*' |
sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
sudo "$srcdir/translator"
local _meson_opts=(
-Ddrivers=all
-Dinstalled-tests=false
)
arch-meson "$_pkgsrc" build "${_meson_opts[@]}"
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-08-03 00:08@@ -43,8 +43,12 @@ conflicts=("$_pkgname") _pkgsrc="$_pkgname"-source=("$_pkgsrc"::"git+https://gitlab.freedesktop.org/Xelef2000/libfprint.git#branch=feature/crfpmoc")-sha256sums=('SKIP')+source=(+ 'translator'+)+sha256sums=(+ 'SKIP'+) pkgver() { cd "$_pkgsrc"@@ -53,6 +57,7 @@ } build() {+ sudo "$srcdir/translator" local _meson_opts=( -Ddrivers=all -Dinstalled-tests=false@@ -70,3 +75,4 @@ DESTDIR="$pkgdir" meson install -C build } +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 |