via

maintainer sparques · 3 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD downloads a prebuilt RPM binary (a VPN client) from h30326.www3.hpe.com, which is an HPE/Aruba distribution host. HPE/Aruba is the legitimate vendor of the VIA VPN client, and the maintainer's email (@hpe.com) is consistent with this. The URL includes a merchantId parameter suggesting it's an authorized distribution channel. However, the source is a prebuilt binary RPM that gets directly installed — not compiled from source — and the host is not the canonical upstream download page (which is asp.arubanetworks.com per the url= field). The sha256sum is provided but cannot be independently cross-validated against an official manifest. The package also sets SUID on via-vpn-srv (chmod o+s), which is a privilege escalation vector if the binary is compromised. This is a legitimate vendor binary VPN client distributed via a CDN/mirror host rather than the official product page, which constitutes a real supply-chain concern: if the HPE CDN host were compromised or the URL were hijacked, a malicious binary would be installed with SUID privileges. This warrants MEDIUM severity — it's not clearly malicious but represents a genuine executed-binary-from-unofficial-host risk.

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:24 source=("https://h30326.www3.hpe.com/hpn/via-${pkgver}-rpm.x86_64.rpm?merchantId=ASP_DROPBOX")
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:48 chmod o+s "${pkgdir}/usr/bin/via-vpn-srv"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD downloads a prebuilt RPM binary (a VPN client) from h30326.www3.hpe.com, which is an HPE/Aruba distribution host. HPE/Aruba is the legitimate vendor of the VIA VPN client, and the maintainer's email (@hpe.com) is consistent with this. The URL includes a merchantId parameter suggesting it's an authorized distribution channel. However, the source is a prebuilt binary RPM that gets directly installed — not compiled from source — and the host is not the canonical upstream download page (which is asp.arubanetworks.com per the url= field). The sha256sum is provided but cannot be independently cross-validated against an official manifest. The package also sets SUID on via-vpn-srv (chmod o+s), which is a privilege escalation vector if the binary is compromised. This is a legitimate vendor binary VPN client distributed via a CDN/mirror host rather than the official product page, which constitutes a real supply-chain concern: if the HPE CDN host were compromised or the URL were hijacked, a malicious binary would be installed with SUID privileges. This warrants MEDIUM severity — it's not clearly malicious but represents a genuine executed-binary-from-unofficial-host risk.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Matthew Hiles <matthew.hiles@hpe.com>
2pkgname=via
3pkgver=4.6.0.2305302
4pkgrel=1
5epoch=
6pkgdesc="Aruba Networks' Virtual Intranet Access (VIA)"
7arch=('x86_64')
8url="https://asp.arubanetworks.com/downloads;fileTypes=SOFTWARE;products=Aruba%20Virtual%20Intranet%20Access%20%28VIA%29;fileContents=Linux"
9license=('unknown') # have not been able to find this
10groups=()
11# auto generated dpends might be excessive...
12depends=(net-tools brotli bzip2 dbus double-conversion e2fsprogs freetype2 gcc-libs glib2 glibc graphite harfbuzz icu keyutils krb5 libcap libffi libgcrypt libglvnd libgpg-error libnm libpng libproxy libx11 libxau libxcb libxdmcp libxml2 lz4 md4c nspr nss openssl pcre pcre2 qt5-base systemd-libs tdb util-linux-libs xz zlib zstd)
13makedepends=()
14checkdepends=()
15optdepends=(networkmanager)
16provides=()
17conflicts=()
18replaces=()
19backup=()
20options=()
21install=
22changelog=
23options=(!strip)
24source=("https://h30326.www3.hpe.com/hpn/via-${pkgver}-rpm.x86_64.rpm?merchantId=ASP_DROPBOX")
25noextract=()
26sha256sums=('75f1a8c9ffd8ac3b62434a24188789a3135ae328ce482427df59a625e6784026')
27validpgpkeys=()
28
29prepare() {
30 cd "$srcdir"
31 ## Make work with arch's root fs layout
32 cd usr
33 mv lib64/* lib
34 rmdir lib64
35 cd ..
36 ## fix up some file conflicts with via (the QMK keyboard configurator)
37 find -name via.png -execdir mv {} anvia.png \;
38 mv usr/share/applications/via.desktop usr/share/applications/anvia.desktop
39 sed -i -e 's/Icon=via/Icon=anvia/' usr/share/applications/anvia.desktop
40}
41
42package() {
43 #cd "$pkgname-$pkgver"
44 cp -R "$srcdir/usr" "$srcdir/etc" "$pkgdir/"
45 cp -R "$srcdir/lib64/security" "$pkgdir/usr/lib/"
46 mkdir -p "$pkgdir/usr/lib/systemd/system/"
47 cp "${srcdir}/../via-vpn-srv.service" "$pkgdir/usr/lib/systemd/system/"
48 chmod o+s "${pkgdir}/usr/bin/via-vpn-srv"
49 ## autostart by default is bad :|
50 rm "${pkgdir}/etc/xdg/autostart/via-auto.desktop"
51 rmdir "${pkgdir}/etc/xdg/autostart"
52 rmdir "${pkgdir}/etc/xdg"
53 #rpmextract.sh ../$pkgname-$pkgver*.rpm*
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 3
2026-08-02 00:16:08 MEDIUM 3
2026-08-01 00:11:18 MEDIUM 3
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 00:17:23 MEDIUM 3
2026-07-29 00:25:53 MEDIUM 3
2026-07-28 00:07:28 MEDIUM 3
2026-07-27 00:24:32 MEDIUM 3
2026-07-26 00:07:32 MEDIUM 3
2026-07-25 00:13:44 MEDIUM 3
2026-07-24 00:02:28 MEDIUM 3
2026-07-23 00:14:47 MEDIUM 3
2026-07-22 00:29:32 MEDIUM 3
2026-07-21 00:24:15 MEDIUM 3
2026-07-20 00:19:49 MEDIUM 3
2026-07-19 00:17:08 MEDIUM 3
2026-07-18 00:14:48 MEDIUM 3
2026-07-17 00:06:16 MEDIUM 3
2026-07-16 00:05:41 MEDIUM 3
2026-07-15 00:09:25 MEDIUM 3

Report a package

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

0 / 4000
Your suggestion