websocket-test

Identify and validate WebSocket security weaknesses in real-time application channels.

54|5|Updated May 9, 2026
One-click install
npx skills add https://github.com/jinyimeng01/mastermind-bug-bounty --skill websocket-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: websocket-test
Source: https://github.com/jinyimeng01/mastermind-bug-bounty/tree/main/skills/websocket_test
Command: npx skills add https://github.com/jinyimeng01/mastermind-bug-bounty --skill websocket-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps security testers systematically identify WebSocket vulnerabilities such as authentication flaws, authorization bypasses, insecure subscriptions, message injection, replay issues, and connection abuse risks.

Core Features & Use Cases

  • WebSocket Endpoint Discovery: Locate ws and wss endpoints, Socket.IO usage, and client-side connection patterns through JavaScript analysis.
  • Security Validation Workflows: Test authentication handling, CSWSH exposure, subscription authorization, message integrity, and replay protections using controlled test accounts.
  • Use Case: Assess a real-time application that uses WebSocket communication by mapping endpoints from frontend code and validating whether users can only access their own messages and channels.

Quick Start

Use the websocket-test skill to analyze a target application's JavaScript files and create a WebSocket security testing report for discovered endpoints.

Frequently Asked Questions about websocket-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test WebSocket endpoints for authentication and authorization bypasses?

Testing WebSocket endpoints for authentication and authorization bypasses involves analyzing JavaScript files to locate ws and wss connections, then validating subscription controls and message integrity using controlled test accounts to confirm users only access their own channels.

What is CSWSH and how does it relate to WebSocket penetration testing?

CSWSH, or Cross-Site WebSocket Hijacking, is a vulnerability where unauthorized origins establish WebSocket connections. Penetration testing identifies this exposure by validating authentication handling and origin checks during real-time application communication assessments.

Can I discover Socket.IO and wss endpoints through JavaScript analysis?

Yes, you can discover Socket.IO and wss endpoints through JavaScript analysis. This process locates client-side connection patterns and maps WebSocket endpoints from frontend code to guide subsequent security validation workflows.

How do I check for message injection and replay vulnerabilities in WebSocket channels?

Checking for message injection and replay vulnerabilities in WebSocket channels requires applying controlled proof testing to assess message integrity and replay protections, ensuring real-time communication channels reject malicious or duplicated payloads.

Does WebSocket security testing require controlled test accounts for authorization checks?

Yes, WebSocket security testing requires controlled test accounts to accurately perform authorization checks. Using multiple accounts validates whether users can subscribe to unauthorized channels or access other users' messages during penetration testing.

What is the best way to report WebSocket vulnerabilities found during penetration testing?

The best way to report WebSocket vulnerabilities is to follow structured workflows that document discovered endpoints, authentication flaws, and authorization bypasses, culminating in a comprehensive security testing report for the target application.