Violation reporting is configured
Why it matters
Without CSP violation reporting, you have no signal when your extension's security policy is being actively exercised — either by legitimate-but-unexpected resource loads during development, or by an attacker probing injection paths in the wild. NIST SP 800-53 SI-7 (Software, Firmware, and Information Integrity) requires detective controls to surface policy violations. A report-uri or report-to endpoint gives you an event stream of blocked requests, which is the only way to distinguish a misconfigured CSP from an ongoing attack attempt. This is an observability gap, not a direct vulnerability — but the absence of signal means breaches go undetected longer.
Severity rationale
Info because absence of violation reporting does not directly increase attack surface, but eliminates the detective control needed to identify active exploitation or CSP misconfiguration in production.
Remediation
Add a report-uri endpoint to your CSP in manifest.json. Any HTTPS endpoint that accepts a POST with Content-Type: application/csp-report will work — services like Report URI or your own logging endpoint.
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'none'; report-uri https://csp.yourdomain.com/report"
}
For modern browsers, prefer report-to with a named reporting group, though report-uri has wider compatibility across extension-hosting surfaces.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Extension Permissions & Security Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- nist:rev5 · SI-7 — Software, Firmware, and Information Integrity
- iso-25010:2011 · reliability.maturity — Maturity — CSP violation reports expose policy enforcement signals
Taxons
History
- 2026-04-18·v1.0.0·Initial import from extension-permissions-security·automated