Find insecure deserialization
ProprietaryFinds BinaryFormatter, SoapFormatter, NetDataContractSerializer, LosFormatter and ObjectStateFormatter, JavaScriptSerializer with a SimpleTypeResolver, and Json.NET TypeNameHandling settings other than None. Deserializing untrusted data with these lets an attacker instantiate arbitrary types and execute code.
OpenRewrite. Recipes. CSharp. Security. FindInsecureDeserializationmod run . --recipe= OpenRewrite. Recipes. CSharp. Security. FindInsecureDeserializationInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.