Reads the Content-Security-Policy header of a site's home
security_csp_evaluator_auditReads the Content-Security-Policy header of a site's home page and lists weak points: 'unsafe-inline' and 'unsafe-eval' in script sources, bare wildcards, data: or http: script sources, a missing default-src or script-src, and a missing policy altogether. Reports directives. Header only; a CSP in a meta tag is not read. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": {
"domain": "<domain>"
},
"name": "security_csp_evaluator_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name such as github.com (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | ||
| issues | No | ||
| source | No | ||
| present | No | ||
| checkedAt | No | ||
| directives | No | ||
| reportOnly | No |