C# security best practices

Proprietary

Applies C# security best practices: replaces predictable System.Random with RandomNumberGenerator, and finds weak hashes and ciphers, insecure deserialization, XML external entity processing, disabled TLS certificate validation, SQL injection and hardcoded credentials.

OpenRewrite.Recipes.CSharp.Security.SecurityBestPractices
mod run . --recipe=OpenRewrite.Recipes.CSharp.Security.SecurityBestPractices

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.