dnclient
The package downloads prebuilt .deb binaries from a non-whitelisted host (dl.defined.net), which are then extracted and installed; while the host appears legitimate and checksums are provided, the use of unverifiable prebuilt executables from a proprietary vendor creates a supply-chain risk if the host were compromised or the downloads silently swapped.
Triggered rules
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:17
source_x86_64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_amd64.deb")
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads prebuilt .deb binaries from a non-whitelisted host (dl.defined.net), which are then extracted and installed; while the host appears legitimate and checksums are provided, the use of unverifiable prebuilt executables from a proprietary vendor creates a supply-chain risk if the host were compromised or the downloads silently swapped.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Defined Networking, Inc. <support@defined.net>
pkgname=dnclient
pkgver=0.9.7
pkgrel=1
pkgdesc="Managed Nebula client for Defined Networking overlay networks"
arch=('x86_64' 'aarch64')
url="https://www.defined.net"
license=('LicenseRef-Proprietary')
backup=('etc/conf.d/dnclient')
install=dnclient.install
options=('!strip' '!debug')
source=('dnclient.service'
'dnclient@.service'
'dnclient.confd'
'LICENSE')
source_x86_64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_amd64.deb")
source_aarch64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_arm64.deb")
noextract=("dnclient_${pkgver}_amd64.deb"
"dnclient_${pkgver}_arm64.deb")
sha256sums=('ebc3679e59c50233f81be93de9232928adcd6c2b9a37d19ca8bb3614c3d55e3f'
'dce83e9fdb6cf1b2e42b726f768afea556af42472b428a2da839cbc64b5abf37'
'ecdce0108e62d88853513bc5ec0e95601293558bc16738f7e2cbcf174ffd0d74'
'7f753320cbb045dd01674a227acb69368baa92dfb3da50bcd4a9c5598bcb8d7c')
sha256sums_x86_64=('b51f39d0da680a1cf41cef4d75824bccd31fc8da355876044d54141d63cdca8e')
sha256sums_aarch64=('4246a4f101216a3e8e7486b5e92123ea5e39b1d17f02aae383f2fa214fd5966d')
case "$CARCH" in
x86_64) _debarch=amd64 ;;
aarch64) _debarch=arm64 ;;
esac
prepare() {
mkdir -p deb
bsdtar -xOf "dnclient_${pkgver}_${_debarch}.deb" 'data.tar.*' | bsdtar -xf - -C deb
# The deb man page references Debian paths in its FILES section.
gunzip -f deb/usr/share/man/man1/dnclient.1.gz
sed -i \
-e 's|/etc/default/dnclient|/etc/conf.d/dnclient|g' \
-e 's|/lib/systemd/system/|/usr/lib/systemd/system/|g' \
deb/usr/share/man/man1/dnclient.1
grep -q '/etc/conf.d/dnclient' deb/usr/share/man/man1/dnclient.1
grep -q '/usr/lib/systemd/system/' deb/usr/share/man/man1/dnclient.1
# The unit-path sed matches a substring of the /usr form; if the deb man
# page ever moves to /usr/lib itself, it would double the prefix.
! grep -q '/usr/usr/' deb/usr/share/man/man1/dnclient.1
}
package() {
install -Dm755 deb/usr/bin/dnclient "$pkgdir/usr/bin/dnclient"
install -Dm644 deb/usr/share/man/man1/dnclient.1 "$pkgdir/usr/share/man/man1/dnclient.1"
# -n keeps the gzip header free of filename/mtime for reproducible builds.
gzip -9n "$pkgdir/usr/share/man/man1/dnclient.1"
install -Dm644 dnclient.service "$pkgdir/usr/lib/systemd/system/dnclient.service"
install -Dm644 dnclient@.service "$pkgdir/usr/lib/systemd/system/dnclient@.service"
install -Dm644 dnclient.confd "$pkgdir/etc/conf.d/dnclient"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Persistent state directory, kept in the package so pacman creates it
# with the right mode before the first service start.
install -dm700 "$pkgdir/var/lib/defined"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 15:51:02 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |