ndjbdns
maintainer larryhaja
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
pkgname=ndjbdns
4
pkgver=1.06
5
pkgrel=2
6
pkgdesc="ndjbdns is a fork of djbdns"
7
arch=('i686' 'x86_64')
8
url="http://pjp.dgplug.org/ndjbdns/"
9
license=('GPL2')
10
depends=('systemd')
11
source=("http://pjp.dgplug.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"
12
'arch-systemd-bin-directory.patch')
13
sha256sums=('5ce5a7c5031f220a85fc8bca903f2d3cf484ff77e4c85e7144a0e2a5922a1127'
14
'437486cdedac54600ef5152d1ccb6fedd6b8df785b6880805b1762d70287d9c7')
15
16
build()
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
37
package()
38
{
39
cd ${pkgname}-${pkgver}
40
make install DESTDIR="${pkgdir}"
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 3 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |