Skip to main content

Harshal V. LADHE

Trusted Types

The Trusted Types API and CSP directives that make DOM and script injection sinks accept only values created by a reviewed policy.

Content tagged trusted-types

  • Post:Trusted Types and eval: The Dynamic Code Brand Checks Proposal

    Guard eval and new Function with Trusted Types
    Why eval and new Function are risky, how Trusted Types and CSP contain them, and what the Stage 3 Dynamic Code Brand Checks proposal changes. Not in ES2027 yet.
    Published at:
    Categories:JavaScript
    Estimated reading time:16 min read