{"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":500,"priceRevision":"2026-09-13-testnet","pricingStatus":"experimental-unbenchmarked","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"}