You can now run a security review on your code changes directly from GitHub Copilot CLI. The new /security-review slash command is shipping as an experimental feature in public preview, giving you a fast, AI-driven way to catch security vulnerabilities before they reach production code.

What it does

/security-review analyzes your local code changes and returns:

High-confidence security findings, scored by severity and confidence.

Actionable suggestions you can apply without leaving the terminal.