web-05-deserialization

Installation
SKILL.md

Full Methodology

Insecure Deserialization

Happens when applications deserialize program objects without proper precaution. An attacker can then manipulate serialized objects to change program behavior and even execute code.

Shortcut

  1. Search source for deserialization that touches user input.
  2. If black-box, look for large, opaque blobs (cookies, headers, bodies) and unusual content-types.
  3. Identify features that must deserialize user-supplied data (session, jobs/queues, file metadata, tokens).
  4. If identity is embedded, tamper to attempt auth bypass.
  5. Try to escalate to RCE/logic abuse carefully and non-destructively.

Mechanisms

  • Occurs when user-controlled data is deserialized without strict allowlists and integrity checks. Exploits often occur during deserialization (magic methods, constructors), before app logic runs.
  • Prefer data formats that don’t instantiate code (JSON), and disable polymorphic typing.
Installs
1
GitHub Stars
6
First Seen
Nov 16, 2026