dnclient

MEDIUM
maintainer DefinedNet 1 votes scanned 2026-09-17 00:27:14.276658
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>
2pkgname=dnclient
3pkgver=0.9.7
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=('b51f39d0da680a1cf41cef4d75824bccd31fc8da355876044d54141d63cdca8e')
26sha256sums_aarch64=('4246a4f101216a3e8e7486b5e92123ea5e39b1d17f02aae383f2fa214fd5966d')
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

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion