hunt-deserialization
Skill by elementalsouls
Hunt Insecure Deserialization guides an assistant through finding and testing deserialization flaws in Java, PHP, Python, .NET and Ruby targets. It is written for security testers and bug bounty hunters.
Install hunt-deserialization
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elementalsouls/Claude-BugHunter /tmp/Claude-BugHunter && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-BugHunter/skills/hunt-deserialization ~/.claude/skills/hunt-deserializationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/elementalsouls/Claude-BugHunter /tmp/Claude-BugHunter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Claude-BugHunter/skills/hunt-deserialization ~/.gemini/antigravity-cli/skills/hunt-deserializationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install hunt-deserialization in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill is a methodology for hunting insecure deserialization bugs. It covers Java gadget chains built with ysoserial, PHP object injection with phpggc, Python pickle and YAML loading, .NET BinaryFormatter and ViewState, Ruby Marshal.load, and JNDI or Log4Shell injection. It lists detection signals such as Java serialized object prefixes, PHP serialized strings, Apache Shiro rememberMe cookies and vulnerable endpoints.
The skill gives command examples for each stack, including out-of-band callback payloads to confirm blind execution and commands that prove code execution. It also includes a chain table for escalating from low-privilege access. The source is aimed at security testers who work on targets running Java, PHP serialization, Python pickle, .NET or Ruby on Rails. It states that deserialization RCE is almost always rated Critical.
Written from the project's SKILL.md and checked against it.
What it can do
- Java ysoserial chainsBuilds Java gadget chain payloads with ysoserial for command execution tests.
- PHP object injectionFinds unserialize() calls and crafts PHP gadget chains with phpggc.
- Python pickle RCEGenerates malicious pickle payloads using __reduce__ for callback testing.
- .NET ViewState testingChecks for unsigned ViewState and generates BinaryFormatter payloads with YSoSerial.Net.
- Log4Shell and JNDI testsInjects JNDI lookup strings into headers and POST fields to detect callbacks.
- PHP phar deserializationCovers phar:// paths that trigger object injection without a direct unserialize() call.
- Ruby Marshal reviewFinds Marshal.load calls in Ruby source for gadget chain analysis.
- Out-of-band confirmationUses interactsh callbacks to confirm blind deserialization execution.
What you need
- Java runtime for ysoserial
- PHP with phpggc
- Python 3
- dotnet for YSoSerial.Net
- interactsh-client for callbacks
Try asking
- Check this Java app for ysoserial-style deserialization using a DNS callback.
- Scan these PHP files for unserialize() calls and suggest phpggc chains.
- Test this API for JNDI injection in headers and JSON body fields.
Good to know
- The source says deserialization RCE is almost always Critical, which is a general statement and not a rating for each case.
- Steps depend on the target stack, so Java, PHP, Python, .NET and Ruby need separate testing.
- Some payloads need an out-of-band callback host to confirm blind execution.
Security check
C- Asks for administrator rights (sudo)In
skills/hunt-deserialization/SKILL.md:sudo
Checked automatically: skills/hunt-deserialization/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to hunt-deserialization
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
hunt-deserialization: common questions
What languages does this skill cover?
The source covers Java, PHP, Python, .NET and Ruby, plus JNDI and Log4Shell patterns.
Does it include exploit tools?
It references ysoserial, phpggc, YSoSerial.Net, interactsh-client and a JNDI exploit kit, and gives command examples for each.
How severe are these bugs according to the source?
The source says deserialization RCE is almost always Critical because it gives code execution with server process privileges.
How do I install hunt-deserialization?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hunt-deserialization free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hunt-deserialization safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to hunt-deserialization?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
