ndjbdns

LOW
maintainer larryhaja 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package builds from source hosted on a plausible project-owned domain (dgplug.org), patches it locally, and downloads the root DNS servers list at build time; the latter is a standard, safe practice, and the source is verified via checksum, making the overall risk low.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source hosted on a plausible project-owned domain (dgplug.org), patches it locally, and downloads the root DNS servers list at build time; the latter is a standard, safe practice, and the source is verified via checksum, making the overall risk low.

2 higher static findings superseded - not the current verdict (shown for transparency)
Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:21 _root_servers=$(curl -s http://www.internic.net/domain/named.root | grep ' A ' | awk '{print $4}')
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:11 source=("http://pjp.dgplug.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"

PKGBUILD

2 offending line(s) highlighted
1# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
2
3pkgname=ndjbdns
4pkgver=1.06
5pkgrel=2
6pkgdesc="ndjbdns is a fork of djbdns"
7arch=('i686' 'x86_64')
8url="http://pjp.dgplug.org/ndjbdns/"
9license=('GPL2')
10depends=('systemd')
11source=("http://pjp.dgplug.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"
12 'arch-systemd-bin-directory.patch')
13sha256sums=('5ce5a7c5031f220a85fc8bca903f2d3cf484ff77e4c85e7144a0e2a5922a1127'
14 '437486cdedac54600ef5152d1ccb6fedd6b8df785b6880805b1762d70287d9c7')
15
16build()
17{
18 cd ${pkgname}-${pkgver}
19
20 ### Make sure root servers file is up to date.
21 _root_servers=$(curl -s http://www.internic.net/domain/named.root | grep ' A ' | awk '{print $4}')
22 if [ "${_root_servers}" != "" ]; then
23 echo ${_root_servers} | tr ' ' '\n' > etc/servers/dnsroots.global
24 fi
25
26 # Fix sbin directory in systemd files.
27 patch -p1 < "${srcdir}"/arch-systemd-bin-directory.patch
28
29 ./configure \
30 --prefix=/usr \
31 --sbindir=/usr/bin \
32 --sysconfdir=/etc \
33 --disable-silent-rules
34 make
35}
36
37package()
38{
39 cd ${pkgname}-${pkgver}
40 make install DESTDIR="${pkgdir}"
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 3
2026-09-16 00:03:17 Low 3
2026-09-15 00:25:31 Low 3
2026-09-14 00:27:57 Low 3
2026-09-13 00:19:54 Low 3
2026-09-12 00:25:17 Low 3
2026-09-11 00:19:22 Low 3
2026-09-10 00:22:44 Low 3
2026-09-09 00:04:09 Low 3
2026-09-08 00:18:08 Low 3
2026-09-07 00:30:15 Low 3
2026-09-06 00:17:06 Low 3
2026-09-05 00:16:27 Low 3
2026-09-04 00:03:13 Low 3
2026-09-03 00:15:47 Low 3
2026-09-02 00:02:31 Low 3
2026-09-01 00:11:19 Low 3
2026-08-31 00:19:57 Low 3
2026-08-30 00:04:14 Low 3
2026-08-29 00:29:17 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