VS Code chat auto-approve (“YOLO mode”) is enabled
What this means
VS Code chat.tools.autoApprove (“YOLO mode”).
How to fix it
Remove “chat.tools.autoApprove”: true from settings.json. It auto-approves every agent tool call, including shell — the exact payload of the wormable Copilot RCE (CVE-2025-53773).
Check it yourself
Run a scan and look for BLWK-AI-009 in the results:
sh
bulwark scan
bulwark ai scanInstalled the standalone CLI package instead of the app? The command is bulwarkctl.
References
Related checks
- Project-supplied agent hooks run shell commands automatically ·
BLWK-AI-002 - An agent permission allowlist permits arbitrary command execution ·
BLWK-AI-006 - An agent is configured to bypass all permission prompts ·
BLWK-AI-007 - Project MCP servers are set to auto-enable without prompting ·
BLWK-AI-008 - VS Code Workspace Trust is disabled ·
BLWK-AI-010 - A VS Code task runs automatically when the folder is opened ·
BLWK-AI-011