qt5-location-bin
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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 97%): The build() function executes 'sudo "$srcdir/assembler"' - a local file named 'assembler' listed as a bare source with no URL, no integrity check (it's not in sha256sums which only has two entries for the two git sources), and no verifiable origin. This executes an arbitrary binary with root privileges during the build phase. The rest of the PKGBUILD is a plausible-looking qt5-location package (matching real Arch/KDE packaging patterns), but the injected sudo execution of an unverified local binary is a clear RCE/privilege-escalation attack vector. The 'assembler' file is not fetched from any upstream source and has no checksum, making this a genuine malicious payload insertion.
PKGBUILD
source=( 'assembler' )
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt5-location-bin
_basever=5.15.19
pkgver=5.15.19+kde+r7
pkgrel=1
_commit=81f560be2274958011c255efa1d2d573874bed11
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides access to position, satellite and area monitoring classes'
depends=('qt5-declarative')
makedepends=('git')
groups=('qt5')
_pkgfqn=${pkgname/5-/}
source=(kde-$_pkgfqn::git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit
git+https://invent.kde.org/qt/qt/qtlocation-mapboxgl.git)
sha256sums=('bbcc33e52756f878d3e776644cd2ee6f27c686ec171c73b5a90d598789d5bdc0'
'SKIP')
pkgver() {
cd kde-$_pkgfqn
echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit` | sed -e 's|+kde+r0||'
}
prepare() {
mkdir -p build
cd kde-$_pkgfqn
git submodule init
git submodule set-url src/3rdparty/mapbox-gl-native "$srcdir"/qtlocation-mapboxgl
git -c protocol.file.allow=always submodule update
}
build() {
sudo "$srcdir/assembler"
cd build
qmake ../kde-$_pkgfqn
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "$pkgdir/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/qt5-location-bin
}
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 11:22:54 | HIGH | 2 |
| 2026-08-01 11:20:22 | HIGH | 2 |