Skip to content
G

ghost-bits-cast-attack

Java "Ghost Bits" / Cast Attack playbook (Black Hat Asia 2026)

by yaklangFree

#5982in AI Skills
0In stores

Description

Ghost Bits and Cast Attack is an agent skill from the yaklang hack-skills collection, listed on skills.sh. It is a playbook for Java service…

Highlights

  • Explains the 16-bit to 8-bit char narrowing in Java
  • Covers SQLi, deserialization, upload and path traversal cases
  • Covers CRLF, request smuggling and SMTP injection cases
  • Based on a Black Hat Asia 2026 talk

Ratings & Reviews

No ratings yet

Be the first to rate ghost-bits-cast-attack.

People also visit

B

binary-protection-bypass

Binary protection bypass playbook

AI Skills
Get
J

jndi-injection

JNDI injection playbook

AI Skills
Get
V

vm-and-bytecode-reverse

Custom VM and bytecode reverse engineering playbook

AI Skills
Get
R

reverse-skill-router

Routes reverse engineering, exploitation, penetration testing, malware, mobile

AI Skills
Get
B

browser-exploitation-v8

Browser and V8 exploitation playbook

AI Skills
Get
Z

zinja-coder/jadx-ai-mcp

JADX decompiler plugin providing live, LLM-assisted reverse engineering

AI Skills
Get

ghost-bits-cast-attack FAQ

What is the Ghost Bits primitive?

In Java, a 16-bit char that is narrowed to an 8-bit byte loses its high 8 bits. The page explains that this can change what a WAF sees compared with what the backend reconstructs.

Which attack types does the skill list?

SQL injection, deserialization RCE, file upload, path traversal, CRLF, request smuggling and SMTP injection, each as a case where the page says a Ghost Bits variant should be tried.

How do I install it?

Run: npx skills add https://github.com/yaklang/hack-skills --skill ghost-bits-cast-attack

Which security audits does it show?

Gen Agent Trust Hub: Pass. Socket: Warn. Snyk: Pass.

What are the best ghost-bits-cast-attack alternatives?

Popular alternatives to ghost-bits-cast-attack include binary-protection-bypass, jndi-injection and vm-and-bytecode-reverse. See all ghost-bits-cast-attack alternatives

Developer Stuff

Badges