security • June 11, 2026

Copilot CLI Adds Security Review Command

GitHub added an experimental /security-review slash command to Copilot CLI in public preview. The command brings AI-driven vulnerability checks directly into terminal workflows before code reaches production branches.

Technical Signals

What Changed

The new Copilot CLI command gives developers a direct way to ask for a security review from the command line. That is useful because many risky edits are visible before CI starts: dependency changes, new deserialization paths, auth logic, data access, shell execution, and infrastructure templates.

Why It Matters

Security review tools fail when they arrive too late or speak only to security specialists. A terminal-native review command meets developers at the moment they are still shaping the patch. That can reduce expensive review loops, especially for small teams without dedicated application-security coverage.

How To Deploy It

Treat the command as one layer in a review stack. Let developers run it locally, store the summary in the pull request, and compare the findings with SAST, dependency scanning, secret scanning, and human review. Do not use a preview AI command as the sole release blocker.

Risk Model

The command can miss context, mis-rank exploitability, or overstate generic weaknesses. Teams should require reproducible evidence for severe findings and maintain a feedback loop so recurring false positives become prompt or policy improvements.

Read the primary source →