# How we handle your code

> Breken reads your code and runs a private copy of your app to find bugs. This page says where your code goes, who can see it, how long we keep it and how you delete it.

Last updated 1 December 2026. Also: [Privacy Policy](/privacy) · [Terms of Service](/terms).

**The short version**

- We never train or fine-tune any AI model on your code.
- Your app runs in sandboxes of its own, and each one is destroyed within an hour of its last use.
- Your code goes to two AI providers, Anthropic and OpenAI, through our API accounts. Both say they don't use API data to train their models by default.
- An admin can delete your workspace from Settings, which erases its repositories, bugs, code maps, stored files and sandboxes.
- We don't have SOC 2 yet. This page says what we do today, and what we don't have.

## What we never do

- **Never:** Train or fine-tune any AI model on your code.
- **Never:** Sell your code or your personal data.
- **Never:** Push to your default branch.
- **Never:** Merge a pull request.

## The life of a scan

1. **Clone.** A worker checks out your repository with a GitHub token that GitHub expires after an hour. The checkout is deleted when the job ends.
2. **Sandbox.** Your app is built and run in an E2B sandbox: its own Firecracker microVM, with its own kernel.
3. **AI.** Our agents send code from your repository to Anthropic and OpenAI models to read it, find and check bugs, and drive the simulated people.
4. **Results.** Bugs, their proof and a map of your code are saved for your workspace.
5. **Delete.** The scan's sandboxes are destroyed within minutes of it finishing. Logs age out on the schedule below.

Every sandbox is destroyed within an hour of its last use, including the ones that check a bug after a scan has finished.

The sandbox that runs your app can reach the public internet, for example to install your dependencies. Sandboxes that check a single bug or a fix reach only a short list of code and package hosts.

## How long we keep things

| What | How long |
| --- | --- |
| Sandboxes that run your code | Destroyed within an hour of their last use, and a scan's own within minutes of it finishing |
| Checkouts on our workers | Deleted when the job ends |
| Snapshots of the running copy of your app | Deleted after 30 days without use, and when you delete the workspace |
| Model-call logs: token counts, cost and timing, never the prompt | 90 days |
| What our AI agents did and wrote during a scan, which can include code | 180 days |
| Scan timelines | 30 days, except each repository's newest 50 scans |
| Command output | Cut to 4 KB after 30 days, unless a bug's proof points to it |
| Older code maps | Deleted after 7 days, unless it is the newest for its repository or still in use |
| Bugs and their proof (code quotes, screenshots and replays), scan records, the latest code map, file fingerprints and setup notes for your app | Until you delete the repository or the workspace |
| Copies kept by AI providers | Under each provider's own terms, below |

## Who sees your code

These companies process your code or your data for us.

| Company | What it gets | Why |
| --- | --- | --- |
| Anthropic | Code from your repository, and what the simulated people see in your app | AI models that read code, find and check bugs, and write fixes |
| OpenAI | Code from your repository, and what the simulated people see in your app | AI models that read code, find and check bugs, and write fixes |
| E2B | Your repository's files and the running copy of your app | Sandboxes that build and run your app |
| Render | Everything in our database | Our servers and database |
| Cloudflare | Files our scans keep: code maps, screenshots, replays and setup notes | File storage (R2) |
| GitHub | Access to the repositories you choose | Your code, issues and pull requests |
| Stripe | Your card and billing details | Payments |
| Resend | Your email address and the emails we send you | Email |
| Context.dev | Your work email's domain, never the full address | Showing your company's logo |
| Neon | Your account's sign-up and sign-in records, your workspaces and how many scans they run | Our own customer records |

If you connect Slack, Linear or another tool, we send it what you set up, and Composio may handle the sign-in to that tool.

### What the AI providers' terms say

In the providers' own words, read on 26 November 2026.

| Provider | Trains on API data | Keeps API data |
| --- | --- | --- |
| Anthropic | No: its commercial terms say it may not train models on customer content | Deletes inputs and outputs within 30 days; up to 2 years if flagged for a usage policy violation; longer if the law requires |
| OpenAI | No, unless the customer opts in | Abuse monitoring logs for up to 30 days by default |

We send our OpenAI requests with storage turned off (store set to false).

We don't have a zero-data-retention agreement with any AI provider. Each one processes our requests under its API terms.

## GitHub permissions

Breken is a GitHub App. You choose which repositories it can see, and it asks GitHub for these permissions.

| Permission | Access | Why |
| --- | --- | --- |
| Contents | Read and write | Read, to check out your code for scans. Write, only to branches Breken creates for its own pull requests. |
| Pull requests | Read and write | To open pull requests, such as fixes, and to close Breken's own when you remove a repository. |
| Issues | Read and write | To file Confirmed bugs as issues and comment on Breken's own issues. |
| Checks | Read and write | To post check runs on pull requests. |
| Workflows | Read and write | To open a pull request adding Breken's visual workflow when you turn that on, and to push fixes that change a workflow file. |
| Administration | Read | To read branch protection, so we know which checks are required. |
| Members | Read | To suggest teammates to invite, and to check your role in the organization. |
| Email addresses | Read | To read your verified email address when you sign in. |
| Metadata | Read | GitHub requires it for every app. |

GitHub also sends us events when you push, open or review a pull request, comment, change an issue or finish a check suite.

### What Breken writes to GitHub

- Breken writes nothing to a repository that is not switched on in Breken.
- Once a repository is on, Breken files each Confirmed bug as a GitHub issue by default. You can turn this off in Settings.
- Fix pull requests are off by default. If you turn them on in Settings, Breken opens them for critical, high and medium bugs: as drafts, or ready for review when the fix is proven.
- Breken pushes code only to branches it creates. It never pushes to your default branch and never merges a pull request.

## Who at Breken can see it

Breken staff can see your workspace's scans and bugs in our operator tools, including file paths, line numbers and the output of checks. We use this to support you and to fix scans that fail.

## Deleting everything

- **Delete the workspace.** In Settings, under Danger zone, an admin can press Delete workspace. It erases the workspace's repositories, bugs, code maps, stored files and live sandboxes for every member. It is refused while a payment on the workspace is outstanding or a subscription is still billing it.
- **Remove one repository.** Remove and erase deletes that repository's data. Removing the repository from Breken's GitHub App on GitHub does the same.
- **Uninstall the GitHub App.** That erases the installation's data, and the whole workspace if it was the last installation.
- **Ask us.** Email [support@breken.ai](mailto:support@breken.ai) and we'll delete it for you.

Snapshots of the running copy of your app are deleted with the workspace.

Copies kept by AI providers follow the providers' own terms. Our shared library of bug patterns is not deleted with a workspace, as the next section explains.

## What our scans learn

Our scans keep one shared library of bug patterns they proved, and of lessons about starting common stacks. Every customer's scans use it.

A pattern is kept as the general shape of a bug: what kind it is, what caught it and what set it off. A setup lesson is a fact about a stack, not about your app.

Before anything is added, it is checked to refuse file paths, URLs, email addresses, quoted values and long numbers. A pattern names the product it came from only by a short hash.

The library is kept when you delete a workspace.

## Security today

We don't have SOC 2 yet. Here's what we do today.

### Encryption and secrets

| What | How |
| --- | --- |
| Traffic to our site | HTTPS only; browsers are told to refuse plain HTTP for a year |
| Keys, test accounts and database connection strings you give us | Encrypted in our database with AES-256-GCM |
| Tokens for tools you connect, and GitHub sign-in tokens | Encrypted in our database with AES-256-GCM |
| Secret values inside the copy of your app | A file inside its sandbox; removed from the tool output our AI agents read |
| GitHub tokens for your repositories | Made when a job needs one; GitHub expires them after an hour |
| Our database | Render Postgres, encrypted at rest with AES-256, backups included |
| Files our scans keep | Cloudflare R2, encrypted at rest with AES-256 |
| Sandboxes | One Firecracker microVM each, with its own kernel (E2B) |

E2B and Render each report a SOC 2 Type II audit of their own.

### What we don't have yet

- We don't have a SOC 2 report yet.
- We don't have a data processing agreement (DPA) to sign yet.
- We don't run a bug bounty.
- We don't have a zero-data-retention agreement with any AI provider.

If we learn of a breach that affects your data, we'll tell your workspace's admins within 72 hours.

When any of this changes, we'll update this page and its date.

## Report a vulnerability

Email [support@breken.ai](mailto:support@breken.ai) with what you found and how to reproduce it. Please give us a chance to fix it before you share it.
