web-21-postmessage

Installation
SKILL.md

postMessage — Web Offensive Methodology

Quick Workflow

  1. Find window.addEventListener('message', ...) handlers in JS source
  2. Check if origin is validated (event.origin === 'https://target.com')
  3. If no origin check or wildcard: craft cross-origin iframe that sends malicious messages
  4. If handler sinks to innerHTML, eval(), location =, or URL fetch → XSS

Detection

Search for Vulnerable Patterns

Installs
1
GitHub Stars
6
First Seen
Nov 16, 2026