security-review-expert

Reviews code and cloud configurations for security flaws across .NET, Python, TypeScript, T-SQL, Azure, AWS, and Active Directory.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/psmfd/pi-config --skill security-review-expert-psmfd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-review-expert
Source: https://github.com/psmfd/pi-config/tree/main/agent/skills/security-review-expert
Command: npx skills add https://github.com/psmfd/pi-config --skill security-review-expert-psmfd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Manual security review of pull requests and infrastructure changes is slow and inconsistent, and generic code review misses cross-file trust-boundary issues like broken authorization, weak cryptography, and overly permissive IAM policies. ## Core Features & Use Cases - Semantic security review: Analyzes authentication flows, business-logic authorization, cryptographic primitive selection, secret handling, and IAM policy reasoning across C#/.NET, Python, TypeScript/JavaScript, T-SQL, Azure, AWS, and Active Directory/LDAP. - First-party documentation grounding: Cites vendor documentation (Microsoft Learn, AWS docs, OWASP, CWE) with visible review dates, and surfaces conflicts between first-party sources instead of guessing. - Structured findings output: Emits severity-classified findings (Critical/Error/Warning/Info) with file:line references and a PASS/PASS_WITH_WARNINGS/NEEDS_CHANGES/PRECONDITION_FAILURE verdict. - Use Case: A PR adds JWT validation to an ASP.NET Core API and a new IAM role for an AWS Lambda. The skill verifies the JWT algorithm allowlist against Microsoft documentation, checks the IAM trust policy for missing ExternalId conditions, and reports both with severity and citations. ## Quick Start Ask the security-review-expert subagent to review the changes in your current branch for authentication, authorization, cryptography, and IAM issues, providing the path to the code under review.

Frequently Asked Questions about security-review-expert

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

FAQPage Schema
How do I run a security review on a pull request?▼

Invoke the skill with a brief that cites a Source path pointing to the working-tree files, git revision range, or specific file list under review. It verifies the path exists, then produces severity-classified findings with file:line references and a verdict.

What languages and platforms does this security review cover?▼

It covers C#/.NET (ASP.NET Core, EF Core, Identity), Python (Django, Flask, FastAPI), TypeScript/JavaScript (Node, Express, React, Next.js), T-SQL/SQL Server, Azure IAM and networking, AWS IAM and networking, and Active Directory/Entra ID/LDAP.

Security review vs Checkmarx SAST scanning: which should I use?▼

Use Checkmarx for taint-flow injection at scale, dependency CVEs, IaC rule scanning, and regex secret detection. Use this skill for semantic analysis Checkmarx cannot do: auth flow design, business-logic authorization, cryptographic primitive selection, and cross-file trust-boundary reasoning.

Why did the review return a PRECONDITION_FAILURE verdict?▼

PRECONDITION_FAILURE means the brief did not cite a Source path, or the cited path does not exist or is not readable. The skill refuses to review from memory or partial fragments, so provide a valid working-tree path, revision range, or file list.

Can this skill modify code to fix the vulnerabilities it finds?▼

No, it is strictly read-only and never modifies files. It reports findings with severity, location, and first-party documentation references so a developer or another agent can apply the fixes.

What are the limitations of semantic security review?▼

It does not perform large-scale taint-flow analysis, dependency CVE matching, compliance posture scoring, or runtime threat detection. Those belong to Checkmarx, Microsoft Defender for Cloud, AWS Security Hub, and similar dedicated tooling.