Reference

Security and data

What Carrick reads, what leaves your machine, what Carrick stores, and how to delete it.

Carrick reads your repositories through its GitHub App, builds an index in the cloud, and puts a copy of that index on your machine. The privacy policy names the providers that process your data and how long each kind is kept.

What the GitHub App can do

The App has these permissions on the repositories you pick, and receives their push and pull request events.

Permission Access Used for
Contents Read Reading the code Carrick indexes
Metadata Read Required by GitHub for every App
Pull requests Write Posting the PR comment
Checks Write Reporting the pull request check
Actions Write Re-running a Carrick workflow run, in a repository that uses the Carrick GitHub Action

The App cannot write to your code.

What happens to your code in the cloud

  • Scans: Carrick scans the default branch of each repository and the pull requests it checks. During a scan, the files it reads are sent to model providers, which return the structure Carrick indexes.
  • The index: for each function, the index holds its name, its signature and a sentence saying what it does. For each route, call, event and topic, it holds the file and line, the types, the text of the call and of its payload, and the type declarations it uses. For each service, it holds the package.json and the carrick.json configuration. Function bodies are removed before the index is stored.
  • Where: the index and the dashboard’s database are in Amazon Web Services in the EU (Ireland).

What leaves your machine

The scan that sends file contents to a model runs in Carrick’s cloud. The commands you run and the hooks read your files locally and ask no model.

What runs What it sends to Carrick
carrick init, carrick login The sign-in, through your browser. carrick init also sends the owner/repo name of each repository in the folder, read from its origin remote.
carrick refresh, carrick check, the hooks The repository names, the project name and the version of the index you hold, to download a newer one. The names, versions and import paths of the public npm packages your services use, so that Carrick can look up what it knows about each library. Packages from a private registry or a private scope are left out. No source files.
Your agent’s MCP tools The arguments of each tool call, to https://api.carrick.tools/mcp. A search query is sent to an embedding model on Amazon Web Services. The MCP server logs who called (workspace, GitHub login, client, install id), the tool, the duration and the arguments that name something (a service, a method or a path). For a search it logs the length of the query, not its text. For a result it logs sizes and counts.
Usage counts Daily counts of how often each hook ran. CLI lists the fields and how to turn them off.
Update check A request to registry.npmjs.org for the latest version. CLI says how to turn it off.
The editor extension Nothing of its own. It starts carrick lsp on your machine, which reads the local index.

carrick index runs the full scan from your machine. It sends file contents to Carrick’s cloud for analysis and uploads the index. Carrick’s cloud runs that scan for you, so you do not need it.

What is kept on your machine

  • Sign-in: one credential file, readable only by you, under $XDG_CONFIG_HOME/carrick/ or ~/.config/carrick/. CLI has the details.
  • The index copy: .carrick/ in your workspace folder, with the hooks’ working files.
  • Machine state: ~/.carrick/ holds a random machine id, the usage-counts setting, each session’s hook notes and the CLI’s logs.

carrick logout revokes the credential. carrick remove clears one folder and carrick uninstall clears the machine. See Remove Carrick.

Delete your data

To delete Do this What happens
One repository’s data On the Repos page, choose Disconnect and delete its data. Owners and admins only. Carrick deletes the repository’s index and scan history now.
A repository you removed from the GitHub App Nothing, or choose Delete its data now on the Repos page. Carrick stops scanning and serving the repository at once and deletes its data 30 days later. Add the repository back within 30 days and the kept index is served again.
A project On the project’s page, choose Delete project and its data. Owners and admins only. Carrick deletes the project and the data of every repository in it. The default project cannot be deleted.
Your account On the Account page, choose Delete account. Carrick deletes the workspaces you solely own with their data, removes you from shared workspaces and disconnects every agent.

Some records outlive a delete. After a repository or project delete, usage and billing counters are kept. Pull request check records and metrics expire on their own schedule. Server logs are kept for 400 days and database backups for 14 days.

To have anything else deleted, email [email protected].

Report a vulnerability

Email [email protected], not a public issue or pull request. We reply to every report and keep you informed until it is fixed. The security policy says what it covers.