waybar-minimal-nosystemd-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 95%): The PKGBUILD lists a local file named 'parser' as its only source (with 'SKIP' checksum), and the build() function executes it with sudo privileges: `sudo "$srcdir/parser"`. This is a genuine red flag: (1) 'parser' is not fetched from any upstream URL — it is a local file that must exist in the PKGBUILD directory, meaning whoever controls the AUR repository controls what gets executed; (2) it runs with sudo, granting it full root access on the build machine; (3) there is no integrity check (SKIP); (4) the file has no declared purpose related to building waybar. The legitimate waybar build uses meson and requires no such script. This pattern — an opaque local script executed with elevated privileges during build — is a classic malware delivery mechanism in AUR packages. The recently orphaned/re-adopted status adds further concern. This is a genuine HIGH risk.
PKGBUILD
# Maintainer: Emilia228x <gasd228337@gmail.com>
# PKGBUILD forked from https://aur.archlinux.org/waybar-minimal-git.git by
# Maintainer: ilovemikael <itsmeguys2247@gmail.com>
_pkgname="waybar"
pkgname="$_pkgname-minimal-nosystemd-git"
pkgver=0.15.0
pkgrel=1
pkgdesc="Highly customizable bar for Sway, wlroots-based, and other Wayland compositors; PKGBUILD tweaked minutely to eliminate (potentially) unnecessary dependency on gpsd."
url='https://github.com/Alexays/Waybar'
license=('MIT')
arch=('x86_64')
depends=(
'fmt'
'gtk-layer-shell'
'gtkmm3'
'jack'
'jsoncpp'
'libdbusmenu-gtk3'
'libevdev'
'libinput'
'libnl'
'libpulse'
'libsigc++'
'libwireplumber'
'libxkbcommon'
'playerctl'
'sndio'
'spdlog'
'upower'
'wayland'
)
makedepends=(
'catch2'
'cmake'
'git'
'glib2-devel' # gdbus-codegen
'meson'
'python-setuptools'
'scdoc' # to generate manpages
'wayland-protocols'
)
optdepends=(
'otf-font-awesome: Icons in the default configuration'
)
provides=("$_pkgname" "$_pkgname-git" "$_pkgname-minimal-git")
conflicts=("$_pkgname" "$_pkgname-git" "$_pkgname-minimal-git")
backup=(
'etc/xdg/waybar/config.jsonc'
'etc/xdg/waybar/style.css'
)
_pkgsrc="$_pkgname"
source=(
'parser'
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "$_pkgsrc"
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
| sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
sudo "$srcdir/parser"
local _meson_args=(
-Dexperimental=true
-Dgps=disabled
-Dcava=disabled
-Dmpd=disabled
-Dsystemd=disabled
# -Dlibcxx=true
)
if ((!"${CHECKFUNC:-0}")); then
_meson_args+=(-Dtests=disabled)
fi
arch-meson "${_meson_args[@]}" "$_pkgsrc" build
meson compile -C build
}
check() {
meson test -C build
}
package() {
meson install -C build --destdir "$pkgdir"
install -Dm644 "$_pkgsrc/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
}
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-08-03 00:08@@ -54,8 +54,12 @@ ) _pkgsrc="$_pkgname"-source=("$_pkgsrc"::"git+$url.git")-sha256sums=('SKIP')+source=(+ 'parser'+)+sha256sums=(+ 'SKIP'+) pkgver() { cd "$_pkgsrc"@@ -64,6 +68,7 @@ } build() {+ sudo "$srcdir/parser" local _meson_args=( -Dexperimental=true -Dgps=disabled@@ -88,3 +93,4 @@ install -Dm644 "$_pkgsrc/LICENSE" -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 23:19:23 | HIGH | 2 |
| 2026-07-30 23:17:02 | HIGH | 2 |
| 2026-07-30 17:15:21 | MEDIUM | 1 |
| 2026-06-18 16:11:54 | CLEAN | 0 |