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
npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/dotnet-security-owasp/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/dotnet-security-owasp/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a codex2Manually: put the files in place
.agents/skills/dotnet-security-owasp/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a cursor2Manually: put the files in place
.cursor/skills/dotnet-security-owasp/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wshaddix/dotnet-skills skills/dotnet-security-owasp2Manually: put the files in place
.github/skills/dotnet-security-owasp/SKILL.md1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a gemini-cli2Platform CLI
gemini skills install https://github.com/wshaddix/dotnet-skills --path skills/dotnet-security-owaspManually: put the files in place
.devin/skills/dotnet-security-owasp/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-security-owasp -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.