dnclient

MEDIUM
maintainer DefinedNet 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads prebuilt .deb binaries from a non-whitelisted host (dl.defined.net), which are then extracted and installed; this constitutes an unverifiable supply-chain risk as the binaries are not built from source and could be replaced by a malicious actor controlling the host.

Triggered rules

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:17 source_x86_64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_amd64.deb")
Medium AI review 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; this constitutes an unverifiable supply-chain risk as the binaries are not built from source and could be replaced by a malicious actor controlling the host.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Defined Networking, Inc. <support@defined.net>
2pkgname=dnclient
3pkgver=0.9.10
4pkgrel=1
5pkgdesc="Managed Nebula client for Defined Networking overlay networks"
6arch=('x86_64' 'aarch64')
7url="https://www.defined.net"
8license=('LicenseRef-Proprietary')
9backup=('etc/conf.d/dnclient')
10install=dnclient.install
11options=('!strip' '!debug')
12
13source=('dnclient.service'
14 'dnclient@.service'
15 'dnclient.confd'
16 'LICENSE')
17source_x86_64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_amd64.deb")
18source_aarch64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_arm64.deb")
19noextract=("dnclient_${pkgver}_amd64.deb"
20 "dnclient_${pkgver}_arm64.deb")
21sha256sums=('ebc3679e59c50233f81be93de9232928adcd6c2b9a37d19ca8bb3614c3d55e3f'
22 'dce83e9fdb6cf1b2e42b726f768afea556af42472b428a2da839cbc64b5abf37'
23 'ecdce0108e62d88853513bc5ec0e95601293558bc16738f7e2cbcf174ffd0d74'
24 '7f753320cbb045dd01674a227acb69368baa92dfb3da50bcd4a9c5598bcb8d7c')
25sha256sums_x86_64=('fd8f87c90140ca2d5c095b679e34f8df19b5f15211a33fed3aaf426260fe0bde')
26sha256sums_aarch64=('313ec0e101441bfd48617b9494ae28b4ce2ab9a93d8333657335e97b65c3b5f4')
27
28case "$CARCH" in
29 x86_64) _debarch=amd64 ;;
30 aarch64) _debarch=arm64 ;;
31esac
32
33prepare() {
34 mkdir -p deb
35 bsdtar -xOf "dnclient_${pkgver}_${_debarch}.deb" 'data.tar.*' | bsdtar -xf - -C deb
36 # The deb man page references Debian paths in its FILES section.
37 gunzip -f deb/usr/share/man/man1/dnclient.1.gz
38 sed -i \
39 -e 's|/etc/default/dnclient|/etc/conf.d/dnclient|g' \
40 -e 's|/lib/systemd/system/|/usr/lib/systemd/system/|g' \
41 deb/usr/share/man/man1/dnclient.1
42 grep -q '/etc/conf.d/dnclient' deb/usr/share/man/man1/dnclient.1
43 grep -q '/usr/lib/systemd/system/' deb/usr/share/man/man1/dnclient.1
44 # The unit-path sed matches a substring of the /usr form; if the deb man
45 # page ever moves to /usr/lib itself, it would double the prefix.
46 ! grep -q '/usr/usr/' deb/usr/share/man/man1/dnclient.1
47}
48
49package() {
50 install -Dm755 deb/usr/bin/dnclient "$pkgdir/usr/bin/dnclient"
51 install -Dm644 deb/usr/share/man/man1/dnclient.1 "$pkgdir/usr/share/man/man1/dnclient.1"
52 # -n keeps the gzip header free of filename/mtime for reproducible builds.
53 gzip -9n "$pkgdir/usr/share/man/man1/dnclient.1"
54 install -Dm644 dnclient.service "$pkgdir/usr/lib/systemd/system/dnclient.service"
55 install -Dm644 dnclient@.service "$pkgdir/usr/lib/systemd/system/dnclient@.service"
56 install -Dm644 dnclient.confd "$pkgdir/etc/conf.d/dnclient"
57 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
58 # Persistent state directory, kept in the package so pacman creates it
59 # with the right mode before the first service start.
60 install -dm700 "$pkgdir/var/lib/defined"
61}
62

Changes since previous scan

--- PKGBUILD @ 2026-10-22 00:13
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,6 +1,6 @@
# Maintainer: Defined Networking, Inc. <support@defined.net>
pkgname=dnclient
-pkgver=0.9.9
+pkgver=0.9.10
pkgrel=1
pkgdesc="Managed Nebula client for Defined Networking overlay networks"
arch=('x86_64' 'aarch64')
@@ -22,8 +22,8 @@
'dce83e9fdb6cf1b2e42b726f768afea556af42472b428a2da839cbc64b5abf37'
'ecdce0108e62d88853513bc5ec0e95601293558bc16738f7e2cbcf174ffd0d74'
'7f753320cbb045dd01674a227acb69368baa92dfb3da50bcd4a9c5598bcb8d7c')
-sha256sums_x86_64=('0b8a4513d568f783a9b35b4c36c46d9680affed1ce69b67e7332846a763458f4')
-sha256sums_aarch64=('48ae05df13569e07772088fd7a7494907e101375212123992cf78d4a8a091814')
+sha256sums_x86_64=('fd8f87c90140ca2d5c095b679e34f8df19b5f15211a33fed3aaf426260fe0bde')
+sha256sums_aarch64=('313ec0e101441bfd48617b9494ae28b4ce2ab9a93d8333657335e97b65c3b5f4')
case "$CARCH" in
x86_64) _debarch=amd64 ;;

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 21:36:17 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion