pfring-dkms

maintainer reesewang · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt .deb from packages.ntop.org, which is ntop's official Debian/Ubuntu package repository (ntop is the legitimate vendor of PF_RING). This is not a random personal host — ntop.org is the upstream vendor and packages.ntop.org is their official distribution channel, analogous to how other vendors host their own apt/yum repos. The sha256sums are pinned, providing integrity verification against the specific binary. However, the concern is real in the sense that: (1) a prebuilt binary kernel module source package is being extracted and installed via DKMS, meaning compiled kernel code will be executed in ring 0; (2) the source is a binary .deb rather than source code from the canonical GitHub repo (https://github.com/ntop/PF_RING); (3) packages.ntop.org is an external binary host not under AUR/Arch infrastructure control. The sha256 pinning mitigates substitution attacks but not a compromised upstream release. This is a genuine supply-chain concern (prebuilt binary from vendor's own repo rather than building from source) but not clearly malicious — it is a common pattern for DKMS packages where the vendor distributes source via their package repo. Rating remains MEDIUM: real concern, not an attack.

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:13 source=("https://packages.ntop.org/apt-stable/bookworm/all/${pkgname}_${pkgver}_all.deb"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt .deb from packages.ntop.org, which is ntop's official Debian/Ubuntu package repository (ntop is the legitimate vendor of PF_RING). This is not a random personal host — ntop.org is the upstream vendor and packages.ntop.org is their official distribution channel, analogous to how other vendors host their own apt/yum repos. The sha256sums are pinned, providing integrity verification against the specific binary. However, the concern is real in the sense that: (1) a prebuilt binary kernel module source package is being extracted and installed via DKMS, meaning compiled kernel code will be executed in ring 0; (2) the source is a binary .deb rather than source code from the canonical GitHub repo (https://github.com/ntop/PF_RING); (3) packages.ntop.org is an external binary host not under AUR/Arch infrastructure control. The sha256 pinning mitigates substitution attacks but not a compromised upstream release. This is a genuine supply-chain concern (prebuilt binary from vendor's own repo rather than building from source) but not clearly malicious — it is a common pattern for DKMS packages where the vendor distributes source via their package repo. Rating remains MEDIUM: real concern, not an attack.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Reese Wang <thuwrx10 at gmail dot com>
2
3pkgname=pfring-dkms
4_pkgname=${pkgname%-dkms}
5pkgver=8.6.1.8976
6pkgrel=1
7pkgdesc="High-speed packet processing framework"
8url="https://github.com/ntop/PF_RING"
9arch=('any')
10depends=('numactl' 'dkms')
11
12provides=("PFRING-MODULE=${pkgver}")
13source=("https://packages.ntop.org/apt-stable/bookworm/all/${pkgname}_${pkgver}_all.deb"
14 "0001-subdirs-to-m.patch")
15sha256sums=('5d805777cca322fe2749568483a8541d4c311dbacfeb34caec6b2ff22d502848'
16 'cfa0074ea07bf19b7476714092ed1031ded4c4089919628e3caf3308608d20d6')
17
18
19prepare() {
20 cd "${srcdir}"
21
22 tar xvf data.tar.xz
23
24 chmod 755 "usr/src/${_pkgname}-${pkgver}"
25 chmod 755 "usr/src/${_pkgname}-${pkgver}/linux"
26 chmod 755 "usr/src/${_pkgname}-${pkgver}/pfring-dkms-mkdeb"
27 chmod 755 "usr/src/${_pkgname}-${pkgver}/pfring-dkms-mkdeb/debian"
28
29 patch --forward --strip=1 --input=0001-subdirs-to-m.patch
30 rm -rf usr/share \
31 usr/src/pfring-8.6.1.8976/pfring-dkms-mkdeb/
32}
33
34package() {
35 cp -r "${srcdir}/usr" "${pkgdir}"
36}
37

Scan history

Scanned at (UTC)SeverityRules
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 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
2026-07-15 00:09:25 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