Verify `message` event origins
`message` handlers should validate `event.origin` before trusting cross-window data.
#Metadata
#Why it matters
Without an origin check, hostile pages can post crafted messages into the handler.
#Remediation
Gate the handler on a strict allowlist of expected origins before reading `event.data`.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.missing-message-origin-check.rule.yaml.