security_wireguard_check
WireGuard Config Audit — Offline security audit of a WireGuard wg0.conf / wg-quick config (server or client, auto-detected; role= server|client to force). Checks key format (private and preshared keys are never echoed), private key pasted as a peer public key, duplicate peers, AllowedIPs overlap between peers (silent traffic hijack), any-source AllowedIPs on a multi-peer server, full-tunnel IPv6 and DNS leaks, bad Endpoint/ListenPort/MTU, SaveConfig, PostUp hooks that download or pipe to a shell, NAT rules not removed in PostDown, keepalive and missing PresharedKey. Returns PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, score, grade, findings with fixes, parsed settings and a hardened server+client example. Pass the file in text= (URL-encoded, newlines as %0A). 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_wireguard_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | [Interface] Address = 10.8.0.2/32 PrivateKey = YAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk= [Peer] PublicKey = xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg= Endpoint = vpn.example.com:51820 AllowedIPs = 0.0.0.0/0 |