Registry / yaklang

yaklang/hack-skills/ghost-bits-cast-attack

Java "Ghost Bits" / Cast Attack playbook (Black Hat Asia 2026). Use when attacking Java services where 16-bit char is silently narrowed to 8-bit byte to bypass WAF/IDS for SQL injection, deserialization RCE, file upload (Webshell), path traversal, CRLF injection, request smuggling, and SMTP injection. Affects Tomcat, Spring, Jetty, Undertow, Vert.x, Jackson, Fastjson, Apache Commons BCEL, Apache HttpClient, Angus Mail, JDK HttpServer, Lettuce, Jodd, XMLWriter and re-enables many "patched" CVEs t

Agent skill · version 0.0.0-main.1794414206.g6fbf0bc · from yaklang/hack-skills

Install

npx yarkr-cli add skill:yaklang/hack-skills/ghost-bits-cast-attack

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:yaklang/hack-skills/ghost-bits-cast-attack
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:yaklang/hack-skills/ghost-bits-cast-attack

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:yaklang/hack-skills/ghost-bits-cast-attack

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.