πŸ•ΈοΈ
QualityTypeScript

WebSocket Security Testing

by CyberStrikeus

WebSocket Security Testing is a Quality skill for Claude Code, published by CyberStrikeus in CyberStrike.

1.7K stars269 forkson CyberStrikeus/CyberStrikeAdded 2026/08/12+4% in starsRepository updated 2026/08/12
aiai-agentai-securitybug-bountycybersecuritydevsecopsethical-hackinghackinghacking-toolllmmcpmcp-servermitre-attackoffensive-securityowasppenetration-testingpentestred-teamsecuritysecurity-tools
Install in seconds
Install WebSocket Security Testing
Copy WebSocket Security Testing into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CyberStrikeus/CyberStrike/tree/main/.cyberstrike/skill/attack-websocket ~/.claude/skills/attack-websocket

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CyberStrikeus/CyberStrike.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.cyberstrike/skill/attack-websocket/SKILL.md in CyberStrikeus/CyberStrike
Installs to
~/.claude/skills/attack-websocket
Collection
One of 51 skills cataloged from this repository
Category
Quality β€” 1354 skills

What WebSocket Security Testing does

WebSocket Security Testing checks WebSocket endpoints for CSWSH, message injection, and authentication bypass. Use it when validating origin checks, session handling, and message handling in a WebSocket app.

WebSocket Security Testing is cataloged under Quality on DirSkills. WebSocket Security Testing comes from a repository tagged ai, ai-agent, ai-security, bug-bounty and cybersecurity.

Documentation

README

WebSocket Security Testing

Objective

Exploit WebSocket implementation flaws including cross-site WebSocket hijacking (CSWSH), message injection, and authentication bypass.

Testing Methodology

Phase 1: Identify WebSocket Endpoints

# 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

Phase 2: Cross-Site WebSocket Hijacking (CSWSH)

Check if Origin header is validated:

This is the opening of the README. Read the full README on GitHub.

Commands WebSocket Security Testing provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /ws
  • /socket
  • /websocket
  • /chat
  • /live
  • /realtime

Frequently asked about WebSocket Security Testing

  • What else does CyberStrikeus publish alongside WebSocket Security Testing?

    WebSocket Security Testing is one of 51 skills that DirSkills catalogs from CyberStrikeus/CyberStrike, the repository it ships in. Its siblings there include AMI Age Compliance, AMI Encryption Check and AMI Naming Convention Compliance. Each one is a separate skill with its own page in this directory, installs the same way WebSocket Security Testing does, and is maintained by CyberStrikeus in that same repository. The rest of the collection is listed on the CyberStrikeus/CyberStrike page.

  • How does WebSocket Security Testing compare to other Quality skills?

    WebSocket Security Testing ranks #612 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of WebSocket Security Testing against them. Open each page to compare what they document and how they install.

More from CyberStrikeus/CyberStrike

WebSocket Security Testing is one of 51 skills cataloged on DirSkills from CyberStrikeus/CyberStrike.

See all 51 skills β†’