By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Copilot and VS Code tool approvals

In VS Code, agent tool calls and terminal commands need approval unless settings auto-approve them by tool or by command rule. Enterprise policies can switch off global auto approval and rule-based terminal approval. A 2025 vulnerability showed the stakes: injected instructions could edit workspace settings to enable auto approval and then run code.

Read in this order

  1. OfficialVS Code: Use tools with agentsStart here: how tool and terminal approvals work and where to tune them.
  2. ArticleGitHub Copilot: Remote code execution via prompt injection, CVE-2025-53773 (Embrace The Red)The real exploit that flipped auto approval through a settings edit.
  3. OfficialVS Code: Manage AI settings in enterprise environmentsThe enterprise policies that lock auto approval off for everyone.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.