DiffCSP: Finding Browser Bugs in Content Security Policy Enforcement through Differe...
summary
DiffCSP builds a grammar-based HTML generator that produces 2,880 test pages and 16 CSPs, runs them across eight browsers using differential testing, and groups inconsistent outcomes with decision tree clustering to pinpoint root causes. It uncovers 37 enforcement bugs (29 security, 8 functional), attributes failures to things like incorrect CSP inheritance and hash handling, and helps patch 12 security bugs in major browsers; the framework therefore reliably finds real-world CSP bypasses.
AI-written summary · about
