security_nginx_check
nginx config security audit — Parse an nginx config and flag security problems: alias off-by-slash path traversal, weak TLS protocols and ciphers, autoindex, proxy_pass built from request data (SSRF), $uri CRLF redirects, PHP locations without try_files, root /, permissive CORS, missing HSTS / X-Frame-Options / nosniff per server, plain HTTP without redirect, server_tokens, add_header inheritance traps. Pass text= (config) or url= (raw file). Returns PASS/REVIEW/FAIL, score, grade, findings with line numbers and fixes, and a per-server summary. Offline. 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_nginx_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | server { listen 80; location /static { alias /var/www/static/; autoindex on; } } |