npx skills add yaklang/hack-skills --skill websocket-security
jgamaraalv/delivery-loop · Archived
websocket-security
Test WebSocket channels for CSWSH, smuggling, injection, and auth flaws (wsrepl, ws-harness, Burp). Use when an app uses real-time channels, chat, notifications, or WS-backed APIs.
Installation
npx skills add jgamaraalv/delivery-loop --skill websocket-security
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Hunting playbook for race-condition / TOCTOU vulnerabilities — concurrent-request abuse, HTTP/2…
3 installsCreate beautiful visual art in .png and .pdf documents using design philosophy. Use when the us…
3 installsOrganize CSS using BEM, SMACSS, and CSS-in-JS patterns. Use when building scalable, maintainabl…
2 installsAnimate React route/page changes, shared elements, and enter/exit/reorder with the View Transit…
2 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsPre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure…
567.7K installsConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: sem…
566.3K installsAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compar…
510K installsPostgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsAlso in this package
Other skills from jgamaraalv/delivery-loop · top by installs.
npx skills add jgamaraalv/delivery-loop
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md2,661 B -
docs
SUMMARY.md206 B
History
- First seen on skills.sh
- First recorded snapshot · 2 installs
SKILL.md
WebSocket Security
Offensive testing of WebSocket and Socket.IO endpoints. Apply only on authorized targets; treat tokens and message content as sensitive. WebSocket auth/authz usually mirrors the same backend's REST models — align your session and resource-boundary assumptions with how the HTTP API behaves. (To build secure real-time systems rather than attack them, see the sibling websocket-patterns skill.)
Quick Start — Spot the Channel
In a proxy or raw traffic review, filter for 101 and Upgrade: websocket:
GET /ws HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo=
Testing Decision Tree
- Identify endpoint — from JS bundles, Swagger, or
101responses; notewssvsws. - Handshake review — are
Origin,Host, andCookiepolicies correct? Any token in the query string? - Session binding — reconnect with another user's cookie jar; compare subscription topics and data leakage.
- CSWSH — load a local page that connects with the victim session active; verify the server rejects a wrong
Originor uses a non-cookie secret. - Message semantics — fuzz JSON/text/binary payloads for injection; mirror the same logic as HTTP API testing.
- Transport — flag
ws://in production; verify TLS and HSTS alignment.
References
Each file is loaded on demand — read one only when the task needs that depth (progressive disclosure).
references/handshake-cswsh.md— handshake protocol details and the full CSWSH playbook (condition, PoC, step-by-step exploitation, cookie/SameSite behavior) · read when reviewing the upgrade or testing cross-site hijacking.references/vuln-classes.md— the common-flaw table, message injection (MITM, app-level, stored XSS), Socket.IO-specifics (namespace/event/ack/polling-CSRF), and binary-payload manipulation · read when fuzzing messages or auditing Socket.IO.references/smuggling.md— WebSocket smuggling: proxy-bypass and H2-over-WS tunneling, with per-proxy behavior · read when a reverse proxy sits in front of the endpoint.references/tooling.md— wsrepl, ws-harness (HTTP bridge), Burp (SocketSleuth, Turbo Intruder), and binary frame analysis tools · read when setting up the testing toolchain.