Java Deserialization And Parser Security

Use this skill when statically reviewing the JVM's untrusted-deserialization and data-parsing surface for remote-code-execution and injection risk — Java native ObjectInputStream gadget chains (and the ObjectInputFilter/JEP 290 control), SnakeYAML bare Constructor, Jackson polymorphic default typing without a PolymorphicTypeValidator, XML external-entity (XXE) exposure across every parser factory, and reflective/expression sinks fed by untrusted input. Trigger when a user provides code that deserializes bytes or parses YAML/JSON/XML from a request, message, uploaded file, or external API, or asks whether a parser is safe. Reads source and sanitized configuration only; it never executes code or deserializes a payload.

VincentChuWaiChow 7e696e6 4 files · 16.6 KB Updated

File contents

VincentChuWaiChow/vanguard-frontier-agentic/tree/main/skills/java/java-deserialization-and-parser-security commit 7e696e69b4

Frequently asked questions

npx skillmds@latest add vincentchuwaichow/java-deserialization-and-parser-security