dane-without-root
The 'cargo install cargo-c' in prepare() is used for building the package's own source via cargo-cinstall, not installing untrusted external binaries; this is a normal build-time dependency in the AUR context.
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 'cargo install cargo-c' in prepare() is used for building the package's own source via cargo-cinstall, not installing untrusted external binaries; this is a normal build-time dependency in the AUR context.
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:39
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.41'
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
)
optdepends=('start-stop-daemon: sysv support')
makedepends=(cargo git curl pkgconf openssl)
sha256sums=('ac8b2188f404e19b3957587601d28243ded8c13d16b75d8372bb593746f7db7e')
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/etc/init.d/" "dane-proxy"
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.41
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 "libdane_without_root.so.0.1.41" "$pkgdir/usr/lib/libdane_without_root.so.0.1"
ln -sf "libdane_without_root.so.0.1.41" "$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-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 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |