Security Review

Scan git diffs for secrets, injection flaws, and PII exposure.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/jimmymalhan/codereview-pilot --skill security-review-jimmymalhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Security Review
Source: https://github.com/jimmymalhan/codereview-pilot/tree/main/.claude/skills/security-review
Command: npx skills add https://github.com/jimmymalhan/codereview-pilot --skill security-review-jimmymalhan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automatically scans code changes for security vulnerabilities, secrets, and PII exposure, preventing insecure code from being merged.

Core Features & Use Cases

  • Secret Detection: Identifies hardcoded API keys, passwords, and other sensitive credentials.
  • Vulnerability Scanning: Detects common injection flaws and authentication issues.
  • PII Protection: Flags accidental logging of Personally Identifiable Information.
  • Use Case: Before a developer commits code, this Skill runs as a pre-commit hook to scan staged changes. If a secret is found, the commit is blocked, and the developer is prompted to fix the issue.

Quick Start

Run the security review skill on the current git diff to check for vulnerabilities.

Frequently Asked Questions about Security Review

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

FAQPage Schema
How do I scan code changes for secrets and vulnerabilities before committing?

To scan code changes for secrets and vulnerabilities before committing, you can run a security review on your staged git diff to detect hardcoded credentials, injection flaws, and PII exposure, blocking risky commits before they are merged.

How does pre-commit secret detection work for preventing hardcoded API keys?

Pre-commit secret detection works by scanning staged file lists and git diff output against predefined patterns to identify hardcoded API keys and passwords, failing the commit hook and prompting the developer to remove the exposed credentials.

Can I use automated vulnerability scanning to check for PII exposure in git diffs?

You can use automated vulnerability scanning to check for PII exposure in git diffs by applying predefined patterns to code changes, which flags accidental logging of sensitive information before pre-PR checks or manual audits.

What is the best way to block risky commits containing authentication issues?

The best way to block risky commits containing authentication issues is to implement an automated security review as a pre-commit hook, which flags potential security threats in your code changes according to predefined fail conditions.

Do I need git diff output to run an automated security review on my code?

Yes, you need git diff output and file lists to run an automated security review, because the scanning mechanism relies on analyzing these specific code changes to identify and flag potential security threats.

When should I run an injection vulnerability scan during the development workflow?

You should run an injection vulnerability scan during pre-commit hooks, pre-PR checks, or manual audits of code diffs to ensure insecure code containing authentication issues or injection flaws is caught before merging.