Skip to main content
skill CX Codex

dotnet-security-owasp — Claude Code skill: what it does

dotnet-security-owasp flags OWASP Top 10 vulnerabilities in .NET solutions and guides safe coding. Useful for reviewing ASP.NET Core endpoints and data queries.

no license 175 installs ★ 92 updated 2026-02-27

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a claude-code
Open on GitHub

What dotnet-security-owasp does

This skill guides coding assistants through OWASP Top 10 (2021) risks specific to .NET. It spots string concatenation in SQL queries via FromSqlRaw, raw process execution, and missing endpoint authorization handlers. It also flags deprecated runtime mechanisms like BinaryFormatter, DCOM, APTCA, and .NET Remoting.

Mitigation recipes rely on modern framework tools. The skill prompts you to apply fallback authorization policies, use FromSqlInterpolated for parameter safety, and encrypt application payload via Data Protection API.

Token-level OAuth implementation and cloud stores like AWS Secrets Manager are intentionally out of scope. Silently bypassing CORS rules with SetIsOriginAllowed poses a direct security trap in ASP.NET Core, and this skill catches that bug before production.

What it helps with

  • review ASP.NET Core controllers for missing authorization attributes and IDOR
  • replace risky SQL string concatenation with parameterized LINQ or interpolation
  • audit codebase for deprecated APIs such as BinaryFormatter and DCOM
  • prevent cross-site scripting by properly encoding Minimal API responses

Example prompts for the agent

  • Review DocumentEndpoints.cs for IDOR flaws and broken access control
  • Audit my EF Core queries for potential SQL injection vulnerabilities
  • Show how to configure ASP.NET Core built-in rate limiting safely

How to install dotnet-security-owasp

1Skills CLI (Vercel)

npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a claude-code

2Manually: put the files in place

~/.claude/skills/dotnet-security-owasp/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/dotnet-security-owasp/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about dotnet-security-owasp

How do I install dotnet-security-owasp in Claude Code?

Run npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a claude-code in your terminal.

What does dotnet-security-owasp do?

It adds OWASP Top 10 evaluation guidance and defensive code templates to your AI assistant. You get immediate checks for access control issues, injection bugs, and risky CORS setups in .NET.

Does this skill configure Azure Key Vault or AWS Secrets Manager?

No, cloud secret stores and cryptographic algorithm picking are deliberately out of scope. It focuses on application-level defenses, input sanitization, and deprecated framework features.

Similar skills

All skills for Security →

From the same set24

The whole set →
dotnet-domain-modeling dotnet-domain-modeling guides pure C# Domain-Driven Design modeling with entities, aggregate roots, value objects, and domain events, keeping business logic isolated from ORM concerns. CX Codex +1 539installs dotnet-wpf-modern dotnet-wpf-modern — a skill that steers your coding agent through modern WPF: generic host, MVVM Toolkit, Fluent theme, current C# features. CX Codex +1 358installs dotnet-winforms-basics dotnet-winforms-basics teaches coding agents how to build WinForms apps on modern .NET 8+. Helps configure dependency injection, SDK-style projects, and high-DPI scaling. CX Codex +1 295installs dotnet-csharp-code-smells dotnet-csharp-code-smells — a C# review skill: the agent catches leaked IDisposable, misused async and DI, suppressed warnings and other anti-patterns while it plans, writes or reviews code. CX Codex +1 180installs dotnet-api-security dotnet-api-security is a Claude Code skill that handles authentication and authorization in ASP.NET Core APIs. CX Codex +1 169installs dotnet-csharp-async-patterns dotnet-csharp-async-patterns teaches AI agents proper C# async patterns, stopping common blunders like .Result deadlocks, unhandled fire-and-forget tasks, and dropped cancellation tokens. CX Codex +1 136installs dotnet-architecture-patterns dotnet-architecture-patterns guides scalable .NET Minimal API architecture using vertical slices, route groups, endpoint filters, and structured error handling. CX Codex +1 125installs dotnet-csharp-dependency-injection dotnet-csharp-dependency-injection guides Microsoft DI in .NET, from service lifetimes and keyed registrations to decoration and hosted workers. CX Codex +1 125installs

Project sponsors

Companies that keep this analytics open