nftables-fullcone
maintainer orphaned
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds nftables from its official source and applies a single patch from a GitHub user's repository; the patch modifies the software but is applied transparently and the main source remains verifiable via PGP signature, making the risk low despite the non-standard host for the patch.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds nftables from its official source and applies a single patch from a GitHub user's repository; the patch modifies the software but is applied transparently and the main source remains verifiable via PGP signature, making the risk low despite the non-standard host for the patch.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:19
source=("https://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.xz"{,.sig}
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org>
2
3
pkgname=nftables-fullcone
4
_pkgname=nftables
5
epoch=1
6
pkgver=1.0.9
7
pkgrel=1
8
pkgdesc='Netfilter tables userspace tools (with fullcone patch)'
9
arch=('x86_64')
10
url='https://netfilter.org/projects/nftables/'
11
license=('GPL2')
12
depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses' 'jansson')
13
optdepends=('python: Python bindings')
14
makedepends=('asciidoc' 'python')
15
backup=('etc/nftables.conf')
16
provides=('nftables')
17
conflicts=('nftables')
18
validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
19
source=("https://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.xz"{,.sig}
20
'nftables.conf'
21
'nftables.service'
22
'https://github.com/wongsyrone/lede-1/raw/master/package/network/utils/nftables/patches/999-01-nftables-add-fullcone-expression-support.patch')
23
install=nftables.install
24
sha256sums=('a3c304cd9ba061239ee0474f9afb938a9bb99d89b960246f66f0c3a0a85e14cd'
25
'SKIP'
26
'2aff88019097d21dbfa4713f5b54c184751c86376e458b683f8d90f3abd232a8'
27
'deffeef36fe658867dd9203ec13dec85047a6d224ea63334dcf60db97e1809ea'
28
'e02fe489a2f1c431911fa574c1009493464810a4ca00377a291bfc53d95be9f5')
29
30
prepare() {
31
cd $_pkgname-$pkgver
32
# apply patch from the source array (should be a pacman feature)
33
local src
34
for src in "${source[@]}"; do
35
src="${src%%::*}"
36
src="${src##*/}"
37
[[ $src = *.patch ]] || continue
38
msg2 "Applying patch $src..."
39
patch -Np1 < "../$src"
40
done
41
:
42
}
43
44
build() {
45
cd $_pkgname-$pkgver
46
./configure \
47
--prefix=/usr \
48
--sbindir=/usr/bin \
49
--sysconfdir=/usr/share \
50
--with-json \
51
--with-cli=readline \
52
--disable-python \
53
--disable-debug
54
make
55
56
# Building the Python module separately due to the automatic build resulting
57
# in an incorrect directory structure and unimportable module (see FS#79229)
58
cd py
59
python -m build --wheel --no-isolation
60
}
61
62
package() {
63
pushd $_pkgname-$pkgver
64
make DESTDIR="$pkgdir" install
65
python -m installer --destdir="$pkgdir" py/dist/*.whl
66
popd
67
# basic safe firewall config
68
install -Dm644 nftables.conf "$pkgdir/etc/nftables.conf"
69
# systemd
70
install -Dm644 nftables.service "$pkgdir/usr/lib/systemd/system/nftables.service"
71
}
72
73
# vim:set ts=2 sw=2 et:
74
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |