sc-deserialization

Detect insecure deserialization vulnerabilities across Python, Java, PHP, .NET, Ruby, Node.js, YAML, and XML.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kocakburhan/emlakdefter --skill sc-deserialization-kocakburhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-deserialization
Source: https://github.com/kocakburhan/emlakdefter/tree/main/.agents/skills/security-check/skills/sc-deserialization
Command: npx skills add https://github.com/kocakburhan/emlakdefter --skill sc-deserialization-kocakburhan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Insecure deserialization vulnerabilities across languages can lead to remote code execution, denial of service, or authentication bypass when untrusted data is deserialized.

Core Features & Use Cases

  • Cross-language detection of insecure deserialization across Python, Java, PHP, .NET, Ruby, Node.js, YAML/XML formats.
  • Phase-based verification with discovery and remediation guidance for security teams and developers.
  • Use Case: Security teams can scan repositories and CI pipelines to identify potentially unsafe deserialization patterns.

Quick Start

Run a scan against sample data to identify insecure deserialization patterns and generate remediation notes.

Frequently Asked Questions about sc-deserialization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect insecure deserialization vulnerabilities across multiple languages?

Insecure deserialization detection covers Python pickle, Java ObjectInputStream, PHP unserialize, .NET BinaryFormatter, Ruby Marshal, Node.js serialize, and YAML/XML formats. It identifies unsafe patterns that lead to remote code execution, denial of service, or authentication bypass.

Can I scan for Python pickle and Java ObjectInputStream deserialization flaws during CI?

Yes, you can scan repositories and CI pipelines for unsafe deserialization patterns like Python pickle and Java ObjectInputStream. The phase-based discovery workflow generates actionable findings and remediation notes for security teams and developers.

Does this insecure deserialization detection cover YAML and XML formats?

Insecure deserialization detection covers YAML and XML formats alongside PHP unserialize, .NET BinaryFormatter, Ruby Marshal, and Node.js serialize. It provides cross-language coverage to identify unsafe parsing behaviors and gadget chains.

What is the best way to find gadget chains during a threat modeling audit?

The best way to find gadget chains during a threat modeling audit is using automated detection that maps unsafe deserialization patterns to phase-based verification workflows. This generates actionable findings and specific remediation guidance for security teams.

How do I remediate PHP unserialize and Ruby Marshal vulnerabilities after discovery?

You can remediate PHP unserialize and Ruby Marshal vulnerabilities by following the automated remediation notes generated after the phase-based discovery scan. These notes provide actionable guidance to fix unsafe deserialization patterns in your codebase.

When should I not rely on automated insecure deserialization detection?

Automated insecure deserialization detection identifies unsafe patterns and known gadget chains across languages, but complex logic flaws or custom serialization frameworks may require manual threat modeling and deeper vulnerability analysis beyond automated scanning.