Skip to content
Skill

Sh kb deserialization

Guides an agent through hunting insecure deserialization bugs and their gadget-chain risks

Sh kb deserialization is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
44
Last commit
License
MIT
Listing updated

Similar skills

About Sh kb deserialization

This skill is a security knowledge base for auditing code that deserializes data. It lists dangerous deserializer calls grouped by language and framework, from Python pickle and PHP unserialize to Java ObjectInputStream and .NET BinaryFormatter, so the agent can grep a codebase for likely sinks.

The workflow traces where untrusted input enters, including indirect feeds such as caches, message queues, session stores and model files, and checks whether signatures are verified before loading. It also covers safe-variant filters, variant hunting from one confirmed sink, and non-RCE impacts like object injection and DoS. Payload guidance describes gadget chains conceptually rather than providing live blobs.

The material also covers defender-side detection signals such as log patterns, serialization magic bytes and process-spawning behavior, plus CWE-502 and OWASP A08 mapping and mitigation advice. It is a single markdown file with no scripts, and it refers to a graft grep command for searching.

When your agent uses it

Knowledge base for finding insecure deserialization - untrusted data fed to object-deserialization APIs that can trigger RCE or object injection via gadget chains. Use when hunting deserialization issues. CWE-502, OWASP A08:2021-Software and Data Integrity Failures.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (9 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the indra plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra

Or copy only this skill to ~/.claude/skills/sh-kb-deserialization:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-kb-deserialization &&
cp -R "$tmp/plugins/indra/skills/sh-kb-deserialization" ~/.claude/skills/sh-kb-deserialization &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/sh-kb-deserialization inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/sh-kb-deserialization to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-kb-deserialization &&
cp -R "$tmp/plugins/indra/skills/sh-kb-deserialization" ~/.agents/skills/sh-kb-deserialization &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/sh-kb-deserialization inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/sh-kb-deserialization to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-kb-deserialization &&
cp -R "$tmp/plugins/indra/skills/sh-kb-deserialization" ~/.cursor/skills/sh-kb-deserialization &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/sh-kb-deserialization inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-kb-deserialization

Or copy the folder to ~/.gemini/skills/sh-kb-deserialization yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sh-kb-deserialization:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-kb-deserialization &&
cp -R "$tmp/plugins/indra/skills/sh-kb-deserialization" ~/.copilot/skills/sh-kb-deserialization &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/sh-kb-deserialization inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git

Then copy indra/plugins/indra/skills/sh-kb-deserialization into your agent's skills folder as sh-kb-deserialization. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Dangerous sink catalog
Lists native deserializer calls and grep targets across Python, Java, PHP, Ruby, .NET, Node and Go.
Input tracing workflow
Guides tracing attacker-controlled bytes from requests, caches, queues and files to a loader.
Second-order feed review
Covers indirect sources such as session stores, job queues, ML model files and backups.
Safe-variant filters
Explains which safe loaders, allowlists and signed-data patterns reduce a finding to a non-issue.
Defender detection signals
Describes log patterns, magic bytes and suspicious child processes that indicate exploitation attempts.
CWE and severity mapping
Maps findings to CWE-502 and OWASP A08:2021 with a severity rubric.

Good for

  • Audit a Java service for ObjectInputStream calls fed by HTTP requests
  • Check a Python app for pickle or yaml.load on untrusted input
  • Review PHP code for unserialize calls reachable from user input
  • Hunt for insecure deserialization in a Celery or message queue consumer
  • Assess whether a .NET app's ViewState or JSON settings are unsafe

Sh kb deserialization FAQ

What does Sh kb deserialization need to run?

It has no scripts and no tool restrictions are set. It is a single SKILL.md knowledge base that the agent reads while reviewing code.

When does Sh kb deserialization trigger?

The skill description says to use it when hunting deserialization issues, specifically CWE-502 and OWASP A08:2021 cases.

Does Sh kb deserialization include working exploit payloads?

No. It describes gadget chains conceptually and explicitly advises against shipping a live malicious blob.

Which languages does Sh kb deserialization cover?

Python, Java, PHP, Ruby, .NET, Node.js and Go, with format-level notes for YAML, XML and JSON type-handling libraries.

How do I install Sh kb deserialization in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-kb-deserialization to use it in all your projects, or to .claude/skills/sh-kb-deserialization in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

Does Sh kb deserialization run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Sh kb deserialization?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Sh kb deserialization?

The closest alternatives to Sh kb deserialization are Sh kb path traversal, Sh kb sqli, Sh kb injection, Sh kb file upload and Sh kb xxe.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from dmdhrumilmistry/indra

  1. Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines

    • Open source
    • 44 GitHub stars
    • Security
  2. Gives a security review agent persistent Markdown memory of past findings and learnings

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  3. Security-reviews a GitHub pull request and reports findings as inline comments

    • Open source
    • 44 GitHub stars
    • Developer tools
  4. Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  5. Plans and runs approved purple-team tests to check whether SIEM detections fire

    • Open source
    • 44 GitHub stars
    • Security
  6. Re-checks one earlier security finding against current code or recorded traffic

    • Open source
    • 44 GitHub stars
    • Security