Csp-toolkit – Python library to parse, analyze, and find bypasses in CSP headers

chs.us

12 points by bitscraper 4 days ago


thitami - 3 days ago

CSP headers are one of those things that look simple until you actually audit them. The bypass detection is the useful part — I've seen plenty of Laravel apps with a CSP that looks reasonable until you notice it allows unsafe-inline because someone needed a quick fix three years ago and nobody noticed. Does it handle report-uri vs report-to differences? The migration between those two has caught a few teams I've worked with off guard.

- 4 days ago
[deleted]