{"slug": "dedicated-security-review-command-now-available-in-copilot-cli", "title": "Dedicated security review command now available in Copilot CLI", "summary": "GitHub has released a new experimental `/security-review` slash command for Copilot CLI, now available in public preview, that analyzes local code changes for security vulnerabilities such as injection flaws and cross-site scripting. The command provides high-confidence findings with severity scores and actionable suggestions directly in the terminal, complementing existing tools like GitHub code scanning and Dependabot. Users must enable experimental mode in Copilot CLI to access the feature.", "body_md": "# Dedicated security review command now available in Copilot CLI\n\nYou can now run a security review on your code changes directly from GitHub Copilot CLI. The new `/security-review`\n\nslash 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.\n\n[What it does](#what-it-does)\n\n`/security-review`\n\nanalyzes your local code changes and returns:\n\n- High-confidence security findings, scored by severity and confidence.\n- Actionable suggestions you can apply without leaving the terminal.\n- A focused review that lives in your existing workflow.\n\nThe scan is tuned to flag common, high-impact vulnerability classes such as injection flaws, cross-site scripting, insecure data handling, path traversal, and weak cryptography.\n\nThis is a Copilot-driven scan that doesn’t rely on GitHub code scanning, Dependabot, or GitHub secret scanning. It complements those tools by giving you a lightweight, on-demand way to review your changes before you commit.\n\nThis is an experimental command. To try it, turn on [experimental mode in Copilot CLI](https://github.com/github/copilot-cli#experimental-mode), then run `/security-review`\n\nin any project to scan your current changes.\n\nJoin the discussion and share your feedback within the [GitHub Community](https://github.com/orgs/community/discussions/196523).", "url": "https://wpnews.pro/news/dedicated-security-review-command-now-available-in-copilot-cli", "canonical_source": "https://github.blog/changelog/2026-06-10-dedicated-security-review-command-now-available-in-copilot-cli", "published_at": "2026-06-10 11:44:41+00:00", "updated_at": "2026-06-11 18:19:00.916994+00:00", "lang": "en", "topics": ["ai-tools", "ai-products", "ai-safety"], "entities": ["GitHub Copilot CLI", "GitHub", "Dependabot"], "alternates": {"html": "https://wpnews.pro/news/dedicated-security-review-command-now-available-in-copilot-cli", "markdown": "https://wpnews.pro/news/dedicated-security-review-command-now-available-in-copilot-cli.md", "text": "https://wpnews.pro/news/dedicated-security-review-command-now-available-in-copilot-cli.txt", "jsonld": "https://wpnews.pro/news/dedicated-security-review-command-now-available-in-copilot-cli.jsonld"}}