Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 28k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-deserialization

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hunt-deserialization in Claude Code

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 →

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.

hunt-deserialization Install

Add to stack

Loading.