What a review sends
For each file in the review, the extension sends:- the file path
- the full current content of the file
- the diff
- whether the file is new, renamed, or deleted
- the first of
.coderabbit.yaml,.coderabbit.yml, or.coder.yamlat the root of the workspace folder, if there is one - for a follow-up review, the files and diffs from the previous review, and CodeRabbitâs internal state from it
- your CodeRabbit user ID, username, and email, your user ID at your Git provider, and a client ID for the editor installation
- the selected organizationâs ID and its Git provider
- the
originremote URL, or the first remoteâs URL if there is noorigin, with any credentials removed, and your Git providerâs host URL - the editor type and the extension version
- the head and base commits
Keep secrets out of reviews
The extension doesnât scan files for secrets, so it sends a file such as.env unless the rules below keep it out. Its built-in exclusions skip *.pem, *.pub, and Terraform state files, but not .env files, other key files, or credential files. Which of those files a review sends depends on Git:
- With
coderabbit.respectGitIgnoreon, which is the default, an untracked file that.gitignorecovers isnât sent. - A tracked or staged file is sent with its full content, even if
.gitignorelists it. - A new file that Git doesnât ignore is sent with its full content.
.gitignore before Git tracks it, and donât commit or stage it. An ignore rule doesnât exclude a file that Git already tracks. For uncommitted changes to such a file, clear its checkbox in Uncommitted changes and start the review with the review button, because CodeRabbit: Start Review from the Command Palette reviews every uncommitted file. All changes and Committed changes have no checkboxes, so in those scopes a changed tracked file that holds secrets is sent.
Path filters such as !**/.env* keep a file out of the review itself, but CodeRabbit applies them after the upload, so the file is still sent.
How CodeRabbit uses your code
CodeRabbit uses the uploaded files to review your changes. With the Essentials plan or higher, it can also clone the repository from your Git provider for codebase context; see Which review configuration applies for when. Your code isnât used to train models. Review caching follows the same rules as for other reviews; see Caching, including how to turn it off. For data security and retention, see the FAQ.Network access
The extension needs outbound HTTPS and WebSocket traffic on TCP port 443. It needs no inbound firewall rules.
The telemetry host comes from the public configuration;
k.coderabbit.ai is the default. If storage.googleapis.com is blocked, the update check fails silently and nothing else breaks.
With self-hosted CodeRabbit, sign-in and reviews go to your instance URL and <instance-url>/ws, and the extension doesnât contact the app, ide, or telemetry hosts, or cli.coderabbit.ai outside CLI setup. It still contacts storage.googleapis.com for the update check, and us.i.posthog.com on uninstall if that computer was ever signed in to CodeRabbit Cloud. In a workspace you havenât trusted, the extension ignores the self-hosted URL and uses the CodeRabbit Cloud hosts instead; see Restricted Mode.
The extension has no proxy setting of its own. It relies on your editorâs proxy support for extensions, such as http.proxy in VS Code. In a remote window, connections start on the remote machine, so its proxy settings apply. Your proxy must allow WebSocket connections to ide.coderabbit.ai, to ide.eu.coderabbit.ai in the EU region, or to your instance.
For the CodeRabbit CLI, see CLI network requirements.
Data stored on your computer
The CodeRabbit app data folder is in your home folder on the machine where the extension runs:
- macOS:
~/Library/Application Support/CodeRabbit/ - Windows:
%APPDATA%\CodeRabbit\ - Linux:
~/.config/coderabbit/
Telemetry
Usage events, such as sign-ins, applied suggestions, and Fix with AI handoffs, follow your editorâs telemetry setting, such astelemetry.telemetryLevel in VS Code. Error events replace error messages and stack traces with a generic label.
These are sent regardless of the editorâs telemetry setting, and no setting turns them off:
- an install event, once per installation, after you sign in
- a user identification call each time you sign in to CodeRabbit Cloud
- the creation of your extension profile, when you sign in to CodeRabbit Cloud
- an uninstall event, sent to
us.i.posthog.comafter the extension is removed, ifuser-data.jsonexists
Remove local data
To remove the stored reviews, sign-in data, and files the extension keeps, do these steps in order:1
Delete stored reviews
In each workspace where you used CodeRabbit, run CodeRabbit: Cleanup previous reviews.
2
Sign out
Run CodeRabbit: Logout. This removes your sign-in tokens and the self-hosted GitHub token from secret storage, and clears the self-hosted URL from your user settings.
3
Uninstall the extension
Uninstall CodeRabbit from the Extensions view and restart the editor. On restart, the extensionâs uninstall step deletes
user-data.json.4
Delete the remaining files (optional)
Delete
.reinstall-flag, and user-data.json if itâs still there, from the CodeRabbit app data folder listed in Data stored on your computer.5
Delete leftover prompt files (optional)
Stop any terminal agent that Fix with AI started, then delete the
coderabbit-instructions-<id>.txt files that remain in your operating systemâs temporary folder on the machine where the extension ran.Whatâs next
Update or uninstall
Update the extension, check which version you have, or uninstall it.
Self-hosted CodeRabbit
Send reviews to your organizationâs self-hosted CodeRabbit instance instead of CodeRabbit Cloud.
Troubleshooting
Fix connection errors, including reviews that canât reach the reviewer through a proxy.