RepoPilot

frohoff/ysoserial

A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.

Mixed

Slowing — last commit 5mo ago

MixedDependency

dependency CVE scan unavailable

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

dependency CVE scan unavailable

  • Slowing — last commit 5mo ago
  • Concentrated ownership — top contributor handles 70% of recent commits
  • Last commit 5mo ago
  • 26+ active contributors
  • MIT licensed
  • CI configured
  • Tests present

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: frohoff/ysoserial

Generated by RepoPilot · document generated 2026-09-16 · concise human review Evidence snapshot · analyzed 2026-09-16T19:09:37.806Z · commit 218bcffcaaa9

Verdict

Mixed — Slowing — last commit 5mo ago

  • Last commit 5mo ago
  • 26+ active contributors
  • MIT licensed
  • CI configured
  • 1 more receipt on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

What it is

ysoserial is a proof-of-concept Java tool that generates serialized payloads exploiting unsafe Java object deserialization. It contains 50+ gadget chains (CommonsCollections1-7, Spring, Groovy, BeanShell, Hibernate, etc.) that automatically execute arbitrary commands when deserialized by vulnerable applications. The core capability is wrapping attacker-supplied commands in pre-built gadget chains, serializing them to stdout, and delivering them to applications that unsafely deserialize untrusted data. Monolithic single-jar structure: src/main/java/ysoserial/ contains three entry points (GeneratePayload.java, Serializer.java, Deserializer.java), src/main/java/ysoserial/payloads/ holds 50+…

Start here

Open these first:

  • src/main/java/ysoserial/GeneratePayload.java — Main entry point that orchestrates payload generation; every contributor must understand the CLI argument parsing and…
  • src/main/java/ysoserial/payloads/ObjectPayload.java — Core interface defining the payload abstraction; all gadget chain implementations extend this and contributors must…
  • src/main/java/ysoserial/payloads/util/Gadgets.java — Utility class managing reflection-based gadget chain construction; critical for understanding how payloads leverage library…
  • pom.xml — Maven configuration with all payload library dependencies; contributors need to understand version constraints and optional…
  • src/main/java/ysoserial/Deserializer.java — Handles deserialization of payloads in testing/verification; essential for understanding the payload execution flow.

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

Clone and build with Maven:

git clone https://github.com/frohoff/ysoserial.git
cd ysoserial
mvn clean package -DskipTests
java -jar target/ysoserial-0.0.6-SNAPSHOT-all.jar

This generates the uber-jar and runs the usage message showing all available payload types and their dependencies.

Daily commands:

mvn package -DskipTests
java -jar target/ysoserial-0.0.6-SNAPSHOT-all.jar CommonsCollections5 'touch /tmp/pwned' | xxd

The first argument is the payload type, the second is the shell command to wrap. Output is binary serialized Java object (suitable for piping to network sockets or files). Use -XDignore.symbol.file to suppress javac war…

…shortened for this brief.

Key cautions & unknowns

  • Slowing — last commit 5mo ago
  • Concentrated ownership — top contributor handles 70% of recent commits
  • Java 1.6 source/target compatibility enforced in pom.xml with -XDignore.symbol.file flag—do not remove this or compiler will fail on internal API usage (e.g., sun.reflect). JDK version mismatch: compiling on Java 8+…
  • Published-advisory coverage was unavailable for the captured dependencies.
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Forkable" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Forkable
[![RepoPilot: Forkable](https://repopilot.app/api/badge/frohoff/ysoserial?axis=fork)](https://repopilot.app/r/frohoff/ysoserial)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/frohoff/ysoserial on X, Slack, or LinkedIn.

Ask AI about frohoff/ysoserial

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/frohoff/ysoserial"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>