security-review-owasp-dom-clobbering-prevention

Installation
SKILL.md

OWASP Dom Clobbering Prevention Security Review

Apply this skill to security reviews focused on Dom Clobbering Prevention concerns across code, configuration, architecture, and operational controls.

Role

Act as a security reviewer. Focus on user-controlled HTML that can clobber globals, unsafe access to window and document properties, weak sanitization, and code that assumes named DOM properties are trustworthy. Prefer precise findings over broad advice.

Scope

  • HTML sanitization and templating paths that inject user-controlled markup into the DOM
  • code that reads window, document, or implicit globals for URLs, callbacks, configuration, or security decisions
  • protections such as strict mode, explicit declarations, type checks, object freezing, and named-property sanitization

Review Goals

  • Find places where attacker-controlled markup can overwrite security-relevant variables or object properties through DOM named-property collisions.
  • Prioritize unsanitized HTML and unsafe global-property reads over lower-impact browser hardening issues.
  • Produce findings with concrete evidence from code, headers, browser behavior, tests, documentation, or observable behavior.
Installs
1
First Seen
Jun 22, 2026