Skip to content

Roo Code: safety, permission modes and how to run it

Roo Code was shut down on May 15, 2026. How its auto-approve settings worked, its 2025 advisories, and how to run a frozen copy more safely.

Logs readChecked
Made by
Roo Code, Inc.
Runs in
VS Code extension
Platforms
macOS, Linux, Windows
Licence
Apache-2.0, open source

11 public advisories

Security advisories and reported issues since 2025, from vendor advisories, NVD and public reports. Checked December 2, 2026.

11Advisories (CVE or GHSA)
0Other reported issues
5Name a fixed release
9Rated critical or high

What Roo Code is

Roo Code ran inside VS Code with access to your files, terminal and browser, and it worked in modes such as Code, Architect, Ask and Debug, plus custom modes. It connected to many model providers and to MCP servers. The team moved to a cloud agent called Roomote, and the project README now points users to ZooCode, a community fork, and to Cline. Anyone still running the extension is running a frozen build.

Roo Code news and advisories

Releases and announcements, with public security advisories on the same line.

  1. The Roo Code extension was shut down and the repository was archived and made read-only. The README points to ZooCode, a community fork, and to Cline.

    Roo-Code repository README
  2. A Kilo Code post reported that Roo Code was shutting down, with the repo to be archived on May 15 as the team moved to its cloud agent Roomote.

    Kilo Code on DEV Community
  3. Roo published GHSA-hwm7-w97p-4h8p, a zsh command validation bypass fixed in 3.26.7, one of the last advisories before the shutdown.

    GitHub Security Advisory
  4. GHSA-hwm7-w97p-4h8p

    A zsh command validation bug let commands run automatically that should not have matched the allow list. CVE-2025-65946. Exploiting it needed prompt injection plus auto-approved commands.

    GitHub Security Advisory
  5. Roo published a batch of advisories on command validation, .code-workspace files and symlink bypass of .rooignore, and removed npm install from the default auto-approve list in 3.26.0.

    GitHub Security Advisory
  6. GHSA-c292-qxq4-4p2v

    The default auto-approve list included npm install, so a malicious postinstall script in an opened repository could run without a prompt. CVE-2025-58374.

    GitHub Security Advisory
  7. GHSA-p76r-7mc3-qh7c

    A symlink could bypass .rooignore and lead to unintended file disclosure. The advisory list gives the title; the fixed version was not checked.

    GitHub Security Advisory
  8. GHSA-4pqh-4ggm-jfmm

    Potential remote code execution through a .code-workspace file. Listed in the advisory index; details were not opened.

    GitHub Security Advisory
  9. GHSA-2rm5-cvcm-7592

    Potential remote code execution through Bash parameter expansion and indirect reference in command validation. Listed in the advisory index; details were not opened.

    GitHub Security Advisory
  10. GHSA-xr6r-vj48-29f6

    Command injection in one of the project's GitHub Actions workflows, which affects the repository's build pipeline and not the installed extension. Listed in the advisory index; details were not opened.

    GitHub Security Advisory
  11. GHSA-wrh9-463x-7wvv

    With a command such as ls auto-approved, an attacker using prompt injection could append commands through process substitution or a single ampersand. CVE-2025-57771.

    GitHub Security Advisory
  12. GHSA-p278-52x9-cffx

    Missing line break validation in the command execution tool. Listed in the advisory index; details were not opened.

    GitHub Security Advisory
  13. GHSA-3765-5vjr-qjgm

    With auto-approved writes on, prompt injection could edit VS Code settings, for example php.validate.executablePath, to run an arbitrary command. CVE-2025-53536. The fix put .vscode/ behind an extra opt-in.

    GitHub Security Advisory
  14. GHSA-5x8h-m52g-5v54

    The project MCP file .roo/mcp.json allowed command execution, so prompt injection plus auto-approved writes could lead to code execution. CVE-2025-53098. The fix added an opt-in for auto-approving writes to Roo configuration files.

    GitHub Security Advisory
  15. GHSA-wr2q-46pg-f228

    Potential information leakage through a JSON schema in the extension. Listed in the advisory index; details were not opened.

    GitHub Security Advisory

How Roo Code keeps itself in bounds

Out of the box, asks before reads, edits, commands and MCP use; auto-approve is off until you turn it on.

ModeHow to turn it onAsks youWhat it allows
Ask for everything
Default; leave Auto-Approve off
Before each action
Every file read, edit, command, browser action and MCP call waits for your approval.
Auto-approve by permission
Auto-Approve toggle, or Cmd+Alt+A / Ctrl+Alt+A (roo-cline.toggleAutoApprove)
For some actions
You pick which actions skip the prompt: reads, edits, commands, browser, MCP, mode switches, subtasks, follow-up questions. The docs rate edits and commands High risk.
Command allow and deny lists
roo-cline.allowedCommands and roo-cline.deniedCommands in settings
For some actions
Commands run unprompted only if they match an allowed prefix. The longest match wins and deny wins ties. A * entry allows everything, which the docs warn against.
Outside-workspace and protected-file switches
Extra options under the read and write permissions (off by default)
For some actions
Separate opt-ins let auto-approve reach files outside the workspace and protected files in .roo/ and .rooignore.

