Abusing Bleeding Edge Web Standards for Appsec Glory
summary
Built a tiny library that adds an X-SRI-fallback attribute so third‑party scripts can fallback to a local copy (SRI fallback), demonstrates injecting CSP via meta tags to remove unsafe‑inline after preload (CSP meta hardening), and shows an HPKP pattern that intentionally rekeys to brick server connections so browsers serve a cached service‑worker copy (HPKP suicide). Demos include a Chrome same‑origin SRI caching bug that nets ~$2k, a 32‑subdomain HPKP “supercookie” reconstructing a 32‑bit ID, and mitigation notes: max‑age capped ~60 days, CAA records, and Let’s Encrypt rate limits (5–20/week).
AI-written summary · about
chapters (11)
- 0:00Start
- 3:47Content Security Policy
- 6:34Ssri Fallback
- 9:06Csp Metal Hardening
- 17:40Browser Code Signing
- 22:50Web Content Gateways
- 25:05User Tracking
- 25:17Prereqs
- 25:53Rapid Key Rotation
- 26:22General Setup
- 38:55Mitigations for Hosts
related talks
59mThe Final Frontier: Security APIs in Modern Browsers
40mHostile JavaScript: Attacking and Defending the Browser
33mHacking The Front-End
23mJavaScript attack surface
18mWriting an (in)secure webapp
40mContent Security Policy to the Rescue
44mCache Me If You Can: Messing with Web Caching
42mModern web application bugs
