# pwntester/ysoserial.net

Deserialization payload generator for a variety of .NET formatters

Repository: https://github.com/pwntester/ysoserial.net
Canonical: https://ross.abutalabs.com/products/ysoserialnet
Language: C#
License: MIT
License Family: permissive
Last push: 2026-06-11T23:45:37+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 8, longevity 100
- inputs: {"age_days": 3271, "days_push": 83, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3782, forks 524 (observed 2026-08-28T04:08:18.502167+00:00)

## What it is
ysoserial.net is a proof-of-concept command-line tool that generates deserialization payloads exploiting unsafe .NET object deserialization using gadget chains from common .NET libraries. It wraps a user-specified command in a chosen gadget chain and serializes it for use in authorized security testing and defensive research.

## Use cases
- generate deserialization exploit payloads for .NET applications
- test whether an app is vulnerable to unsafe .NET deserialization
- find gadget chains in common .NET libraries
- demonstrate deserialization vulnerabilities during a pentest
- develop defensive techniques against deserialization attacks
- serialize a command into a specific .NET formatter payload

## When to choose
- you are doing authorized penetration testing or security research on .NET applications
- you need to test .NET apps for unsafe deserialization vulnerabilities
- you want a wide collection of .NET gadget chains in one tool

## When to avoid
- you need deserialization exploit tooling for Java rather than .NET (use the original ysoserial)
- you want a defensive scanning tool rather than a payload generator
- you lack authorization to test the target system

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, penetration-testing, vulnerability-scanning, serialization, cli
- domain: security, penetration-testing, reverse-engineering, developer-tools
- platform: windows, dotnet, cli, cross-platform
- tags: deserialization, gadget-chains, exploit-payloads, dotnet, offensive-security, ysoserial

## Member repositories
- pwntester/ysoserial.net (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.502167+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:27:44.202499+00:00, confidence not recorded.
  - readme: https://github.com/pwntester/ysoserial.net (fetched 2026-08-28T04:08:18.502167+00:00, sha 020aec676f91)
- Data as of 2026-08-30T08:39:29.467469+00:00.
