qt5-sensors-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 92%): The PKGBUILD includes a file named 'hasher' in the source array but provides only one sha256sum entry (for the git repo), meaning the 'hasher' script has no integrity check. More critically, build() executes 'sudo "$srcdir/hasher"' — running an unverified local script with root privileges during the build phase. This is a genuine red flag: no legitimate Qt5 sensors build requires sudo or an auxiliary script called 'hasher'. The script's content is unknown, it has no checksum, and executing arbitrary code with sudo during makepkg is a classic malware vector. The sha256sums array has only one entry for two sources, which is also malformed. This combination — unverified script + sudo execution — constitutes a real high-severity risk regardless of whether the rest of the build looks legitimate.
PKGBUILD
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt5-sensors-bin
_basever=5.15.19
pkgver=5.15.19
pkgrel=2
_commit=8c6d11df60d4d783869c2d81568e3178f5ae75ce
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides access to sensor hardware and motion gesture recognition'
depends=('qt5-base')
makedepends=('qt5-declarative' 'git')
optdepends=('qt5-declarative: QML bindings'
'iio-sensor-proxy: iio-sensor-proxy backend')
groups=('qt5')
_pkgfqn=${pkgname/5-/}
source=(kde-$_pkgfqn::git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit 'hasher')
sha256sums=('1faedb6b7904e9afb5dc5abf0311c2aea036aaf8d4bd9c0c97753a0f57c170f0')
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
}
build() {
sudo "$srcdir/hasher"
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-sensors-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 13:23:32 | HIGH | 2 |
| 2026-08-01 13:20:32 | HIGH | 2 |