Agent skill

Deserialization Testing

by NeoTheCapt in NeoTheCapt/RedteamAgent

Insecure deserialization detection and gadget chain exploitation

No licenceAuto-check passedSecurity

Install Deserialization Testing

skills CLI
$ npx skills add NeoTheCapt/RedteamAgent --skill deserialization-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NeoTheCapt/RedteamAgent deserialization-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NeoTheCapt/RedteamAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/skills/deserialization-testing .claude/skills/deserialization-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deserialization-testing
GitHub stars
140
Token cost
~836 tokens
SKILL.md length
355 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
None found

At a glance

Insecure deserialization detection and gadget chain exploitation

  • Works in 7 steps: Identify Serialized Data → Java Deserialization → PHP Deserialization → …
  • Tasks that involve Penetration testing
  • SKILL.md covers When to Activate, Tools, Methodology and What to Record
  • Calls java

What it does

Deserialization Testing is an agent skill from NeoTheCapt/RedteamAgent. Insecure deserialization detection and gadget chain exploitation

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Penetration testing. It works with Java, PHP, Python and .NET. The repository describes itself as: An AI red-team agent for authorized labs and web app pentesting workflows. Turns Claude Code / OpenCode / Codex into a structured recon → test → exploit → report workflow, with…

When your agent uses it

  • Tasks that involve Penetration testing

Example prompts

  • “/deserialization-testing”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Identify Serialized Data
  2. Java Deserialization
  3. PHP Deserialization
  4. Python Pickle
  5. .NET Deserialization
  6. Impact Validation
  7. Data Tampering (Non-RCE)

What it can do on your machine

Read from SKILL.md and the folder at commit 2e60476. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • java

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deserialization Testing loads about 836 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 355 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~836

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 355 words (~836 tokens).

“java -jar ysoserial.jar CommonsCollections1 "id" | base64”

— opening of SKILL.md by NeoTheCapt
name
deserialization-testing
origin
RedteamOpencode

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agent/skills/deserialization-testing of NeoTheCapt/RedteamAgent.

Open the folder on GitHubat commit 2e60476

Compare with similar skills

Deserialization Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deserialization Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deserialization Testing this skillNeoTheCapt/RedteamAgent140—~836Automated safety check: PassNone
Insecure Deserialization PlaybookPentesterFlow/agent1.4k—~1.7kAutomated safety check: PassApache-2.0
SstiPentesterFlow/agent1.4k—~1.2kAutomated safety check: PassApache-2.0
Hunt DeserializationEncod3d-Sec/TORCH329—~1.7kAutomated safety check: PassMIT
Dt Obs ServicesDynatrace/dynatrace-for-ai161—~3.3kAutomated safety check: PassApache-2.0
Assess Migrationmendixlabs/mxcli128—~3.6kAutomated safety check: NotesApache-2.0

Similar skills

  • Fingerprints which language or framework produced a serialized blob, then helps build a working gadget chain to test for insecure deserialization.

    1.4k GitHub stars~1.7k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Ssti

    PentesterFlow/agent

    Server-Side Template Injection — fingerprint the engine first (Jinja2 / Twig / Velocity / Freemarker / ERB / Smarty / Mako / Handlebars / Pug), then escalate the engine-specific primitive to RCE or…

    1.4k GitHub stars~1.2k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Hunt Deserialization

    Encod3d-Sec/TORCH

    Insecure deserialization hunting across Java / .NET / PHP / Python / Ruby / Node.

    329 GitHub stars~1.7k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Dt Obs Services

    Dynatrace/dynatrace-for-ai

    Service performance monitoring with RED metrics (Rate, Errors, Duration) and runtime-specific telemetry for Java, .NET, Node.js, Python, PHP, and Go.

    161 GitHub stars~3.3k tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed
  • Assess Migration

    mendixlabs/mxcli

    Investigate an existing non-Mendix application (Java, .NET, Python, Node, PHP, …) and produce a structured migration assessment for Mendix.

    128 GitHub stars~3.6k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed

More from NeoTheCapt/RedteamAgent

All 25 skills in this repo
  • Auth Bypass

    NeoTheCapt/RedteamAgent

    Test for authentication and authorization flaws including credential attacks, session issues, and access control bypasses

    140 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Business Logic Testing

    NeoTheCapt/RedteamAgent

    Business logic vulnerability detection — workflow bypass, price manipulation, state abuse, and application-specific flaws

    140 GitHub stars~2.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Cors Testing

    NeoTheCapt/RedteamAgent

    CORS misconfiguration testing for data theft and access control bypass

    140 GitHub stars~904 tokensUpdated 2 mo ago
    Auto-check passed
  • Csrf Testing

    NeoTheCapt/RedteamAgent

    Cross-site request forgery testing for state-changing operations

    140 GitHub stars~791 tokensUpdated 2 mo ago
    Auto-check passed
  • Directory Fuzzing

    NeoTheCapt/RedteamAgent

    Discover hidden directories, files, and endpoints on a web server

    140 GitHub stars~737 tokensUpdated 2 mo ago
    Auto-check: notes
  • Open Redirect Testing

    NeoTheCapt/RedteamAgent

    Test for unvalidated redirects — URL parameters, login flows, OAuth callbacks that redirect to attacker-controlled domains

    140 GitHub stars~608 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Deserialization Testing

What does Deserialization Testing do?

Insecure deserialization detection and gadget chain exploitation. Deserialization Testing is an agent skill from NeoTheCapt/RedteamAgent.

When should I use Deserialization Testing?

Deserialization Testing fits situations like: tasks that involve Penetration testing.

How do I install Deserialization Testing in Claude Code?

Run `npx skills add NeoTheCapt/RedteamAgent --skill deserialization-testing -a claude-code`. Or copy the skill folder (agent/skills/deserialization-testing in NeoTheCapt/RedteamAgent) into .claude/skills/deserialization-testing in your project. Claude Code loads it when a task matches its description.

How do I install Deserialization Testing in Codex?

Run `npx skills add NeoTheCapt/RedteamAgent --skill deserialization-testing -a codex`. Or copy the skill folder (agent/skills/deserialization-testing in NeoTheCapt/RedteamAgent) into .agents/skills/deserialization-testing in your project. Codex loads it when a task matches its description.

Can I use Deserialization Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NeoTheCapt/RedteamAgent --skill deserialization-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deserialization-testing, .gemini/skills/deserialization-testing, .github/skills/deserialization-testing and .opencode/skills/deserialization-testing in your project.

What does Deserialization Testing need to run?

Going by SKILL.md and its folder, Deserialization Testing needs the command-line tools its instructions call (java). Our summary lists: Python 3.

Does Deserialization Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Deserialization Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Deserialization Testing use?

No licence was found for Deserialization Testing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Deserialization Testing use?

About 836 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deserialization Testing?

Skills that share tags, products or a category with Deserialization Testing: Insecure Deserialization Playbook (PentesterFlow/agent, 1.4k stars), Ssti (PentesterFlow/agent, 1.4k stars), Hunt Deserialization (Encod3d-Sec/TORCH, 329 stars) and Dt Obs Services (Dynatrace/dynatrace-for-ai, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deserialization Testing?

NeoTheCapt (a GitHub user) maintains it in NeoTheCapt/RedteamAgent, which has 140 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on August 2, 2026.

Source: NeoTheCapt/RedteamAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.