nym-vpnd
maintainer nym
· 2 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package installs a setuid binary (nym-exclude) which grants elevated privileges, a legitimate requirement for some network tools but a potential security risk if misused or compromised.
Triggered rules
MEDIUM
Privileged / out-of-pacman install (sudoers, setuid, or self-update)
privileged_install
The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.
-
PKGBUILD:57
chmod u+s "$pkgdir/usr/bin/nym-exclude"
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package installs a setuid binary (nym-exclude) which grants elevated privileges, a legitimate requirement for some network tools but a potential security risk if misused or compromised.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Nym <ops@nymte.ch>
2
# Maintainer: Andrej Mihajlov <andrej@nymtech.net>
3
# Maintainer: Lawrence Stalder <lawrence.stalder@pm.me>
4
# Contributor: Pierre Dommerc <pierre@nymtech.net>
5
6
pkgname=nym-vpnd
7
pkgver=2026.11.3
8
pkgrel=1
9
pkgdesc='NymVPN daemon as a systemd service'
10
arch=('x86_64' 'aarch64')
11
url='https://github.com/nymtech/nym-vpn-client'
12
license=('GPL-3.0-only')
13
depends=('glibc' 'gcc-libs' 'dbus' 'libmnl' 'libnftnl' 'polkit')
14
makedepends=('rust' 'cargo' 'go' 'protobuf')
15
provides=('nym-vpnd' 'nym-exclude' 'nym-socks5-proxy')
16
conflicts=('nym-vpnd')
17
options=(!debug)
18
source=("$url/archive/refs/tags/nym-vpn-v2026.11.3.tar.gz" 'nym-vpnd.service')
19
sha256sums=(e5e61f7a3b44078f2695730995c226ec0d822124871c2493dee8e8f5b7c1ab4a 66d5b043cbef2ae0ba19cc7685c7b42808515b8b520b0dd15a0c313ca039f6d6)
20
_srcdir="nym-vpn-client-nym-vpn-v2026.11.3"
21
22
prepare() {
23
pushd "$_srcdir"
24
# remove unused sources
25
rm -rf nym-vpn-android
26
rm -rf nym-vpn-apple
27
rm -rf nym-vpn-app
28
rm -rf nym-vpn-windows
29
popd
30
}
31
32
build() {
33
pushd "$_srcdir"
34
35
# build wireguard-go
36
pushd wireguard
37
./build-wireguard-go.sh
38
popd
39
40
pushd nym-vpn-core
41
# 1. sqlx does not support LTO build flag, which is enabled by default in Arch
42
# set the C flag -ffat-lto-objects to solve the issue
43
# see https://github.com/launchbadge/sqlx/issues/3149
44
#
45
# 2. aws-lc-sys v0.38: build issues related to optimizations (fixed in newer versions)
46
# see: https://github.com/aws/aws-lc-rs/pull/1064
47
CFLAGS+=" -ffat-lto-objects -O0" cargo build --release --locked
48
popd
49
50
popd # _srcdir
51
}
52
53
package() {
54
pushd "$_srcdir/nym-vpn-core/target/release"
55
install -Dm755 "nym-vpnd" "$pkgdir/usr/bin/nym-vpnd"
56
install -Dm755 "nym-exclude" "$pkgdir/usr/bin/nym-exclude"
57
chmod u+s "$pkgdir/usr/bin/nym-exclude"
58
install -Dm755 "nym-socks5-proxy" "$pkgdir/usr/bin/nym-socks5-proxy"
59
popd
60
61
install -Dm644 nym-vpnd.service "$pkgdir/usr/lib/systemd/system/nym-vpnd.service"
62
}
63
Changes since previous scan
--- PKGBUILD @ 2026-07-21 00:24+++ PKGBUILD @ 2026-08-03 00:08@@ -4,7 +4,7 @@ # Contributor: Pierre Dommerc <pierre@nymtech.net> pkgname=nym-vpnd-pkgver=2026.11.1+pkgver=2026.11.3 pkgrel=1 pkgdesc='NymVPN daemon as a systemd service' arch=('x86_64' 'aarch64')@@ -15,9 +15,9 @@ provides=('nym-vpnd' 'nym-exclude' 'nym-socks5-proxy') conflicts=('nym-vpnd') options=(!debug)-source=("$url/archive/refs/tags/nym-vpn-v2026.11.1.tar.gz" 'nym-vpnd.service')-sha256sums=(0bdf8117e471aa814b2d34549edbc9c846ee13baaa95a8d8f03767f829207cf0 66d5b043cbef2ae0ba19cc7685c7b42808515b8b520b0dd15a0c313ca039f6d6)-_srcdir="nym-vpn-client-nym-vpn-v2026.11.1"+source=("$url/archive/refs/tags/nym-vpn-v2026.11.3.tar.gz" 'nym-vpnd.service')+sha256sums=(e5e61f7a3b44078f2695730995c226ec0d822124871c2493dee8e8f5b7c1ab4a 66d5b043cbef2ae0ba19cc7685c7b42808515b8b520b0dd15a0c313ca039f6d6)+_srcdir="nym-vpn-client-nym-vpn-v2026.11.3" prepare() { pushd "$_srcdir"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 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 09:16:42 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |