C# and ASP.NET rules

Each rule includes the following information.

  • Rule Name: The Snyk name of the rule.

  • CWE(s): The CWE numbers that are covered by this rule.

  • Security Categories: The OWASP Top 10 (2021 edition) category to which the rule belongs to, if any, and if it is included in SANS 25.

  • Autofixable: Security rules that are autofixable by DeepCode AI Fix. This information is included only for the supported programming languages.

Rule Name
CWE(s)
Security Categories
Autofixable

Anti-forgery token validation disabled

CWE-352

Sans Top 25, OWASP:A01

Yes

Debug Features Enabled

CWE-215

None

Yes

Usage of BinaryFormatter

CWE-502

Sans Top 25, OWASP:A08

No

Cleartext Storage of Sensitive Information in a Cookie