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. Related tools on this server, for a different need: security_referrer_policy_audit when you need to read a site's Referrer-Policy header and its <meta; security_bimi_record_audit when you need to read a domain's BIMI record: whether it is published. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); 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 |