ndjbdns
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
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)
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}')
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# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
pkgname=ndjbdns
pkgver=1.06
pkgrel=2
pkgdesc="ndjbdns is a fork of djbdns"
arch=('i686' 'x86_64')
url="http://pjp.dgplug.org/ndjbdns/"
license=('GPL2')
depends=('systemd')
source=("http://pjp.dgplug.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'arch-systemd-bin-directory.patch')
sha256sums=('5ce5a7c5031f220a85fc8bca903f2d3cf484ff77e4c85e7144a0e2a5922a1127'
'437486cdedac54600ef5152d1ccb6fedd6b8df785b6880805b1762d70287d9c7')
build()
{
cd ${pkgname}-${pkgver}
### Make sure root servers file is up to date.
_root_servers=$(curl -s http://www.internic.net/domain/named.root | grep ' A ' | awk '{print $4}')
if [ "${_root_servers}" != "" ]; then
echo ${_root_servers} | tr ' ' '\n' > etc/servers/dnsroots.global
fi
# Fix sbin directory in systemd files.
patch -p1 < "${srcdir}"/arch-systemd-bin-directory.patch
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--disable-silent-rules
make
}
package()
{
cd ${pkgname}-${pkgver}
make install DESTDIR="${pkgdir}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |