Cors misconfiguration

From zakirkun/ice-tea · View interactive version

Cors misconfiguration is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects insecure Cross-Origin Resource Sharing configurations that allow unauthorized cross-origin access.

How to use this skill

Skill file

CORS Misconfiguration

Overview

CORS misconfigurations allow attackers to make cross-origin requests that read sensitive API responses from a victim's browser. Common issues:

  1. Wildcard with credentials: Access-Control-Allow-Origin: * combined with credentials is rejected by browsers but misconfiguring the origin reflection is not
  2. Reflected origin: Origin header value reflected directly without validation
  3. Null origin: Allowing null origin (sandbox iframes)
  4. Subdomain wildcard: Allowing *.example.com which includes attacker-controlled subdomains

Remediation

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.