api-20-sse-security
Installation
SKILL.md
SSE (Server-Sent Events) — API Offensive Methodology
Quick Workflow
- Find EventSource /events endpoints in page source
- Test CORS on SSE endpoint — cross-origin read possible
- Enumerate event IDs for data leakage
- Test connection injection via custom event types
Detection
Unsafe CORS on SSE
new EventSource('https://target.com/events', {withCredentials: true})