Where its settings live

PathWhat it holds
.roo/
Project folder for Roo configuration; writes here were later made a protected path that needs its own opt-in
.roo/mcp.json
Project MCP server configuration; the subject of an advisory because it can run commands
.rooignore
Patterns for files Roo should not read
.vscode/settings.json
VS Code settings; a 2025 advisory showed that auto-approved writes here could lead to code execution
  • Roo Code asked for approval by default and let you turn on auto-approve one permission at a time. The docs warn that auto-approval can cause data loss and that command access is the riskiest part.
  • Command auto-approval matched prefixes against an allow list and a deny list, and skipped commands with dangerous substitutions. Several 2025 advisories were bypasses of that parsing, which means the list was a convenience filter and not a hard boundary.
  • Files that could change how code runs, such as .roo/ and .vscode/, were later put behind separate opt-ins after advisories showed prompt injection could write to them.
  • Because the project is archived, none of these protections will improve, and no future bypass will be patched.

Security incidents and advisories

DateAdvisoryWhat happened
A zsh command validation bug let commands run automatically that should not have matched the allow list. CVE-2025-65946. Exploiting it needed prompt injection plus auto-approved commands.Fixed in 3.26.7
The default auto-approve list included npm install, so a malicious postinstall script in an opened repository could run without a prompt. CVE-2025-58374.Fixed in 3.26.0
A symlink could bypass .rooignore and lead to unintended file disclosure. The advisory list gives the title; the fixed version was not checked.No fixed version published
Potential remote code execution through a .code-workspace file. Listed in the advisory index; details were not opened.No fixed version published
Potential remote code execution through Bash parameter expansion and indirect reference in command validation. Listed in the advisory index; details were not opened.No fixed version published
Command injection in one of the project's GitHub Actions workflows, which affects the repository's build pipeline and not the installed extension. Listed in the advisory index; details were not opened.No fixed version published
With a command such as ls auto-approved, an attacker using prompt injection could append commands through process substitution or a single ampersand. CVE-2025-57771.Fixed in 3.25.5
Missing line break validation in the command execution tool. Listed in the advisory index; details were not opened.No fixed version published
With auto-approved writes on, prompt injection could edit VS Code settings, for example php.validate.executablePath, to run an arbitrary command. CVE-2025-53536. The fix put .vscode/ behind an extra opt-in.Fixed in 3.22.6
The project MCP file .roo/mcp.json allowed command execution, so prompt injection plus auto-approved writes could lead to code execution. CVE-2025-53098. The fix added an opt-in for auto-approving writes to Roo configuration files.Fixed in 3.20.3
Potential information leakage through a JSON schema in the extension. Listed in the advisory index; details were not opened.No fixed version published

How to run Roo Code safely

  1. Treat Roo Code as unmaintained. Move to an active tool such as the community fork or Cline, and check that tool's own security record before you do.
  2. If you keep it, leave Auto-Approve off. Every advisory in the record needed auto-approved commands or writes plus prompt injection.
  3. Never add * to the allowed commands list, and deny rm, sudo and git push, as the docs suggest.
  4. Do not turn on the options for writing outside the workspace or to protected files in .roo/ and .rooignore.
  5. Open untrusted repositories in a throwaway VS Code window or a container, and read .roo/mcp.json, .vscode/settings.json and any .code-workspace file first.
  6. Make sure you run a build newer than 3.26.7, since earlier builds carry the published command-execution advisories. Anything newer is frozen with no future fixes.
  7. Remove any provider profile that used Roo's own router, since the service ended on May 15, 2026.
  8. Keep API keys scoped and low-limit, and work on a git branch so you can read the diff.

Where Excellent fits

What Excellent doesWith Roo Code
Reads its session logs (free scan)
Yes
Its key finder reads its key files
Yes
Live check before risky actions (Pro)
No
Excellent's sandbox
Claude Code and Codex only
Rule sharing
Claude Code and Codex only

Excellent reads Roo Code's session logs on your Mac. The free scan shows what it did: your email in request commands or form inputs, keys sitting in logs, secrets files read, history overwritten, checks skipped. Each finding says which agent and where.

Excellent's sandbox and rule sharing are for Claude Code and Codex only. The check reads what a command says, so it isn't a wall around your Mac.

Questions

Is Roo Code still maintained?

No. The README says the extension was shut down on May 15, 2026, and the repository is archived and read-only with an empty releases list.

Is Roo Code safe to keep using?

It carries a record of command-execution advisories in 2025 and will get no further patches. If you keep it, leave auto-approve off and avoid untrusted repositories.

What replaces Roo Code?

The project README names ZooCode, a community fork, and Cline, where Roo Code began. A Kilo Code post also presents Kilo as a successor.

Does Roo Code have a CLI?

None of the pages checked for this guide mention one. The tool was a VS Code extension.

How did auto-approve work in Roo Code?

You turned it on per permission, and commands needed to match an allowed prefix. The docs call edits and commands high risk and warn that a wildcard allows every command.

Sources

Checked December 2, 2026. Roo Code changes often, so its own docs win where they differ from this page.

More agents

All agents →

Check what Roo Code did on your Mac

Get the Mac app