> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowmaps.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Security and privacy

> What Flowmaps stores and never stores, how your code is read, what the GitHub App can do, who can see your flows, and how long data is kept.

Flowmaps reads your code to describe it, so it's built around a few guarantees about that code. This page sets them out in plain words. The [Privacy Policy](https://flowmaps.ai/privacy) and [Terms of Service](https://flowmaps.ai/tos) are the binding versions; where this page and those differ, they win.

## Flowmaps doesn't store your source code

Flowmaps stores two kinds of thing about your repos:

* **Descriptions it writes**: the flows, their steps, summaries, business facts, gaps and notes.
* **Pointers into your code**: for each claim, the file path, the line range and the commit it comes from, such as `src/payments/charge.ts:20-41` at a given commit.

It doesn't store your code's lines. Descriptions can name functions, routes and other identifiers from your code, and a pointer carries a fingerprint (hash) of the lines it cites so Flowmaps can tell when they change. A pointer is useless without access to the repo, so a copy of your flows holds no source.

Your code is read when there's work to do on it:

* **While Flowmaps maps it**: finding entry points, mapping flows, previewing a pull request, updating flows after a merge, or re-checking a flow. The code is fetched for that work and not kept afterwards.
* **When you ask to see it**: choosing **Show code** on a step fetches the cited lines from GitHub at that moment, after checking that your GitHub account can read the repo. Flowmaps doesn't keep them.

## Secrets aren't read

Files that commonly hold secrets are skipped by name and never read or sent to a model. That covers environment files (`.env` and its variants), private key and keystore files (such as `.pem`, `.key` and `.p12`), credential files, and package-manager credential files such as `.npmrc`, `.pypirc` and `.netrc`. Some config files that the code itself uses, such as `database.yml`, are read so flows can describe them, with any line that looks like a credential held back first. A step that would cite one shows "Code isn't shown for this file". Flowmaps also holds back lines in other files that look like a key, token or credential before any model reads them, and withholds text that reads as a secret from anything it posts on GitHub.

> [!WARNING]
>
> No safeguard of this kind is perfect. Don't keep secrets in your repositories; if one is committed, rotate it, whether or not Flowmaps is connected.

## Your code is analysed in isolation

The tools that fetch, install and analyse your repo run in an isolated environment of its own for each run, with no access to Flowmaps' own keys or data and none to other customers' code. It's removed when the run ends, or after a day if a map is waiting for you to choose entry points, and the copy of the code goes with it.

Code from a fork is analysed only after someone with write access to your repo presses **Preview** on that commit's Flowmaps check. A comment can't start a preview of a fork's code.

## Text from your repo is data, never instructions

Comments, strings, file names and docs in your repo can contain anything, including text that tries to give orders. Flowmaps treats everything it reads from a repo as material to describe, never as instructions to follow, and marks it that way whenever it reaches a model. Flowmaps' answers to coding agents over MCP say the same: names and text in them come from code and are data.

## AI models and your code

