vegad

maintainer britors · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package installs a privileged daemon via systemd and drops a sudoers fragment, but it validates the sudoers file with visudo before activation and is otherwise a legitimate build from a tagged source; the main risk is misconfiguration, not malicious behavior.

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 privileged daemon via systemd and drops a sudoers fragment, but it validates the sudoers file with visudo before activation and is otherwise a legitimate build from a tagged source; the main risk is misconfiguration, not malicious behavior.

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.

  • .install:6 if ! visudo -cf /etc/sudoers.d/vega-build >/dev/null 2>&1; then
  • .install:8 rm -f /etc/sudoers.d/vega-build

PKGBUILD

1# Maintainer: Rodrigo Brito <rodrigo@w3ti.com.br>
2#
3# AUR-oriented PKGBUILD. It builds the tagged Vega release, but can be
4# pointed at another checkout/source via VEGA_SOURCE_URL and VEGA_SOURCE_DIR
5# for local builds.
6
7pkgname=vegad
8pkgver=1.4.2
9pkgrel=1
10pkgdesc="Daemon privilegiado do Vega, centro de controle para Linux"
11arch=('x86_64')
12url="https://github.com/britors/Vega"
13license=('GPL-3.0-only')
14depends=('systemd' 'dbus' 'polkit' 'pacman' 'bluez' 'bluez-obex')
15optdepends=(
16 'snapper: snapshots automáticos antes de operações do sistema'
17 'flatpak: cache e atualizações do módulo Software'
18 'restic: suporte ao módulo Backup'
19 'firewalld: firewall do módulo Rede'
20 'fwupd: status de firmware no módulo Hardware'
21 'networkmanager: estado de rede no módulo Rede'
22 'yay: instalação de pacotes AUR (origem Comunidade) no módulo Software'
23 'paru: alternativa a yay para pacotes AUR (origem Comunidade)'
24 'reflector: otimização de mirrors do Pacman no módulo Software'
25)
26provides=('lyraed')
27conflicts=('lyraed')
28makedepends=('go')
29install=vegad.install
30_source_url_default="git+https://github.com/britors/Vega.git#tag=v${pkgver}"
31source=("Vega::${VEGA_SOURCE_URL:-${_source_url_default}}")
32sha256sums=('SKIP')
33
34build() {
35 local _srcroot="${VEGA_SOURCE_DIR:-$srcdir/Vega}"
36 cd "$_srcroot/vegad"
37 go build -trimpath -ldflags "-X github.com/lyraos/vegad/internal/version.Version=${pkgver}" \
38 -o vegad ./cmd/vegad
39}
40
41package() {
42 local _srcroot="${VEGA_SOURCE_DIR:-$srcdir/Vega}"
43 cd "$_srcroot"
44
45 install -Dm755 vegad/vegad "$pkgdir/usr/lib/vega/vegad"
46 install -Dm644 packaging/vegad/vegad.service \
47 "$pkgdir/usr/lib/systemd/system/vegad.service"
48 install -Dm644 packaging/vegad/vegad-update-check.service \
49 "$pkgdir/usr/lib/systemd/system/vegad-update-check.service"
50 install -Dm644 packaging/vegad/vegad-update-check.timer \
51 "$pkgdir/usr/lib/systemd/system/vegad-update-check.timer"
52 install -Dm644 packaging/vegad/org.lyraos.Vega1.conf \
53 "$pkgdir/usr/share/dbus-1/system.d/org.lyraos.Vega1.conf"
54 install -Dm644 packaging/vegad/org.lyraos.Vega1.service \
55 "$pkgdir/usr/share/dbus-1/system-services/org.lyraos.Vega1.service"
56 install -Dm644 packaging/vegad/org.lyraos.vega.policy \
57 "$pkgdir/usr/share/polkit-1/actions/org.lyraos.vega.policy"
58 install -Dm644 packaging/vegad/sysusers.d/vega-build.conf \
59 "$pkgdir/usr/lib/sysusers.d/vega-build.conf"
60 install -Dm644 packaging/vegad/tmpfiles.d/vega-build.conf \
61 "$pkgdir/usr/lib/tmpfiles.d/vega-build.conf"
62 install -Dm440 packaging/vegad/sudoers.d/vega-build \
63 "$pkgdir/etc/sudoers.d/vega-build"
64}
65

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion