security-review

Review ASP.NET Core and React code against OWASP Top 10 security checklists.

10|3|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Cynthia1070711/PHYCOOL_Tools --skill security-review-cynthia1070711
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/Cynthia1070711/PHYCOOL_Tools/tree/main/config-templates/claude/skills/security-review
Command: npx skills add https://github.com/Cynthia1070711/PHYCOOL_Tools --skill security-review-cynthia1070711

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It prevents common web application vulnerabilities from reaching production by giving developers a structured, OWASP-aligned security review checklist tailored to ASP.NET Core, SQL Server, and React stacks, including CI-based SAST and supply-chain scanning guidance. ## Core Features & Use Cases - OWASP Top 10 Checklist: Covers secrets management, input validation, SQL injection, XSS, CSRF, rate limiting, and sensitive data exposure with BAD/GOOD C# code patterns. - Automated SAST CI Integration: Documents Semgrep, Gitleaks, Trivy, and SBOM (Microsoft sbom-tool, SPDX 2.2) pipeline jobs with SARIF finding triage decision trees. - Compliance Integration: Connects security work to regulatory constraints (PII retention, e-invoice rules) via intentional decision records. - Use Case: When adding a new authenticated API endpoint that handles payment data, walk the checklist to verify parameterized queries, rate limiting, JWT cookie settings, and FluentValidation rules before merging. ## Quick Start Ask the AI to run a security review on the new authentication controller and check it against the OWASP checklist before committing.

Frequently Asked Questions about security-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent SQL injection in ASP.NET Core with EF Core?

Use EF Core LINQ queries, which are parameterized by default, and never concatenate user input into SQL strings. For raw SQL, use FromSqlInterpolated or SqlParameter, and validate dynamic sort or filter fields against a whitelist.

What is the difference between SBOM and SCA scanning?

SCA tools like Dependabot and npm audit alert you to currently known vulnerabilities in dependencies. An SBOM is a static, archivable inventory of all components (SPDX 2.2 format) used for compliance, incident response, and retroactive queries; the two are complementary, not redundant.

How do I triage Semgrep SARIF findings in GitHub Security tab?

ERROR-severity findings block PRs: fix true positives using secure code patterns, and suppress false positives via .semgrepignore or inline nosemgrep comments with a review date. Findings involving payment data or PII require immediate remediation and compliance checks.

Should JWT tokens be stored in localStorage or httpOnly cookies?

Store JWT tokens in httpOnly cookies, not localStorage, to prevent XSS-based token theft. Configure cookies with Secure and SameSite attributes, and use JWT Bearer tokens for API endpoints which are naturally CSRF-immune.

Why does Trivy or Syft produce empty SBOMs for .NET projects?

Trivy and Syft do not parse bare .csproj files without packages.lock.json, producing silently empty .NET SBOMs. Microsoft sbom-tool uses component-detection that natively parses bare .csproj files, making it suitable for NuGet plus npm projects.

How do I implement rate limiting in ASP.NET Core APIs?

Use Microsoft.AspNetCore.RateLimiting with fixed window limiters, applying stricter limits to expensive operations like login, search, or PDF generation. Combine IP-based and user-based limiting, and annotate controllers with EnableRateLimiting attributes.