Flows are written and checked by AI models. To do that, parts of your code are sent to the AI model providers Flowmaps uses, which are listed in the [Privacy Policy](https://flowmaps.ai/privacy#how-we-handle-your-source-code).

* **No training.** Neither Flowmaps nor its model providers use your code, or the flows written from it, to train or improve AI models.
* **No keeping.** Flowmaps requires its providers not to train on your code and, wherever that option is available, not to keep it after they respond.

## What the GitHub App can do

Flowmaps reaches your code only through the Flowmaps GitHub App, on the repos you choose when you install it. It asks GitHub for these repository permissions:

| Permission | Level | What Flowmaps uses it for |
| - | - | - |
| Contents | Read | Fetching code to map it, and showing you cited lines. |
| Metadata | Read | Listing the repos an installation covers. |
| Pull requests | Read and write | Reading a pull request's commits, posting and updating its Flowmaps comment, and replying once when someone Flowmaps can't start work for asks for a preview. |
| Checks | Read and write | Posting the **Flowmaps** check, with its **Preview** button. |

The App can't push commits or change files: its access to contents is read-only. It never approves, merges or closes pull requests, and its check never reports a failure. GitHub shows the full list of permissions when you install the App, and you can change which repos it reaches, or uninstall it, in your GitHub settings at any time. Flowmaps never sees your GitHub password and doesn't store your GitHub credentials.

What Flowmaps posts on a pull request is limited to that repo's own flows: their names, endpoints and step text, with commit and branch references and a link to Flowmaps. It never posts lines of code, file paths, credit amounts or anything from your other repos. See [Connect GitHub](https://docs.flowmaps.ai/mapping/connect-github.md) for the details.

## Who can see what

* **Account members.** Only people in an account can open its workspaces. Everyone has a personal account; a team account holds the people you invite. See [Teams and members](https://docs.flowmaps.ai/account/teams.md).
* **Your GitHub access decides the rest.** Inside a workspace, each person sees only the flows, pull requests and code of repos their own linked GitHub account can read. A repo you can't read on GitHub doesn't show for you, even if a teammate added it, and a flow that calls into it says only "Links to a repo you can't see". Until you link a GitHub account, you see no repos.
* **Deleting needs write access.** Deleting a flow or a repo in Flowmaps needs write access to that repo on GitHub, not just read access.
* **Coding agents read as you.** An agent connected over MCP signs in as you, reads only the workspaces you tick on the **MCP** page, and sees only repos your GitHub account can read. Its tools can only read: they can't change anything in Flowmaps or on GitHub. See [Connect your agent](https://docs.flowmaps.ai/agents/connect.md).
* **Adding a repo needs read access.** Someone can add a repo to an account only if they're in that account and their linked GitHub account can read the repo. The App's installation on GitHub belongs to no Flowmaps account, so installing it doesn't hand your repos to anyone: each account still needs one of its own people who can read the repo.
* **An account keeps a repo only while someone in it can read it.** If nobody in the account with a linked GitHub account can read a repo any more, its automatic work stops at once, and after 7 days it's disconnected. See [When Flowmaps loses access](https://docs.flowmaps.ai/mapping/connect-github.md#when-flowmaps-loses-access).
* **Each account's copy is its own.** When several Flowmaps accounts add the same repo, each keeps its own flows, history and settings, and people see only the copies in accounts they belong to. On GitHub, each posts its own check, whose name never includes the account's name.
* **Starting work from GitHub.** A `/flowmaps` comment or a press of the check's buttons counts only from someone with write access to the repo, who is also known to the account that maps it: on a team's repos, a current member who has linked their GitHub account; on a personal account's repos, its owner, with their GitHub account linked.
* **Flowmaps staff** access your code and flows only when needed to provide, secure or support the service.

Flowmaps encrypts information in transit.

## How long data is kept

| What | How long |
| - | - |
| A repo you remove from the GitHub App, or every repo when you uninstall it | Its flows are hidden at once and deleted 30 days later. Giving the App access again and choosing **Reconnect** before then keeps them. |
| A repo nobody in its account can read on GitHub any more | Its automatic work stops at once. After 7 days it's disconnected, and its flows are deleted 30 days after that unless someone who can read it chooses **Reconnect**. |
| A repo or flow you delete in Flowmaps | Deleted straight away. **Delete repo** removes its endpoints, flows and runs, and can't be undone. Deleting a single flow removes it and its history; the records of the runs that mapped it go when you delete the repo. |
| Your account | Kept while it's open. To close it, write to support; your information is then deleted as the [Privacy Policy](https://flowmaps.ai/privacy) describes. |

Billing and tax records, security logs and records of staff changes to your account are kept for as long as Flowmaps needs them for its business and legal obligations. Deleted data can stay in backups for a short time before it's overwritten. To close an account or ask for a copy of your data, see [Contact and support](https://docs.flowmaps.ai/help/contact.md).

## Signing in

You sign in to Flowmaps with Google, with GitHub, or with a 6-digit code sent to your email, which works for 10 minutes. Flowmaps never receives your Google or GitHub password. Your access to repos comes only from the GitHub App and your linked GitHub account, never from the way you sign in.

![The Flowmaps sign-in page with Continue with Google, Continue with GitHub, and a work email field](https://mintcdn.com/flowmaps/Laxd03p6_qALyN3o/images/sign-in-light.png?fit=max\&auto=format\&n=Laxd03p6_qALyN3o\&q=85\&s=4297b189c571298f821aa9e01c4acc4f)

Sign in with Google, GitHub or a code sent to your email.

Flowmaps keeps you signed in with a small amount of data in your browser, so signing in needs your browser to allow site data for Flowmaps. Clearing it signs you out. Keep your sign-in methods secure; if you think someone else has used your account, write to support straight away.

## Report a security problem

If you believe you've found a security problem in Flowmaps, write to [support@flowmaps.ai](mailto:support@flowmaps.ai) with what you found and how to reproduce it. Please give Flowmaps reasonable time to fix it before telling anyone else. The Terms of Service ask that nobody probe, scan or test the service's security without written permission, so write first if you want to test something.

## Next steps

> [card] [How accurate flows are](https://docs.flowmaps.ai/trust/accuracy.md)
>
> What verified and inferred mean, and how to read a flow you'll rely on.

> [card] [Contact and support](https://docs.flowmaps.ai/help/contact.md)
>
> Close an account, ask for your data or report a problem.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.