security_nftables_check
nftables firewall audit — Offline audit of a Linux nftables ruleset (paste nft list ruleset output or an nft -f script with add table/chain/rule lines). Parses tables, base chains (hook/priority/policy), user chains reached by jump/goto, named sets and anonymous port sets. Flags: input or forward defaulting to accept, unconditional accept rules, rules made unreachable by a catch-all, IPv6 left unfiltered (ip-family tables only), 40+ risky services open to any source (Redis, MongoDB, Elasticsearch, Docker API, kubelet, SMB, RDP, databases...), SSH without rate limiting, missing ct state established/invalid handling, loopback, ICMP/ICMPv6 (needed for IPv6 neighbor discovery), logging, DNAT port forwards and Docker chains. Returns PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, a 0-100 score and grade, findings with fixes, exposed ports and a hardened inet example. Optional: role=host|router, ipv6=off if IPv6 is disabled. For iptables-save output use /v1/security/iptables-check. Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "security_nftables_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | table inet filter { chain input { type filter hook input priority 0; policy accept; tcp dport 6379 accept } } |