vapt-websocket

vapt-websocket is a skill for Claude Code, Codex from bhuvangupta/vapt-claude. It costs 0 tokens per session (1,730 once invoked), scanned A, original, MIT.

A security-testing workflow for WebSockets, connections that let a browser and server exchange live messages over one ongoing link.

In plain words
What is it for?
Use it during a vulnerability audit to check common live-connection paths and detect Raw WebSocket, Socket.IO, SockJS, ActionCable or SignalR setups.
Why use it?
It helps reveal WebSocket endpoints, identify the communication framework and inspect how the connection transports data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during a vulnerability audit to check common live-connection paths and detect Raw WebSocket, Socket.IO, SockJS, ActionCable or SignalR setups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bhuvangupta/vapt-claude/vapt-websocket
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bhuvangupta/vapt-claude --skill vapt-websocket
Clone the repo
git clone --depth 1 https://github.com/bhuvangupta/vapt-claude

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vapt-websocket

README.md
[![agentmods](https://agentmods.dev/badge/skills/bhuvangupta/vapt-claude/vapt-websocket/github.svg)](https://agentmods.dev/skills/bhuvangupta/vapt-claude/vapt-websocket)
Your own site
<a href="https://agentmods.dev/skills/bhuvangupta/vapt-claude/vapt-websocket"><img src="https://agentmods.dev/badge/skills/bhuvangupta/vapt-claude/vapt-websocket/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vapt-websocket

Your own site · 80×15
<a href="https://agentmods.dev/skills/bhuvangupta/vapt-claude/vapt-websocket"><img src="https://agentmods.dev/badge/skills/bhuvangupta/vapt-claude/vapt-websocket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,730 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01730
Opus 5 $0.00000 $0.00865
Sonnet 5 $0.00000 $0.00346
Haiku 4.5 $0.00000 $0.00173

Measured 9d ago against content hash a7a0623ab27a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

vapt-websocket scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sI -H "Upgrade: websocket" -H "Connection: Upgrade" \
skills/vapt-websocket/SKILL.md · 245 lines

How it starts

The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WebSocket Security Testing

When Invoked

The user runs /vapt websocket <url> for WebSocket-specific security testing.

Phase 1: WebSocket Discovery

1.1 Endpoint Detection

# Check for WebSocket upgrade support
curl -sI -H "Upgrade: websocket" -H "Connection: Upgrade" \
    -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" \
    -H "Sec-WebSocket-Version: 13" <url>

# Common WebSocket paths
for path in /ws /wss /websocket /socket /socket.io /sockjs /cable /hub /realtime /live /stream /events; do
    code=$(curl -s -o /dev/null -w "%{http_code}" \
        -H "Upgrade: websocket" -H "Connection: Upgrade" \
        -H "Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==" \
        -H "Sec-WebSocket-Version: 13" <url>$path)
    [ "$code" = "101" ] && echo "WebSocket: $path (101 Switching Protocols)"
    [ "$code" = "200" ] && echo "Socket.IO/SockJS candidate: $path (200)"
done

1.2 Protocol Detection

Identify the WebSocket framework:

  • Raw WebSocket (ws://)
  • Socket.IO (transport negotiation, JSON-wrapped messages)
  • SockJS (HTTP fallback, iframe transport)
  • ActionCable (Rails WebSocket)
  • SignalR (.NET real-time)

1.3 Transport Analysis

# Check if Socket.IO is in use
curl -s "<url>/socket.io/?EIO=4&transport=polling"

# Check SockJS
curl -s "<url>/sockjs/info"

Phase 2: Authentication & Authorization

2.1 Unauthenticated Connection

Attempt to establish a WebSocket connection without any authentication:

# Python test script (using websockets library if available)
# Alternatively describe the manual test with websocat or wscat

Using websocat (if installed):

echo '{"type":"ping"}' | websocat ws://<domain>/ws

Using wscat (if installed):

wscat -c ws://<domain>/ws

If connection succeeds without auth -> finding.

2.2 Token Validation

Test if the WebSocket validates tokens after initial connection:

  1. Connect with valid token
  2. Wait for token expiration
  3. Check if messages still flow (should be disconnected)

Read the full file on GitHub · 245 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 245 lines · 0 tokens per session scan A a7a0623ab27a

Subscribe to this mod's changes

vapt-websocket is a skill published in the GitHub repository bhuvangupta/vapt-claude (1 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,730 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

competitive-intel

Compare brands and products across social media — share of voice, sentiment, positioning, and audience overlap using Xpoz. Use when asked to "compare brands", "competitive analysis", "share of voice", "brand vs brand", or "competitive intelligence".

Aditya923-c/xpoz-agent-skills · 54 tokens

influencer-discovery

Find and rank influencers by niche, engagement, and authenticity using Xpoz. Searches Twitter, Instagram, and Reddit for active voices in any topic. Use when asked to "find influencers", "discover thought leaders", "who's talking about X", "influencer research", or "find KOLs".

Aditya923-c/xpoz-agent-skills · 68 tokens

security-osint

Monitor social platforms for security threats, vulnerability discussions, and breach intelligence using Xpoz. Use when asked to "find CVE discussions", "security threat monitoring", "OSINT social media", "vulnerability intelligence", "breach mentions", or "threat intel from Twitter/Reddit".

Aditya923-c/xpoz-agent-skills · 63 tokens

social-sentiment-analyzer

Analyze brand or topic sentiment across Twitter, Reddit, and Instagram using Xpoz. Classifies posts as positive/neutral/negative, extracts recurring themes, and generates a sentiment report. Use when asked for "sentiment analysis", "what are people saying about X", "brand sentiment", or "social media opinion on X".

Aditya923-c/xpoz-agent-skills · 72 tokens

reddit-research

Search and analyze Reddit discussions for market research, product feedback, and community insights using Xpoz. Use when asked to "search Reddit", "what does Reddit think about X", "Reddit feedback on X", "subreddit analysis", or "Reddit market research".

Aditya923-c/xpoz-agent-skills · 58 tokens

pipeline

Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…

kardebadas/claude-plugin · 80 tokens