Dotnet binaryformatter

From zakirkun/ice-tea · View interactive version

Dotnet binaryformatter is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects use of BinaryFormatter, SoapFormatter, and NetDataContractSerializer which are insecure for untrusted data.

How to use this skill

Skill file

.NET BinaryFormatter Deserialization

Overview

BinaryFormatter and related .NET serializers are inherently insecure when used with untrusted data. Microsoft has officially deprecated BinaryFormatter in .NET 5+ due to its inability to be secured.

Gadget chains from ysoserial.net can achieve RCE through ViewState, remoting, and other attack surfaces.

Remediation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.