awesome-dotnet-security
github.com/guardrailsio/awesome-dotnet-security ↗Awesome .NET Security Resources
Use this list with your AI agent
Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:
"Show me articles, guides & talks resources from awesome-dotnet-security"
Installation instructions →What's inside
Articles, Guides & Talks
- Anti-Request Forgery
Prevent Cross-Site Request Forgery (XSRF/CSRF) attacks.
- Hardening the security of your ASP.NET core apps
Lessons learned after a third-party penetration test.
- .NET Security Cheat Sheet
Quick, basic .NET security tips for developers.
- Prevent Cross-Site Scripting
Prevent Cross-Site Scripting (XSS).
- Protect Secrets in Development
Safe storage of app secrets in development
- Secure Coding Guidelines
Microsoft's take on secure coding guidelines.
Libraries
- AspNetCoreRateLimit
Package that will let you set rate limits for your .NET Core Api.
- AspNetSaml
SAML client library, allows adding SAML single-sign-on to your ASP.NET app.
- HtmlSanitizer
Cleans HTML to avoid XSS attacks.
- JWT .NET
Jwt.Net, a JWT (JSON Web Token) implementation for .NET.
- .NET Core Security Headers
Middleware for adding security headers to an ASP.NET Core application.
- NetEscapades.AspNetCore.SecurityHeaders
Small package to allow adding security headers to ASP.NET Core websites.
Hacking Playgrounds
- ASP.NET Vulnerable Site
Online .NET application that can be used to practice hacking.
- Damn Vulnerable Thick Client App
DVTA is a Vulnerable Thick Client Application developed in C# .NET
- The Most Vulnerable .NET App
A GitHub repository featuring an application with over 50 interactive security vulnerabilities.
- WebGoat.NET
OWASP WebGoat.NET
Vulnerabilities and Security Advisories
- Audit.NET
Identify known vulnerabilities in .net NuGet dependencies.
- Common Vulnerabilities and Exposures
Vulnerabilities in .NET Core that were assigned a CVE.
- National Vulnerability Database
.NET related known vulnerabilities in the National Vulnerability Database.
- .NET Security Announcements
Watch this repo to receive security announcements in .NET Core
- NuGet tool package
Nuget tool package for OWASP Dependency Check
- OWASP Dependency Check
Nuget tool package for OWASP Dependency Check
Static Code Analysis
- DevSkim
DevSkim is a set of IDE plugins and rules that provide security "linting" capabilities.
- GuardRails
Continuous verification platform that integrates tightly with leading version control systems.
- Puma Scan
Puma Scan is a .NET software secure code analysis tool providing real time, continuous source code analysis.
- Security Code Scan
Vulnerability Patterns Detector for C# and VB.NET.
- SonarQube
SonarC# and SonarVB are static code analyser for C# and VB.NET languages used as an extension for the SonarQube and SonarCloud platforms. It will allow you to produce stable and easily supported code by helping you to find and to correct bugs, vulnerabilities and smells in your code.
Reporting Bugs
Showing a sample of 35 resources. View the full list on GitHub →