[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79NH4544GAMVH1QY640WQYB":3,"skill-same:01M79NH4544GAMVH1QY640WQYB":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M79NH4544GAMVH1QY640WQYB","deserialization-cheat-sheet",null,"JunMystery\u002FAgent-Guidance","JunMystery","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F161468934?v=4","01M79MTMV8F0BY8NK1A92RA8A0","Jun","01M79MTMWCFBKPHN5B25E6V20B",0,"MIT","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fdeserialization-cheat-sheet\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Deserialization Cheat Sheet\n\n## Introduction\n\nThis article is focused on providing clear, actionable guidance for safely deserializing untrusted data in your applications.\n\n## What is Deserialization\n\n**Serialization** is the process of turning some object into a data format that can be restored later. People often serialize objects in order to save them for storage, or to send as part of communications.\n\n**Deserialization** is the reverse of that process, taking data structured in some format, and rebuilding it into an object. Today, the most popular data format for serializing data is JSON. Before that, it was XML.\n\nHowever, many programming languages have native ways to serialize objects. These native formats usually offer more features than JSON or XML, including customization of the serialization process.\n\nUnfortunately, the features of these native deserialization mechanisms can sometimes be repurposed for malicious effect when operating on untrusted data. Attacks against deserializers have been found to allow denial-of-service, access control, or remote code execution (RCE) attacks.\n\n## Guidance on Deserializing Objects Safely\n\nThe following language-specific guidance attempts to enumerate safe methodologies for deserializing data that can't be trusted.\n\n### PHP\n\n#### Clear-box Review\n\nCheck the use of [`unserialize()`](https:\u002F\u002Fwww.php.net\u002Fmanual\u002Fen\u002Ffunction.unserialize.php) function and review how the external parameters are accepted. Use a safe, standard data interchange format such as JSON (via `json_decode()` and `json_encode()`) if you need to pass serialized data to the user.\n\n### Python\n\n#### Opaque-box Review\n\nIf the traffic data contains the symbol dot `.` at the end, it's very likely that the data was sent in serialization. It will be only true if the data is not being encoded using Base64 or Hexadecimal schemas. If the data is being encoded, then it's best to check if the serialization is likely happening or not by looking at the starting characters of the parameter value. For example if data is Base64 encoded, then it will most likely start with `gASV`.\n\n#### Clear-box Review\n\nReview the following APIs for untrusted input:\n\n1. Uses of [`pickle.load()` or `pickle.loads()`](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fpickle.html#pickle.loads). Unpickling can execute arbitrary code; never unpickle untrusted data. `pickle.loads()` expects bytes-like input, not a Python 3 string.\n\n2. Uses of [PyYAML's unsafe loaders](https:\u002F\u002Fgithub.com\u002Fyaml\u002Fpyyaml\u002Fblob\u002F6.0.3\u002Flib\u002Fyaml\u002F__init__.py#L74-L156), such as `yaml.unsafe_load()` or `yaml.load()` with `Loader=yaml.Loader` or `Loader=yaml.UnsafeLoader`. For untrusted YAML, use [`yaml.safe_load()`](https:\u002F\u002Fpyyaml.org\u002Fwiki\u002FPyYAMLDocumentation#the-yaml-package), and do not register custom constructors that allow arbitrary object creation. Current PyYAML requires an explicit `Loader` argument for `yaml.load()`.\n\n3. Uses of [`jsonpickle.decode()`](https:\u002F\u002Fjsonpickle.readthedocs.io\u002Fen\u002Flatest\u002Fapi.html#jsonpickle.decode) with untrusted input.\n\n### Java\n\nFor historical research on Java deserialization and defensive allowlisting, see [Java Deserialization Attacks — German OWASP Day 2016](..\u002Fassets\u002FDeserialization_Cheat_Sheet_GOD16Deserialization.pdf).\n\nThe following techniques can reduce risks when using [Java's Serializable format](https:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002F7\u002Fdocs\u002Fapi\u002Fjava\u002Fio\u002FSerializable.html).\n\nImplementation advice:\n\n- Configure [serialization filters](https:\u002F\u002Fdocs.oracle.com\u002Fen\u002Fjava\u002Fjavase\u002F17\u002Fcore\u002Fserialization-filtering1.html) with an application-specific class allowlist and resource limits before reading objects.\n- If maintaining a `resolveClass()` override, account for its [limitations below](#harden-your-own-javaioobjectinputstream); class checks alone do not bound resource consumption.\n\n#### Clear-box Review\n\nBe aware of the following Java API uses for potential serialization vulnerability.\n\n1. `XMLdecoder` with external user defined parameters\n\n2. `XStream` with `fromXML` method (xstream version \u003C= v1.4.6 is vulnerable to the serialization issue)\n\n3. `ObjectInputStream` with `readObject`\n\n4. Uses of `readObject`, `readObjectNoData`, `readResolve` or `readExternal`\n\n5. `ObjectInputStream.readUnshared`\n\n6. `Serializable`\n\n#### Opaque-box Review\n\nIf the captured traffic data includes the following patterns, it may suggest that the data was sent in Java serialization streams:\n\n- `AC ED 00 05` in Hex\n- `rO0` in Base64\n- `Content-type` header of an HTTP response set to `application\u002Fx-java-serialized-object`\n\n#### Prevent Data Leakage and Trusted Field Clobbering\n\nIf there are data members of an object that should never be controlled by end users during deserialization or exposed to users during serialization, they should be declared as [the `transient` keyword](https:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002F7\u002Fdocs\u002Fplatform\u002Fserialization\u002Fspec\u002Fserial-arch.html#7231) (section *Protecting Sensitive Information*).\n\nFor a class that defined as Serializable, the sensitive information variable should be declared as `private transient`.\n\nFor example, the class `myAccount`, the variables 'profit' and 'margin' were declared as transient to prevent them from being serialized.\n\n```java\npublic class myAccount implements Serializable\n{\n    private transient double profit; \u002F\u002F declared transient\n\n    private transient double margin; \u002F\u002F declared transient\n    ....\n```\n\n#### Prevent Deserialization of Domain Objects\n\nSome of your application objects may be forced to implement `Serializable` due to their hierarchy. To guarantee that your application objects can't be deserialized, a `readObject()` method should be declared (with a `final` modifier) which always throws an exception:\n\n```java\nprivate final void readObject(ObjectInputStream in) throws java.io.IOException {\n    throw new java.io.IOException(\"Cannot be deserialized\");\n}\n```\n\n#### Harden Your Own java.io.ObjectInputStream\n\nThe `java.io.ObjectInputStream` class is used to deserialize objects. A custom class-resolution allowlist may be useful if:\n\n- you can change the code that does the deserialization;\n- you know what classes you expect to deserialize.\n\nThe general idea is to override `ObjectInputStream.resolveClass()` to restrict ordinary class resolution during deserialization.\n\nThis does not check every object: the [serialization specification](https:\u002F\u002Fdocs.oracle.com\u002Fen\u002Fjava\u002Fjavase\u002F17\u002Fdocs\u002Fspecs\u002Fserialization\u002Finput.html#the-objectinputstream-class) handles strings separately and resolves dynamic proxy class descriptors through `resolveProxyClass()`.\n\nThe following example allows only `Bicycle` through `resolveClass()`. It is an illustrative class check, not a complete deserialization defense:\n\n```java\npublic class LookAheadObjectInputStream extends ObjectInputStream {\n\n    public LookAheadObjectInputStream(InputStream inputStream) throws IOException {\n        super(inputStream);\n    }\n\n    \u002F**\n    * Restrict ordinary class resolution to our expected Bicycle class\n    *\u002F\n    @Override\n    protected Class\u003C?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException {\n        if (!desc.getName().equals(Bicycle.class.getName())) {\n            throw new InvalidClassException(\"Unauthorized deserialization attempt\", desc.getName());\n        }\n        return super.resolveClass(desc);\n    }\n}\n```\n\nUse [serialization filtering](https:\u002F\u002Fdocs.oracle.com\u002Fen\u002Fjava\u002Fjavase\u002F17\u002Fcore\u002Fserialization-filtering1.html) to combine a class allowlist with limits on graph depth, references, array lengths, and stream bytes. Also bound the serialized input size separately: filters are not called for concretely encoded strings or primitives. Filtering does not make arbitrary untrusted deserialization safe.\n\nMore complete implementations of this approach have been proposed by various community members:\n\n- [NibbleSec](https:\u002F\u002Fgithub.com\u002Fikkisoft\u002FSerialKiller) - a library that allows creating lists of classes that are allowed to be deserialized\n- [IBM](https:\u002F\u002Fwww.ibm.com\u002Fdeveloperworks\u002Flibrary\u002Fse-lookahead\u002F) - the seminal protection, written years before the most devastating exploitation scenarios were envisioned.\n- [Apache Commons IO classes](https:\u002F\u002Fcommons.apache.org\u002Fproper\u002Fcommons-io\u002Fjavadocs\u002Fapi-2.5\u002Forg\u002Fapache\u002Fcommons\u002Fio\u002Fserialization\u002FValidatingObjectInputStream.html)\n\n#### Harden All java.io.ObjectInputStream Usage with an Agent\n\nAs mentioned above, the `java.io.ObjectInputStream` class is used to deserialize objects. It's possible to harden its behavior by subclassing it. However, if you don't own the code or can't wait for a patch, using an agent to weave in hardening to `java.io.ObjectInputStream` is the best solution.\n\nGlobally changing `ObjectInputStream` is only safe for block-listing known malicious types, because it's not possible to know for all applications what the expected classes to be deserialized are. Fortunately, there are very few classes needed in the denylist to be safe from all the known attack vectors, today.\n\nIt's inevitable that more \"gadget\" classes will be discovered that can be abused. However, there is an incredible amount of vulnerable software exposed today, in need of a fix. In some cases, \"fixing\" the vulnerability may involve re-architecting messaging systems and breaking backwards compatibility as developers move towards not accepting serialized objects.\n\nTo enable these agents, simply add a new JVM parameter:\n\n```text\n-javaagent:name-of-agent.jar\n```\n\nAgents taking this approach have been released by various community members:\n\n- [rO0 by Contrast Security](https:\u002F\u002Fgithub.com\u002FContrast-Security-OSS\u002Fcontrast-rO0)\n\nA similar, but less scalable approach would be to manually patch and bootstrap your JVM's ObjectInputStream. Guidance on this approach is available [here](https:\u002F\u002Fgithub.com\u002Fwsargent\u002Fparanoid-java-serialization).\n\n#### Other Deserialization Libraries and Formats\n\nWhile the advice above is focused on [Java's Serializable format](https:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002F7\u002Fdocs\u002Fapi\u002Fjava\u002Fio\u002FSerializable.html), there are a number of other libraries\nthat use other formats for deserialization. Many of these libraries may have similar security\nissues if not configured correctly. This section lists some of these libraries and\nrecommended configuration options to avoid security issues when deserializing untrusted data:\n\n**Can be used safely with default configuration:**\n\nThe following libraries can be used safely with default configuration:\n\n- **[fastjson2](https:\u002F\u002Fgithub.com\u002Falibaba\u002Ffastjson2)** (JSON) - can be used safely as long as\nthe [**autotype**](https:\u002F\u002Fgithub.com\u002Falibaba\u002Ffastjson2\u002Fwiki\u002Ffastjson2_autotype_cn) option is not turned on\n- **[jackson-databind](https:\u002F\u002Fgithub.com\u002FFasterXML\u002Fjackson-databind)** (JSON) - can be used safely as long\nas polymorphism is not used ([see blog post](https:\u002F\u002Fcowtowncoder.medium.com\u002Fon-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062))\n- **[Kryo v5.0.0+](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fkryo)** (custom format) - can be used safely\nas long as class registration is not turned **off** ([see documentation](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fkryo#optional-registration)\nand [this issue](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fkryo\u002Fissues\u002F929))\n- **[YamlBeans v1.16+](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fyamlbeans)** (YAML) - can be used safely\nas long as the **UnsafeYamlConfig** class isn't used (see [this commit](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fyamlbeans\u002Fcommit\u002Fb1122588e7610ae4e0d516c50d08c94ee87946e6))\n    - *NOTE: because these versions are not available in Maven Central,\n[a fork exists](https:\u002F\u002Fgithub.com\u002FContrast-Security-OSS\u002Fyamlbeans) that can be used instead.*\n- **[XStream v1.4.17+](https:\u002F\u002Fx-stream.github.io\u002F)** (JSON and XML) - can be used safely\nas long as the allowlist and other security controls are not relaxed ([see documentation](https:\u002F\u002Fx-stream.github.io\u002Fsecurity.html))\n\n**Requires configuration before can be used safely:**\n\nThe following libraries require configuration options to be set before they can be used safely:\n\n- **[fastjson v1.2.68+](https:\u002F\u002Fgithub.com\u002Falibaba\u002Ffastjson)** (JSON) - cannot be used safely unless\nthe [**safemode**](https:\u002F\u002Fgithub.com\u002Falibaba\u002Ffastjson\u002Fwiki\u002Ffastjson_safemode_en) option is turned on, which disables\ndeserialization of any class ([see documentation](https:\u002F\u002Fgithub.com\u002Falibaba\u002Ffastjson\u002Fwiki\u002Fenable_autotype)).\nPrevious versions are not safe.\n- **[json-io](https:\u002F\u002Fgithub.com\u002Fjdereg\u002Fjson-io)** (JSON) - cannot be used safely since the use of **@type** property in\nJSON allows deserialization of any class. Can only be used safely in following situations:\n    - In [non-typed mode](https:\u002F\u002Fgithub.com\u002Fjdereg\u002Fjson-io\u002Fblob\u002Fmaster\u002Fuser-guide.md#non-typed-usage) using the **JsonReader.USE_MAPS** setting which turns off generic object deserialization\n    - [With a custom deserializer](https:\u002F\u002Fgithub.com\u002Fjdereg\u002Fjson-io\u002Fblob\u002Fmaster\u002Fuser-guide.md#customization-technique-4-custom-serializer) controlling which classes get deserialized\n- **[Kryo \u003C v5.0.0](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fkryo)** (custom format) - cannot be used safely unless class registration is turned **on**,\nwhich disables deserialization of any class ([see documentation](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fkryo#optional-registration)\nand [this issue](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fkryo\u002Fissues\u002F929))\n    - *NOTE: other wrappers exist around Kryo such as [Chill](https:\u002F\u002Fgithub.com\u002Ftwitter\u002Fchill), which may also have class registration\nnot required by default regardless of the underlying version of Kryo being used*\n- **[SnakeYAML](https:\u002F\u002Fbitbucket.org\u002Fsnakeyaml\u002Fsnakeyaml\u002Fsrc)** (YAML) - cannot be used safely unless\nthe **org.yaml.snakeyaml.constructor.SafeConstructor** class is used, which disables\ndeserialization of any class ([see docs](https:\u002F\u002Fbitbucket.org\u002Fsnakeyaml\u002Fsnakeyaml\u002Fwiki\u002FCVE-2022-1471))\n\n**Cannot be used safely:**\n\nThe following libraries are either no longer maintained or cannot be used safely with untrusted input:\n\n- **[Castor](https:\u002F\u002Fgithub.com\u002Fcastor-data-binding\u002Fcastor)** (XML) - appears to be abandoned with no commits since 2016\n- **[fastjson \u003C v1.2.68](https:\u002F\u002Fgithub.com\u002Falibaba\u002Ffastjson)** (JSON) - these versions allows deserialization of any class\n([see documentation](https:\u002F\u002Fgithub.com\u002Falibaba\u002Ffastjson\u002Fwiki\u002Fenable_autotype))\n- **[XMLDecoder in the JDK](https:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002F8\u002Fdocs\u002Fapi\u002Fjava\u002Fbeans\u002FXMLDecoder.html)** (XML) - *\"close to impossible to securely deserialize Java objects in this format from untrusted inputs\"*\n(\"Red Hat Defensive Coding Guide\", [end of section 2.6.5](https:\u002F\u002Fredhat-crypto.gitlab.io\u002Fdefensive-coding-guide\u002F#sect-Defensive_Coding-Tasks-Serialization-XML))\n- **[XStream \u003C v1.4.17](https:\u002F\u002Fx-stream.github.io\u002F)** (JSON and XML) - these versions allows deserialization of any class (see [documentation](https:\u002F\u002Fx-stream.github.io\u002Fsecurity.html#explicit))\n- **[YamlBeans \u003C v1.16](https:\u002F\u002Fgithub.com\u002FEsotericSoftware\u002Fyamlbeans)** (YAML) - these versions allows deserialization of any class\n(see [this document](https:\u002F\u002Fgithub.com\u002FContrast-Security-OSS\u002Fyamlbeans\u002Fblob\u002Fmain\u002FSECURITY.md))\n\n### .Net CSharp\n\n#### Clear-box Review\n\nSearch the source code for the following terms:\n\n1. `TypeNameHandling`\n2. `JavaScriptTypeResolver`\n\nLook for any serializers where the type is set by a user controlled variable.\n\n#### Opaque-box Review\n\nSearch for the following base64 encoded content that starts with:\n\n```text\nAAEAAAD\u002F\u002F\u002F\u002F\u002F\n```\n\nSearch for content with the following text:\n\n1. `TypeObject`\n2. `$type:`\n\n#### General Precautions\n\nMicrosoft has stated that the `BinaryFormatter` type is dangerous and cannot be secured. As such, it should not be used. Full details are in the [BinaryFormatter security guide](https:\u002F\u002Fdocs.microsoft.com\u002Fen-us\u002Fdotnet\u002Fstandard\u002Fserialization\u002Fbinaryformatter-security-guide).\n\nDon't allow the datastream to define the type of object that the stream will be deserialized to. You can prevent this by for example using the `DataContractSerializer` or `XmlSerializer` if at all possible.\n\nWhere `JSON.Net` is being used make sure the `TypeNameHandling` is only set to `None`.\n\n```csharp\nTypeNameHandling = TypeNameHandling.None\n```\n\nIf `JavaScriptSerializer` is to be used then do not use it with a `JavaScriptTypeResolver`.\n\nIf you must deserialize data streams that define their own type, then restrict the types that are allowed to be deserialized. One should be aware that this is still risky as many native .Net types potentially dangerous in themselves. e.g.\n\n```csharp\nSystem.IO.FileInfo\n```\n\n`FileInfo` objects that reference files actually on the server can when deserialized, change the properties of those files e.g. to read-only, creating a potential denial of service attack.\n\nEven if you have limited the types that can be deserialized remember that some types have properties that are risky. `System.ComponentModel.DataAnnotations.ValidationException`, for example has a property `Value` of type `Object`. if this type is the type allowed for deserialization then an attacker can set the `Value` property to any object type they choose.\n\nAttackers should be prevented from steering the type that will be instantiated. If this is possible then even `DataContractSerializer` or `XmlSerializer` can be subverted e.g.\n\n```csharp\n\u002F\u002F Action below is dangerous if the attacker can change the data in the database\nvar typename = GetTransactionTypeFromDatabase();\n\nvar serializer = new DataContractJsonSerializer(Type.GetType(typename));\n\nvar obj = serializer.ReadObject(ms);\n```\n\nExecution can occur within certain .Net types during deserialization. Creating a control such as the one shown below is ineffective.\n\n```csharp\nvar suspectObject = myBinaryFormatter.Deserialize(untrustedData);\n\n\u002F\u002FCheck below is too late! Execution may have already occurred.\nif (suspectObject is SomeDangerousObjectType)\n{\n    \u002F\u002Fgenerate warnings and dispose of suspectObject\n}\n```\n\nFor `JSON.Net` it is possible to create a safer form of allow-list control using a custom `SerializationBinder`.\n\nTry to keep up-to-date on known .Net insecure deserialization gadgets and pay special attention where such types can be created by your deserialization processes. **A deserializer can only instantiate types that it knows about**.\n\nTry to keep any code that might create potential gadgets separate from any code that has internet connectivity. As an example `System.Windows.Data.ObjectDataProvider` used in WPF applications is a known gadget that allows arbitrary method invocation. It would be risky to have this a reference to this assembly in a REST service project that deserializes untrusted data.\n\n#### Known .NET RCE Gadgets\n\n- `System.Configuration.Install.AssemblyInstaller`\n- `System.Activities.Presentation.WorkflowDesigner`\n- `System.Windows.ResourceDictionary`\n- `System.Windows.Data.ObjectDataProvider`\n- `System.Windows.Forms.BindingSource`\n- `Microsoft.Exchange.Management.SystemManager.WinForms.ExchangeSettingsProvider`\n- `System.Data.DataViewManager, System.Xml.XmlDocument\u002FXmlDataDocument`\n- `System.Management.Automation.PSObject`\n\n## Language-Agnostic Methods for Deserializing Safely\n\n### Using Alternative Data Formats\n\nA great reduction of risk is achieved by avoiding native (de)serialization formats. By switching to a pure data format like JSON or XML, you lessen the chance of custom deserialization logic being repurposed towards malicious ends.\n\nMany applications rely on a [data-transfer object pattern](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FData_transfer_object) that involves creating a separate domain of objects for the explicit purpose data transfer. Of course, it's still possible that the application will make security mistakes after a pure data object is parsed.\n\n### Only Deserialize Signed Data\n\nIf the application knows before deserialization which messages will need to be processed, they could sign them as part of the serialization process. The application could then to choose not to deserialize any message which didn't have an authenticated signature.\n\n## Mitigation Tools\u002FLibraries\n\n- [Java secure deserialization library](https:\u002F\u002Fgithub.com\u002Fikkisoft\u002FSerialKiller)\n- [SWAT - tool for creating allowlists](https:\u002F\u002Fgithub.com\u002Fcschneider4711\u002FSWAT)\n- [NotSoSerial](https:\u002F\u002Fgithub.com\u002Fkantega\u002Fnotsoserial)\n\n## Detection Tools\n\n- [Java deserialization cheat sheet aimed at pen testers](https:\u002F\u002Fgithub.com\u002FGrrrDog\u002FJava-Deserialization-Cheat-Sheet)\n- [A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.](https:\u002F\u002Fgithub.com\u002Ffrohoff\u002Fysoserial)\n- [Java De-serialization toolkits](https:\u002F\u002Fgithub.com\u002Fbrianwrf\u002FhackUtils)\n- [Java de-serialization tool](https:\u002F\u002Fgithub.com\u002Ffrohoff\u002Fysoserial)\n- [.Net payload generator](https:\u002F\u002Fgithub.com\u002Fpwntester\u002Fysoserial.net)\n- [Burp Suite extension](https:\u002F\u002Fgithub.com\u002Ffedericodotta\u002FJava-Deserialization-Scanner\u002Freleases)\n- [Java secure deserialization library](https:\u002F\u002Fgithub.com\u002Fikkisoft\u002FSerialKiller)\n- [Serianalyzer is a static bytecode analyzer for deserialization](https:\u002F\u002Fgithub.com\u002Fmbechler\u002Fserianalyzer)\n- [Payload generator](https:\u002F\u002Fgithub.com\u002Fmbechler\u002Fmarshalsec)\n- [Android Java Deserialization Vulnerability Tester](https:\u002F\u002Fgithub.com\u002Fmodzero\u002Fmodjoda)\n- Burp Suite Extension\n    - [JavaSerialKiller](https:\u002F\u002Fgithub.com\u002FNetSPI\u002FJavaSerialKiller)\n    - [Java Deserialization Scanner](https:\u002F\u002Fgithub.com\u002Ffedericodotta\u002FJava-Deserialization-Scanner)\n    - [Burp-ysoserial](https:\u002F\u002Fgithub.com\u002Fsummitt\u002Fburp-ysoserial)\n    - [SuperSerial](https:\u002F\u002Fgithub.com\u002FDirectDefense\u002FSuperSerial)\n    - [SuperSerial-Active](https:\u002F\u002Fgithub.com\u002FDirectDefense\u002FSuperSerial-Active)\n\n## References\n\n- [Oracle Java 17: Serialization Filtering](https:\u002F\u002Fdocs.oracle.com\u002Fen\u002Fjava\u002Fjavase\u002F17\u002Fcore\u002Fserialization-filtering1.html)\n- [Microsoft: Deserialization Risks in Use of BinaryFormatter and Related Types](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Fstandard\u002Fserialization\u002Fbinaryformatter-security-guide)\n- [Python: pickle Security Warning](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fpickle.html)\n",{},"main","5d0a87185c0e172c3901e2a6e5916b6d544b8b94","skills\u002Fdeserialization-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance","https:\u002F\u002Fgithub.com\u002FJunMystery","AI is the typist, I am the architect. Building efficient, secure, and user-centric products through disciplined AI prompt engineering.","2026-11-13 17:41:25",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add JunMystery\u002FAgent-Guidance --skill deserialization-cheat-sheet",{"tool":35,"command":36},"bunx","bunx skills add JunMystery\u002FAgent-Guidance --skill deserialization-cheat-sheet",{"tool":38,"command":39},"pnpm","pnpm dlx skills add JunMystery\u002FAgent-Guidance --skill deserialization-cheat-sheet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fdeserialization-cheat-sheet\u002FSKILL.md",true,[],[44,50,56,62,68,74],{"skillNo":45,"name":46,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":47,"categories":48,"keywords":49,"publishedAt":18},"01M79QR1E309VJ6CTQKB32AWWA","zero-trust-architecture-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-architecture-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M79QQV7GHYR02DYGN41S23WN","xss-filter-evasion-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxss-filter-evasion-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M79QQNSN7YB8XB61FFSCS3WH","xs-leaks-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxs-leaks-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M79QQHZZJKFDY9132G5A65C2","xpath-injection-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxpath-injection-prevention-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M79QQB9ZSD3DJG8658EHQXR1","xml-security-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-security-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M79QQ60WKV7PFMXWT9CW8PM6","xml-external-entity-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-external-entity-prevention-cheat-sheet\u002FSKILL.md",[],[]]