Csp-toolkit – Python library to parse, analyze, and find bypasses in CSP headers (chs.us)

12 points by bitscraper 3 days ago

1 comment:

by 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.

Data from: Hacker News, provided by Hacker News (unofficial) API