qt5-websockets-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 build() function executes 'sudo "$srcdir/bundler"' - a local script included in the source array with only a single sha256sum entry (the git source has no checksum, and the bundler script's checksum is the only one listed but misaligned). The 'bundler' script is fetched as a bare source file from an unspecified location (no URL given, so it must be a local file bundled with the PKGBUILD in the AUR snapshot). Executing an arbitrary script with sudo during the build phase is a serious red flag: makepkg builds should never require sudo/root privileges, and any script that does is either broken or malicious. A legitimate Qt5 websockets build requires only qmake and make. There is no legitimate reason for a 'bundler' script run as root to be part of this build process. This pattern - injecting a sudo-executed opaque script into an otherwise normal-looking package build - is a classic supply-chain attack vector. The sha256sums array also has only one entry for two sources, making it structurally broken/suspicious. Combined with the unusual package name suffix '-bin' for what appears to be a source build, this is rated HIGH risk.
PKGBUILD
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt5-websockets-bin
_basever=5.15.19
pkgver=5.15.19+kde+r2
pkgrel=1
_commit=10eb706b24aa05f4ee69c2f2fec99b21994dfe2b
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides WebSocket communication compliant with RFC 6455'
depends=('qt5-base')
makedepends=('qt5-declarative' 'git')
optdepends=('qt5-declarative: QML bindings')
groups=('qt5')
_pkgfqn=${pkgname/5-/}
source=(kde-$_pkgfqn::git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit 'bundler')
sha256sums=('1aca4c4be2699a8bfb474525ec407bfbc579e7042664345d5c45ec8eb9cdca2f')
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/bundler"
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-websockets-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 |