security_csp_check
CSP analyzer — Grade a Content-Security-Policy (pass the header value or a URL to fetch it): unsafe-inline/unsafe-eval, wildcard and scheme sources, CDN allowlists with known bypass gadgets, missing object-src/base-uri/frame-ancestors/form-action, typos, reporting. Returns A-F grade, findings with fixes, and a strong recommended policy. Price: $0.003 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": {
"csp": "<csp>"
},
"name": "security_csp_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csp | Yes | Content-Security-Policy header value (csp or url required) | |
| url | No | Page URL to fetch the header from (optional) |