{"id":"security.csp-audit","version":"1.0.0","category":"security","description":"Parse a supplied Content Security Policy and flag selected risky or missing directives.","priceMicroUsdc":0,"priceRevision":"2026-10-06-free-validation","pricingStatus":"free-validation","inputSchema":{"type":"object","properties":{"policy":{"type":"string","maxLength":16000}},"required":["policy"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"directives":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}}},"required":["name","sources"],"additionalProperties":false}},"findings":{"type":"array","items":{"type":"object","properties":{"rule":{"type":"string"},"severity":{"type":"string"},"message":{"type":"string"}},"required":["rule","severity","message"],"additionalProperties":false}},"scope":{"type":"string"}},"required":["directives","findings","scope"],"additionalProperties":false},"example":{"policy":"default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'"},"limits":{"inputBytes":131072,"outputBytes":65536,"networkTimeoutMs":0},"network":false,"sensitive":false,"route":"/v1/tools/security.csp-audit","priceMicroUsd":0,"exampleUrl":"https://agent-utilities.agent-utilities.workers.dev/v1/content/examples/security.csp-audit","page":"https://agent-utilities.agent-utilities.workers.dev/tools/security.csp-audit","execution":{"method":"POST","url":"https://agent-utilities.agent-utilities.workers.dev/v1/tools/security.csp-audit","requiredHeaders":{"Content-Type":"application/json"},"authentication":"none","paymentRequired":false,"chargedMicroUsd":"0","scope":"All available hosted tools are free during validation. Existing input, output and source-access limits apply. Full tools and the combined report share capacity limits that count attempts, including failed executions and marked checks; they are not per-user allowances. No account, API key, wallet or funding is needed. Existing credit balances are preserved. Live Reddit remains unavailable until configured. Paid billing will not resume automatically."}}