pfring-dkms

MEDIUM
maintainer reesewang 1 votes scanned 2026-09-17 00:27:14.276658
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-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 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
2026-08-29 00:29:17 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