Artful Defense: Let's Sketch Web Security
summary
Live sketch notes map front-end risks to concrete fixes: Vue auto-escapes templates but CVEs have hit i18n prototype pollution so frameworks are not a full defense; supply-chain compromises (typo-squatting, malicious npm packages) and LLM-generated RegEx leading to ReDoS are common. Recommended actions include Dependabot + RetireJS/dependency-cruiser scans, vet AI code, sanitize HTML with DOMPurify and sanitize URLs, enforce JWT-backed server access control (use router guards only as UX), and deploy strict Content-Security-Policy headers.
AI-written summary · about
chapters (12)
- 0:00Introduction to web security
- 1:30Frameworks as first defense
- 3:57Supply chain vulnerabilities
- 7:58Mitigating dependency risks
- 10:24OWASP and security resources
- 11:54Access control mechanisms
- 14:43Cross-site scripting threats
- 18:22Sanitizing user input
- 19:24UI spoofing and clickjacking
- 21:37Content Security Policy
- 24:05Summary and best practices
- 26:30Q&A session
