dane-without-root
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): The package builds from its own signed source repository on sr.ht with a verified PGP tag; the only flagged issue is `cargo install cargo-c` in prepare(), which fetches a well-known Cargo build tool from crates.io rather than an untrusted host, and the .install hook only generates a local self-signed TLS certificate using openssl — no remote code execution or exfiltration.
1 higher static finding superseded - not the current verdict (shown for transparency)
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:38
cargo install cargo-c
PKGBUILD
1 offending line(s) highlighted# Maintainer: Neowutran <aur at neowutran dot ovh>
pkgname="dane-without-root"
backup=(etc/dane-proxy/dane-proxy.conf)
pkgver='0.1.34'
pkgrel=1
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h' 'riscv64')
pkgdesc="Provide multiples DANE tools that does not use the root '.' DNS server for validation"
url='https://sr.ht/~yukikoo/dane_without_root/'
license=(AGPL-3.0-or-later)
depends=(
dnssec-without-root
openssl
libgcc
glibc
)
makedepends=(cargo git curl pkgconf openssl)
sha256sums=('03400a80c91e6adb59110b148b0deb2bbf58b05e20d7a9395c2aad567d3f4c27')
source=("git+https://git.sr.ht/~yukikoo/dane_without_root?signed#tag=dane-${pkgver}")
validpgpkeys=('FB798BFB115895C9C95900649C2B29DD4A62ED27')
backup=(
'etc/dane-proxy/dane-proxy.conf'
)
install='proxy_certificate.install'
# Use debug
export CARGO_PROFILE_RELEASE_DEBUG=2 CARGO_PROFILE_RELEASE_STRIP=false
# Use LTO
export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export CFLAGS+=' -ffat-lto-objects'
prepare() {
cd "$srcdir/dane_without_root"
cargo fetch --locked
cargo install cargo-c
}
build() {
cd "$srcdir/dane_without_root"
cargo build --frozen --release --bin dane-without-root-client --features client,logging,tofu
cargo build --frozen --release --bin dane-without-root-proxy --features proxy,logging,tofu
cargo cinstall --frozen --release --lib --features tofu --destdir=./target/release/ --prefix=/usr
}
check() {
cd "$srcdir/dane_without_root"
DANE_WITHOUT_ROOT_SYSTEM_VALID_DOMAIN_FILE=./implementation/valid_dane_domain.txt \
DNSSEC_WITHOUT_ROOT_DIRECTORY=./dnssec_keys/usr/share/dnssec-keys/ \
cargo test --frozen --release --features logging,capi,wrapper_rustls,wrapper_openssl,client,tofu
}
package() {
cd "$srcdir/dane_without_root/implementation/"
install -vDm 0644 dane-proxy.service -t "$pkgdir"/usr/lib/systemd/system
install -vDm 0644 dane-proxy.sysusers "$pkgdir"/usr/lib/sysusers.d/dane-proxy.conf
install -vDm 0644 dane-proxy.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/dane-proxy.conf
install -vDm 0644 dane-without-root-client.1 "$pkgdir"/usr/share/man/man1/dane-without-root-client.1
install -vDm 0644 dane-without-root-proxy.1 "$pkgdir"/usr/share/man/man1/dane-without-root-proxy.1
install -vDm 0755 -t "$pkgdir/usr/bin/" "../target/release/$pkgname-proxy"
install -vDm 0755 -t "$pkgdir/usr/bin/" "../target/release/$pkgname-client"
install -vDm 0644 -t "$pkgdir/usr/include/" ../target/release/usr/include/dane_without_root/dane_without_root.h
install -vDm 0644 -t "$pkgdir/usr/lib/" ../target/release/usr/lib/libdane_without_root.so.0.1.34
install -vDm 0644 -t "$pkgdir/usr/lib/" ../target/release/usr/lib/libdane_without_root.a
install -vDm 0644 -t "$pkgdir/usr/lib/pkgconfig/" ../target/release/usr/lib/pkgconfig/dane_without_root.pc
install -vdm 0755 "$pkgdir"/etc/dane-proxy
install -vDm 0644 dane-proxy.conf "$pkgdir"/etc/dane-proxy/dane-proxy.conf
install -vDm 0644 valid_dane_domain.txt -t "$pkgdir"/usr/share/dane-without-root
ln -sf "/usr/lib/libdane_without_root.so.0.1.34" "$pkgdir/usr/lib/libdane_without_root.so.0.1"
ln -sf "/usr/lib/libdane_without_root.so.0.1.34" "$pkgdir/usr/lib/libdane_without_root.so"
touch "$pkgdir/etc/dane-proxy/valid_dane_domain.txt"
touch "$pkgdir/etc/dane-proxy/known_hosts"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 3 |
| 2026-08-17 00:18:29 | LOW | 3 |
| 2026-08-16 00:03:42 | LOW | 3 |
| 2026-08-15 00:26:13 | LOW | 3 |
| 2026-08-14 00:03:41 | LOW | 3 |
| 2026-08-13 00:17:07 | LOW | 3 |
| 2026-08-12 00:27:08 | LOW | 3 |
| 2026-08-11 23:24:43 | LOW | 3 |
| 2026-08-11 23:21:47 | MEDIUM | 2 |