dnclient
maintainer DefinedNet
· 1 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
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; 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
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; 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
1
# Maintainer: Defined Networking, Inc. <support@defined.net>
2
pkgname=dnclient
3
pkgver=0.9.7
4
pkgrel=1
5
pkgdesc="Managed Nebula client for Defined Networking overlay networks"
6
arch=('x86_64' 'aarch64')
7
url="https://www.defined.net"
8
license=('LicenseRef-Proprietary')
9
backup=('etc/conf.d/dnclient')
10
install=dnclient.install
11
options=('!strip' '!debug')
12
13
source=('dnclient.service'
14
'dnclient@.service'
15
'dnclient.confd'
16
'LICENSE')
17
source_x86_64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_amd64.deb")
18
source_aarch64=("https://dl.defined.net/stable/apt/dnclient/dnclient_${pkgver}_arm64.deb")
19
noextract=("dnclient_${pkgver}_amd64.deb"
20
"dnclient_${pkgver}_arm64.deb")
21
sha256sums=('ebc3679e59c50233f81be93de9232928adcd6c2b9a37d19ca8bb3614c3d55e3f'
22
'dce83e9fdb6cf1b2e42b726f768afea556af42472b428a2da839cbc64b5abf37'
23
'ecdce0108e62d88853513bc5ec0e95601293558bc16738f7e2cbcf174ffd0d74'
24
'7f753320cbb045dd01674a227acb69368baa92dfb3da50bcd4a9c5598bcb8d7c')
25
sha256sums_x86_64=('b51f39d0da680a1cf41cef4d75824bccd31fc8da355876044d54141d63cdca8e')
26
sha256sums_aarch64=('4246a4f101216a3e8e7486b5e92123ea5e39b1d17f02aae383f2fa214fd5966d')
27
28
case "$CARCH" in
29
x86_64) _debarch=amd64 ;;
30
aarch64) _debarch=arm64 ;;
31
esac
32
33
prepare() {
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
49
package() {
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-07-31 00:14+++ PKGBUILD @ 2026-08-03 00:08@@ -1,6 +1,6 @@ # Maintainer: Defined Networking, Inc. <support@defined.net> pkgname=dnclient-pkgver=0.9.5+pkgver=0.9.7 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=('754b7890f986c01bb8a3b40a6be59a0ed90846aeb22129a4ef26f0695e62874b')-sha256sums_aarch64=('788806311f96e044c8c63af1f9f5a9a6d2b634ade3cb040c3aa65c5e3573baf1')+sha256sums_x86_64=('b51f39d0da680a1cf41cef4d75824bccd31fc8da355876044d54141d63cdca8e')+sha256sums_aarch64=('4246a4f101216a3e8e7486b5e92123ea5e39b1d17f02aae383f2fa214fd5966d') case "$CARCH" in x86_64) _debarch=amd64 ;;Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 19:18:43 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 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 |