Skip to content

Securing Frontends at Scale: Paving Our Way to Post-XSS World

Jen OzmenAaron Shim

Google's engineering blueprint for eliminating cross-site scripting at scale using compile-time and runtime frontend protections.

Summary

Evolving Beyond Cross-Site Scripting

Cross-site scripting (XSS) remains one of the most persistent classes of web application vulnerabilities. Eliminating XSS across massive codebases requires systemic architectural defenses rather than relying solely on developer vigilance.

Compile-Time and Runtime Protections at Google

Google implemented integrated compile-time type enforcement and runtime sanitization mechanisms across hundreds of products serving billions of users. These automated guardrails prevent injection flaws by design while maintaining developer productivity.

Lessons for Large-Scale Frontend Defense

Deploying scalable frontend security frameworks provides key insights into API design, deprecation strategies, and the technical roadmap toward a post-XSS web platform.

Related talks