antimony-sandbox
The .install script creates dedicated users, sets setuid bits on binaries, and assigns capabilities, which constitutes privileged system modifications outside normal pacman handling, posing a potential privilege escalation risk if the binaries are compromised.
Triggered rules
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:17
chmod ug+s /usr/bin/antimony -
.install:18
chmod ug+s /usr/share/antimony/utilities/antimony-lockdown
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The .install script creates dedicated users, sets setuid bits on binaries, and assigns capabilities, which constitutes privileged system modifications outside normal pacman handling, posing a potential privilege escalation risk if the binaries are compromised.
PKGBUILD
# Maintainer: kkernick <kkernick at protonmail dot com>
pkgname=antimony-sandbox
pkgdesc="Sandbox Applications"
pkgver=6.0.1
pkgrel=1
install=antimony.install
license=("Unlicense")
url="https://github.com/kkernick/antimony"
source=("git+$url#tag=$pkgver")
b2sums=("SKIP")
depends=(glibc bubblewrap libseccomp xdg-dbus-proxy sqlite dbus)
makedepends=(git cargo pkgconf zstd gzip)
arch=("any")
prepare() {
cd $srcdir/antimony
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd $srcdir/antimony
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --frozen --release --workspace
}
check() {
cd $srcdir/antimony
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo test
}
package() {
cd $srcdir/antimony
install -Dm755 "target/release/antimony" "$pkgdir/usr/bin/antimony"
for binary in antimony-monitor antimony-spawn antimony-dumper antimony-open antimony-tracer antimony-notify antimony-writer antimony-lockdown antimony-landlock; do
install -Dm755 "target/release/$binary" "$pkgdir/usr/share/antimony/utilities/$binary"
done
for profile in $(ls config/profiles); do
install -Dm644 "config/profiles/$profile" "$pkgdir/usr/share/antimony/config/profiles/$profile"
done
for feature in $(ls config/features); do
install -Dm644 "config/features/$feature" "$pkgdir/usr/share/antimony/config/features/$feature"
done
install -Dm644 "config/default.toml" "$pkgdir/usr/share/antimony/config/profiles/default.toml"
install -Dm644 "config/profile.toml" "$pkgdir/usr/share/antimony/config/profile.toml"
install -Dm644 "config/feature.toml" "$pkgdir/usr/share/antimony/config/feature.toml"
install -Dm644 "config/config.toml" "$pkgdir/etc/antimony.toml"
install -Dm644 "config/config.d/base.toml" "$pkgdir/etc/antimony.d/base.toml"
# Build the shell completions
target/release/antimony_generator
install -Dm644 "generated/antimony.bash" "$pkgdir/usr/share/bash-completion/antimony"
install -Dm644 "generated/antimony.fish" "$pkgdir/usr/share/fish/vendor_completions.d/antimony.fish"
install -Dm644 "generated/_antimony" "$pkgdir/usr/share/zsh/site-functions/_antimony"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-23 00:02+++ PKGBUILD @ 2026-11-01 00:21@@ -1,7 +1,7 @@ # Maintainer: kkernick <kkernick at protonmail dot com> pkgname=antimony-sandbox pkgdesc="Sandbox Applications"-pkgver=6.0.0+pkgver=6.0.1 pkgrel=1 install=antimony.installScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 03:36:21 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |