voix

LOW
maintainer daedaevibin 2 votes scanned 2026-10-06 00:13:36.889724
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium Privileged / out-of-pacman install (sudoers, setuid, or self-update) 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
1# Maintainer: Dae Euhwa <daedaevibin@ik.me>
2
3pkgname=voix
4_pkgname=Voix
5pkgver=4.13.1
6pkgrel=1
7pkgdesc="A secure privilege escalation tool replacing sudo/doas, using PAM for authentication"
8arch=('x86_64' 'aarch64')
9url="https://github.com/Veridian-Zenith/Voix"
10license=('OSL-3.0')
11depends=('pam' 'libcap' 'libseccomp' 'yaml-cpp')
12makedepends=('cmake>=3.30' 'clang' 'lld' 'ninja' 'pkgconf' 'ccache')
13provides=('sudo' 'doas')
14conflicts=('sudo' 'doas')
15backup=('etc/pam.d/voix' 'etc/voix.conf')
16install=voix.install
17source=("$url/archive/refs/tags/v$pkgver.tar.gz")
18sha256sums=('e7df7e95dfd9cf343d248f3c412b2d0d347e188a0e06335b603e19499494394f')
19
20build() {
21 cd "$_pkgname-$pkgver"
22 # ARCH-triggered: native build for x86_64; cross-compile for aarch64
23 if [ "$ARCH" = "aarch64" ]; then
24 CC=clang CXX=clang++ cmake -B build -G Ninja -Wno-dev \
25 -DCMAKE_BUILD_TYPE=Release \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DCMAKE_INSTALL_SYSCONFDIR=/etc \
28 -DENABLE_PERMISSIONS=OFF \
29 -DCMAKE_C_FLAGS="--target=aarch64-linux-gnu" \
30 -DCMAKE_CXX_FLAGS="--target=aarch64-linux-gnu -std=c++26 -fexperimental-library"
31 else
32 CC=clang CXX=clang++ cmake -B build -G Ninja -Wno-dev \
33 -DCMAKE_BUILD_TYPE=Release \
34 -DCMAKE_INSTALL_PREFIX=/usr \
35 -DCMAKE_INSTALL_SYSCONFDIR=/etc \
36 -DENABLE_PERMISSIONS=OFF
37 fi
38 cmake --build build
39}
40
41package() {
42 cd "$_pkgname-$pkgver"
43 DESTDIR="$pkgdir" cmake --install build
44
45 chown root:root "$pkgdir/usr/bin/voix"
46 chmod 4755 "$pkgdir/usr/bin/voix"
47
48 mkdir -p "$pkgdir/var/lib/voix"
49
50 ln -sf /usr/bin/voix "$pkgdir/usr/bin/sudo"
51 ln -sf /usr/bin/voix "$pkgdir/usr/bin/doas"
52}
53

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion