Editorial status: Source-researched draft. Confirm current product controls and commercial terms in the linked official documentation before publication.

Quick answer

A secure Roo Code configuration starts with least privilege per mode. Planning, implementation, debugging, and deployment do not need identical tool access, so one all-powerful profile creates unnecessary blast radius.

A sensible starting point

  • Keep planning read-only
  • approval-gate shell and outside-workspace access
  • review MCP server packages, scopes, and credentials independently.

The safest first task is small, reversible, and contained in a clean Git branch or disposable repository. Do not begin with production credentials, customer data, deployment access, or a repository containing unrelated secrets.

Security questions to answer

Before adoption, verify what the agent can read, which commands it can execute, whether outbound network access is restricted, how credentials reach tools, and which actions require approval. Check whether local, editor, command-line, and cloud modes use different security boundaries.

Also identify the recovery path. Git helps recover file changes, but it does not reverse a leaked credential, a message sent to a third party, a deployment, or a purchase. Those external actions should remain separately permissioned and auditable.

How to evaluate it fairly

Use the same representative task for every candidate. Record setup time, completion quality, manual corrections, test results, network destinations, requested permissions, and total model or platform usage. Avoid declaring a winner from vendor demos or a single benchmark.

Bottom line

Choose the smallest permission set that completes the real workflow. Expand access only after a denied action demonstrates a legitimate need, then document the exception so other users do not have to guess.

Official source