What problem does it solve?
WebSocket is widely used for real-time application features like chat, notifications, and live data feeds, but many implementations have unvalidated Origin headers, missing authentication, unencrypted transport, and injectable message payloads that expose applications to session hijacking, data leaks, and remote code execution risks during authorized security testing.
Core Features & Use Cases
- CSWSH Detection: Tests for cross-site WebSocket hijacking by validating Origin header enforcement and session binding to prevent unauthorized channel access.
- Vulnerability Scanning: Identifies common flaws including missing handshake authentication, cleartext
ws:// transport, token leakage in URL query strings, and message injection vulnerabilities.
- Tooling Guidance: Provides instructions for using wsrepl, Burp Suite extensions, and other specialized tools to test WebSocket implementations effectively.
- Use Case: For security teams testing real-time chat platforms, notification systems, or WebSocket-backed APIs, this skill enables comprehensive validation of WebSocket security controls to prevent unauthorized access and sensitive data exposure.
Quick Start
Use the websocket-security skill to test the WebSocket endpoint at wss://your-target.com/ws for cross-site hijacking, missing authentication, and message injection flaws during your authorized security assessment.