deserialization-testing
Detect and exploit insecure deserialization in Java, PHP, Python, and .NET applications
от VigilOSS★ 35 звёзд на GitHub
Установить deserialization-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Insecure Deserialization Testing
When to Activate
- Binary or encoded blobs in cookies, parameters, hidden fields or message bodies (Java
rO0/aced, .NETAAEAAAD/ViewState, PHPO:/a:, pickle, Ruby Marshal, YAML), or a stack that deserializes natively (Java RMI/JMX/T3, PHP, Python, .NET, Nodenode-serialize, Ruby).
--technique RCE (switch to INFO-DISCLOSURE for oracle or leak-only work); deliver via
vigil assess kali exec --technique RCE --intent "<purpose>" --probe-kind payload --phase consume-test --timeout 30 -- curl …, --probe-kind exploit after execution is confirmed.
Detection signatures and per-language chains (ysoserial.net and Json.NET
TypeNameHandling, phpggc output flags and phar, PyYAML, Ruby Psych and SnakeYAML gadgets, Ruby
Marshal, node-serialize, ViewState with a known machineKey):
agent/references/payloads/deserialization-payloads.md. Gadget generators are host-side tools
and may not be installed; generate there and deliver through the wrapper. Seed tampering variants
with vigil assess classify-payload <blob> --mutations.
Method
- Establish the sink without a gadget. Java
URLDNS(and equivalent DNS-only probes) fire on deserialization with no library dependency, so a hit proves the sink before choosing a chain; aim it at a minted host (agent/references/offensive-tactics/frp-tunneling.md"OOB Procedure (mint→poll→correlate)"). No hit with healthy OOB can mean no egress, not no sink: try an error- or timing-based probe. - Pick a chain that fits the classpath and runtime version. CommonsCollections1 fails on
JDK ≥ 8u71; PyYAML ≥ 5.4
FullLoader, Ruby Psych 4YAML.loadand SnakeYAML 2.0 are safe by default, so YAML gadgets need the unsafe loader. Rotate chains when the sink is proven and a chain stays silent. - Make the command expand. Java
Runtime.execruns no shell, so$(whoami)and quoting do not expand: wrap asbash -c {echo,<base64>}|{base64,-d}|{bash,-i}-style or use a chain that takes a shell; in host-side generators, put the minted host in double quotes, not single. The proof is a callback carrying the evaluated label ($(whoami).$OOB_HOST), not a bare hit. - Data tampering without RCE: role or privilege fields in a serialized session, object references to other users' data, prices and quantities — usually where the blob is unsigned.
- Framework checks: Django pickle cache or session serializer; Rails
Marshal.loadandcookies_serializer(should be:json); Expresscookie-sessionunsigned; SpringDefaultSerializersession persistence and RememberMe; Laravel cookie encryption with a leaked or defaultAPP_KEY.
What to Record
Endpoint and parameter, format and language, the chain and the library enabling it, and the proof:
command output or the labelled callback (agent/rules/hunting.md §2), or the tampered field that
was accepted and what it granted. Severity: agent/references/finding-fp-and-severity-gate.md;
format: agent/references/runtime-guides/web-finding-recording.md.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл deserialization-testing?
Detect and exploit insecure deserialization in Java, PHP, Python, and .NET applications
Как установить скилл deserialization-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deserialization-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…