voix
The package installs a legitimate privilege escalation tool with setuid root, but it is built from source on official infrastructure and replaces sudo/doas as intended; the privileged install is expected behavior for this software.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package installs a legitimate privilege escalation tool with setuid root, but it is built from source on official infrastructure and replaces sudo/doas as intended; the privileged install is expected behavior for this software.
1 higher static finding superseded - not the current verdict (shown for transparency)
privileged_install
The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.
-
PKGBUILD:46
chmod 4755 "$pkgdir/usr/bin/voix"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Dae Euhwa <daedaevibin@ik.me>
pkgname=voix
_pkgname=Voix
pkgver=4.13.1
pkgrel=1
pkgdesc="A secure privilege escalation tool replacing sudo/doas, using PAM for authentication"
arch=('x86_64' 'aarch64')
url="https://github.com/Veridian-Zenith/Voix"
license=('OSL-3.0')
depends=('pam' 'libcap' 'libseccomp' 'yaml-cpp')
makedepends=('cmake>=3.30' 'clang' 'lld' 'ninja' 'pkgconf' 'ccache')
provides=('sudo' 'doas')
conflicts=('sudo' 'doas')
backup=('etc/pam.d/voix' 'etc/voix.conf')
install=voix.install
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('e7df7e95dfd9cf343d248f3c412b2d0d347e188a0e06335b603e19499494394f')
build() {
cd "$_pkgname-$pkgver"
# ARCH-triggered: native build for x86_64; cross-compile for aarch64
if [ "$ARCH" = "aarch64" ]; then
CC=clang CXX=clang++ cmake -B build -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DENABLE_PERMISSIONS=OFF \
-DCMAKE_C_FLAGS="--target=aarch64-linux-gnu" \
-DCMAKE_CXX_FLAGS="--target=aarch64-linux-gnu -std=c++26 -fexperimental-library"
else
CC=clang CXX=clang++ cmake -B build -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DENABLE_PERMISSIONS=OFF
fi
cmake --build build
}
package() {
cd "$_pkgname-$pkgver"
DESTDIR="$pkgdir" cmake --install build
chown root:root "$pkgdir/usr/bin/voix"
chmod 4755 "$pkgdir/usr/bin/voix"
mkdir -p "$pkgdir/var/lib/voix"
ln -sf /usr/bin/voix "$pkgdir/usr/bin/sudo"
ln -sf /usr/bin/voix "$pkgdir/usr/bin/doas"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 00:17:11 | Low | 2 |
| 2026-09-17 00:27:14 | Low | 2 |