Insecure postmessage

From zakirkun/ice-tea · View interactive version

Insecure postmessage is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects careless use of the HTML5 Web Messaging API (postMessage), such as sending messages to the generic '*' origin.

How to use this skill

Skill file

Insecure PostMessage Configuration

Overview

Detects careless use of the HTML5 Web Messaging API (postMessage), such as sending messages to the generic '*' origin.

Remediation

Always specify the exact target origin in window.postMessage(). When receiving messages, rigorously verify event.origin.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.