Report-Sample-Injector: CSP Header Editor
Report-Sample-Injector is a Chrome addon developed by Emanuele Uliana. This free tool falls under the Browsers category, specifically in Add-ons & Tools. The main functionality of this addon is to enhance Content Security Policy (CSP) headers by adding missing 'report-sample' values for certain directives when a 'report-uri' endpoint is specified.
The addon automatically modifies incoming CSP headers to include 'report-sample' values for directives like 'script-src', 'style-src', and their variations, ensuring that violation reports sent to the 'report-uri' endpoint contain relevant code snippets. This feature aids developers in pinpointing the exact code causing policy violations, improving the clarity of violation reports for better debugging.