Skip to content
Back to skills

Dotnet Security Review

ASecurity

OWASP-based security review of .NET/.NET Framework apps with Telerik UI specialization. Detects framework and entry points, scans the OWASP Top 10 (2025) mapped to .NET patterns (deserialization, injection, auth, Telerik, crypto, secrets), and emits an exec summary plus graded findings. Use to audit .NET for vulnerabilities. Not for architecture grading (dotnet-architecture-checklist).

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentspythonrustgophpsqlapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add michaelalber/ai-toolkit --skill dotnet-security-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dotnet Security Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dotnet Security Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/michaelalber-dotnet-security-review/badge)](https://www.skillsdirectory.com/skills/michaelalber-dotnet-security-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dotnet-security-review
audience: team
description: >
  OWASP-based security review of .NET/.NET Framework apps with Telerik UI specialization.
  Detects framework and entry points, scans the OWASP Top 10 (2025) mapped to .NET patterns
  (deserialization, injection, auth, Telerik, crypto, secrets), and emits an exec summary plus
  graded findings. Use to audit .NET for vulnerabilities. Not for architecture grading
  (dotnet-architecture-checklist).
---

# .NET Security Review

> "Security is not a product, but a process."
> — Bruce Schneier

## Core Philosophy

Shared across the `dotnet` / `python` / `php` / `rust` security reviews — same values, language-specific threats.

**Non-Negotiable Constraints:**
1. **Evidence or it is not a finding** — Run the vulnerable-package scan; cite `file:line` and the OWASP category
2. **Detect the framework first** — WebForms (ViewState, `LosFormatter`) and modern ASP.NET Core have different threat surfaces; .NET Framework 4.x is also an EOL-risk finding
3. **Always run the Telerik section when Telerik is detected** — Unpatched RadAsyncUpload is a remote code execution risk
4. **Architecture, not here** — Structural/maintainability issues belong to `dotnet-architecture-checklist` — note and route
5. **Federal/gov context → escalate** — If NIST/FIPS/CUI/DOE applies, run `security-review-federal` after this base review

| # | Value | What it means |
|---|-------|---------------|
| 1 | **Validate at boundaries** | Every external input validated and typed at the edge (model validation/FluentValidation); never trust client data. |
| 2 | **Parameterized queries only** | No string-concatenated SQL; EF Core / parameterized ADO.NET everywhere. |
| 3 | **Secrets out of code** | No hardcoded secrets; user-secrets / Key Vault / env; never logged. |
| 4 | **Authn/authz at every boundary** | `[Authorize]` / policy checks server-side at each trust boundary; deny by default. |
| 5 | **Least privilege & safe defaults** | Minimal permissions; secure defaults; fail closed. |
| 6 | **Protect data in transit & at rest** | No sensitive data (passwords, tokens, PII) in logs; HTTPS/HSTS; encryption at rest. |
| 7 | **Dependencies pinned & audited** | Versions pinned; `dotnet list package --vulnerable` in CI; supply chain reviewed. |
| 8 | **Evidence-based, graded findings** | Every finding cites `file:line` + OWASP category + severity; report is graded and manager-readable. |

## Workflow

Shared skeleton: `DETECT → SCAN → EXECUTIVE SUMMARY → GRADED FINDINGS`.

```
DETECT     Framework (.NET version / .NET Framework 4.x), app model (MVC/Razor/Blazor/API/WebForms),
           Telerik usage, and the data stores / external calls in scope.

SCAN       Walk the .NET Threat Checklist below, one OWASP category at a time. Gather evidence:
             dotnet list package --vulnerable --include-transitive   # known CVEs
             grep -rn "BinaryFormatter\|new SqlCommand(\"\|FromSqlRaw\|Html.Raw\|ValidateAntiForgeryToken"
           Every issue becomes a finding with file:line, OWASP category, and severity.

EXEC SUMMARY  Manager-friendly: risk grade, count by severity, top 3 risks in plain language.

FINDINGS      Technical table: severity · location · OWASP · finding · remediation.
```

**Load on demand — `references/operating-guide.md`:** .NET Threat Checklist, AI Discipline Rules. Deeper detail: `references/dotnet-security-checklist.md`, `references/owasp-top-10.md`, `references/telerik-security.md`.

## State Block

```
<security-review-state>
language: dotnet
mode: DETECT | SCAN | EXEC-SUMMARY | FINDINGS | COMPLETE
detected: [framework | app model | telerik:y/n | data stores]
owasp_covered: [A01..A10 progress]
findings: [critical:N high:N medium:N low:N]
last_action: [what was just done]
next_action: [what should happen next]
</security-review-state>
```

## Output Template

Shared across all four security reviews. Executive summary templates: [executive summary](references/executive-summary-templates.md).

```markdown
## Security Review: [project] (.NET)
**Framework**: [version] | **App model**: [MVC/Blazor/API/WebForms] | **Risk grade**: [A–F]

### Executive Summary (manager-friendly)
[2–3 sentences: overall posture, the most serious risk in plain language, recommended next step.]
Findings: Critical [N] · High [N] · Medium [N] · Low [N]

### Technical Findings
| Severity | Location | OWASP | Finding | Remediation |
|----------|----------|-------|---------|-------------|
| CRITICAL | file:line | A03 | [pattern] | [fix] |

**Top 3 priorities**: 1. … 2. … 3. …
```

Risk grade: **A** no critical/high · **B** no critical, ≤2 high · **C** no critical, multiple high ·
**D** 1+ critical · **F** systemic (injection + secrets in code + broken access control).

## Integration with Other Skills

- **`security-review-federal`** — Federal/gov overlay (NIST 800-53, FIPS, CUI, POA&M) applied on top of this base review.
- **`dotnet-architecture-checklist`** — Companion for structure/maintainability; run first for context.
- **`supply-chain-audit`** — Deeper dependency/CVE and license analysis.
- **`python` / `php` / `rust`-security-review** — Sibling skills sharing this exact Core Values + workflow + output.

Files in this skill

  • SKILL.md5.1 KB
  • references/dotnet-security-checklist.md25.1 KB
  • references/executive-summary-templates.md9.5 KB
  • references/operating-guide.md2.4 KB
  • references/owasp-top-10.md13.7 KB
  • references/telerik-security.md13.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.