🔒
AB-098
Content-Security-Policy header
🏗️ Infrastructure
Pillar: Verifiability
Moderate effort
Severity: high
Est. cost: $0
Gap: semantic
Fix: assisted
What it means
Your homepage returns a Content-Security-Policy header.
Why it matters
CSP prevents XSS and data injection attacks by restricting resource sources. Critical for agent security when loading external scripts.
Evidence expected
This rule is verified by:
http Source: Runtime probe
✗
What's wrong
No Content-Security-Policy header on responses.
✓
What's right
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'
Check this rule on your site
Enter your URL to check just this one rule (AB-001).
Related rules in Infrastructure
Machine-Readable
This rule is also available as JSON: /rules/AB-098.json
Explore More
-
All Rules
Browse the complete rules catalog
-
Agent Guide
Learn how to fix this rule
-
Blog
Related articles on agent readiness