secure-code-review

Reviews code changes, dependencies, and configurations for exploitable security vulnerabilities with evidence-based reports.

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/JustinChangTW/ai-skills-core --skill secure-code-review-justinchangtw
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: secure-code-review
Source: https://github.com/JustinChangTW/ai-skills-core/tree/main/skills/02-cybersecurity/secure-code-review
Command: npx skills add https://github.com/JustinChangTW/ai-skills-core --skill secure-code-review-justinchangtw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Security issues in pull requests, configuration files, and dependencies are often missed or buried under scanner false positives. This Skill performs evidence-driven application security reviews that trace data flow from inputs to dangerous operations, verify exploitability, and produce actionable remediation plans. ## Core Features & Use Cases - Evidence-Based Vulnerability Review: Traces data flow from entry points to dangerous sinks across PRs, diffs, source code, IaC, APIs, and lockfiles, separating confirmed findings from false positives. - SAST/SCA/SARIF Result Triage: Re-validates scanner output against actual code paths, deduplicates root causes, and re-grades severity based on reachability and real impact. - Financial System Hardening Checks: Applies specialized checks for transaction integrity, replay protection, Maker-Checker bypass, and BOLA/IDOR in banking and fintech APIs. - Use Case: Before merging a login PR, ask for a security review; the Skill scopes the diff, checks authentication, session, and injection risks, and returns a report distinguishing confirmed vulnerabilities from hardening suggestions without auto-applying patches. ## Quick Start Ask the AI to review your current pull request or code diff for security vulnerabilities such as injection, authentication flaws, and exposed secrets, and produce a severity-graded report with remediation steps.

Frequently Asked Questions about secure-code-review

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

FAQPage Schema
How do I review a pull request for security vulnerabilities?▼

Provide the PR diff and base branch, and the review traces data flow from external inputs to dangerous sinks across authentication, injection, session, and dependency risks. Findings are classified as confirmed, needs-review, hardening, or rejected with evidence chains.

How to triage false positives in Semgrep SARIF results?▼

Each SARIF finding is re-validated against the actual code path rather than trusting scanner severity. The review checks reachability, existing mitigations, and attacker preconditions, then merges duplicate root causes and re-grades severity.

Can this check dependencies for known CVEs?▼

Yes, dependency review queries live official sources such as maintainer advisories, GitHub Security Advisories, NVD, and CISA KEV rather than static version lists. It verifies the actual locked version, dependency path, and whether the vulnerable function is reachable.

Does it support security review of banking or financial APIs?▼

Yes, a dedicated financial-controls checklist covers transaction state integrity, replay protection, idempotency, Maker-Checker bypass, and BOLA/IDOR. Regulatory compliance conclusions are handed off to a separate Taiwan ISMS audit skill.

Will it automatically fix or patch the vulnerabilities it finds?▼

No, patches are only proposed as drafts for developer review by default. Code is modified only when explicitly requested, and the Skill never auto-commits, deploys, rotates production secrets, or runs attacks against unauthorized targets.

When should I not use automated code security review?▼

It does not cover pure ISMS or regulatory compliance audits, malware sample analysis, external threat intelligence, or unauthorized penetration testing. Those scenarios route to dedicated skills, and unowned external targets are refused.