# Trust & Compliance

A map for security reviews and procurement. Everything here links to the details; we claim no certification we don't hold.

## Compliance posture today

| Ask | Status |
|---|---|
| **SOC 2** | On the roadmap (Type I first, then Type II); **no formal audit has begun**. We answer security questionnaires directly and walk teams through the architecture on request. |
| **FedRAMP** | FedRAMP / FedRAMP-High storage regions are available on Enterprise, provisioned through sales rather than the self-serve picker. Swarmfile is **not** FedRAMP-authorized - talk to us before planning around it. |
| **DPA** | There's no published, pre-signed DPA today. Start the conversation via [contact us](https://swarmfile.com/contact) and we'll tell you exactly what we can sign and work through your paper. |
| **Subprocessor list** | Below, plus the service-provider disclosure in the [Privacy Policy](https://swarmfile.com/privacy). |
| **Security questionnaire / security package** | Answered directly, alongside the [Security Architecture](https://swarmfile.com/docs/admin/security-architecture) whitepaper. |
| **EU / US data residency** | Available today, free on every paid plan, chosen at org creation (or pinned per repository at creation) - see [Data Residency](https://swarmfile.com/docs/admin/data-residency). |
| **Bring-your-own storage** | Available on Enterprise: your own S3-compatible bucket becomes the org's block storage - see [Bring Your Own Storage](https://swarmfile.com/docs/admin/bring-your-own-storage). |
| **Self-hosted control plane** | Available on Enterprise: the same control-plane code on infrastructure you operate, on a self-hostable runtime compatible with the platform it's built on - see [Deployment Topologies](https://swarmfile.com/docs/guides/deployment-topologies). A fully air-gapped deployment is on the roadmap. |
| **SAML SSO** | Available on Enterprise via an adapter; OIDC SSO is self-serve on Pro and above - see [Identity](https://swarmfile.com/docs/admin/identity). |

## Subprocessors

These are the third parties that process data for the hosted service: <!-- docs-lint-allow: required subprocessor disclosure -->

| Subprocessor | Role | What it can access |
|---|---|---|
| **Cloudflare** (Workers, R2, Pages, KV/D1) | Hosting for the hub, identity service, dashboard, and default block storage; optional Turnstile bot check at signup/contact; Workers Containers for video previews and hosted CI jobs | Encrypted blocks for encrypted private repositories; unencrypted for Free-plan repositories (public or private) and public repositories by design; git-LFS objects on a managed repository stored through the transfer agent's encrypted blocks (the stock direct paths are refused; older direct-upload objects are converted by an operator-run migration); hosted CI jobs with their secrets and logs; request metadata | <!-- docs-lint-allow: required subprocessor disclosure -->
| **Postmark** | Notification and account email delivery | Recipient addresses and the notification content (event metadata, never file contents) |
| **Stripe** | Billing and payments | Account and payment details; never file content |
| **iroh / N0 relay network** | NAT traversal for peer-to-peer connections when a direct path fails | Connection metadata; relayed traffic is end-to-end encrypted between peers |
| **Google** | Google Analytics on the public marketing/docs pages only, after the visitor explicitly allows analytics (not loaded before that choice or on public repository pages, Explore, the signed-in dashboard, or app routes); Google Fonts site-wide | Page-view metadata (URLs, referrer, approximate location) from analytics; font requests carry the page URL as referrer. No repository or file content |
| **GitHub** | Distribution of the git-LFS agent installer and release artifacts | Download metadata only |

With [Bring Your Own Storage](https://swarmfile.com/docs/admin/bring-your-own-storage), block storage moves out of our hosted storage and into your own cloud account; with [Dedicated Storage](https://swarmfile.com/docs/admin/dedicated-storage), it moves into a bucket exclusively yours on our infrastructure. [Cloud-only mode](https://swarmfile.com/docs/admin/security#cloud-only-hub-only-data-plane-mode) removes the peer-to-peer path entirely.

## Data lifecycle commitments

- **What's stored:** file content (encrypted according to the repository's tier), block metadata, repository history, and the activity/audit events described in [Telemetry & Data Collection](https://swarmfile.com/docs/reference/telemetry-and-data-collection).
- **Retention:** history, trash, and audit rows default to **90 days** and are configurable 1-3650 days per org. Per-user preferences cover history and trash; the activity/ACL/audit rows follow the org window. Deletion audit rows for repository and org purges are the exception: they are durable and outlive the purge, so a deletion stays auditable after the data is gone. See [Operations](https://swarmfile.com/docs/admin/operations#retention--garbage-collection).
- **Deletion:** canceling or an unresolved payment failure starts a **28-day grace period** with access blocked and reminder emails, after which the org's data and the owner's account (if it has no other org) are permanently deleted. The org owner can also delete an organization immediately from the dashboard. See [Data Portability & Offboarding](https://swarmfile.com/docs/admin/data-portability-and-offboarding).
- **Export:** there is no lock-in format - the mount is a drive, so teams copy files out with normal tools; the activity feed exports to CSV; [Branch Mirror](https://swarmfile.com/docs/admin/branch-mirror) continuously exports real files to a bucket you control. There is no indefinite post-cancellation read state, so export before you cancel.

## Encryption you can point at

- **At rest:** AES-256-GCM for private repositories on paid plans, with per-repository keys; Free-plan repositories (public or private) and public repositories are plaintext by design. On a managed repository, git-LFS uploads must use the transfer agent and are encrypted at rest - the stock direct paths are refused with `lfs_agent_required`; objects an older managed repository stored before that rule are converted by an operator-run migration. The full tier comparison and exceptions are in [Security Architecture](https://swarmfile.com/docs/admin/security-architecture).
- **End-to-end (opt-in, Pro+):** the key never reaches our servers; recovery is the customer's responsibility via [device transfer and recovery keys](https://swarmfile.com/docs/admin/end-to-end-encryption).
- **In transit:** TLS to the hub and storage; QUIC with end-to-end encryption between peers.
- **Public release exposure:** a publisher's committed `.swarmfile/publicignore.yml` keeps matched paths and platform-derived data (currently CI-run logs) out of the anonymous release view, enforced as each release is published. The same policy sets the anonymous git history boundary: while any active branch's committed tree carries a policy that hides a path in it, or a ready release hid paths, anonymous clone is refused outright (git history is content-addressed, so there is no filtered clone at the same commit ids). Publishing still requires anonymous cloning off while a release would hide paths (`409 publicignore_clone_exposure`), and the web wizard disables **Continue** and offers one-click **Turn off anonymous clone**; turning cloning back on later does not re-expose those paths while the ready release or policy still hides them. A change takes effect within about a minute. The policy hides nothing from members; ACLs still apply, so a restricted folder can still refuse a member's clone. An invalid or unreadable policy (or a boundary read/walk error) refuses anonymous clone (fail closed), and a release already published keeps the contents it was built with. Share links are not covered. See [Security Architecture](https://swarmfile.com/docs/admin/security-architecture#keeping-paths-out-of-the-public-view).

## Security contact

- **Vulnerability reports:** the [security page](https://swarmfile.com/security) directs you to the contact form - put "Security vulnerability" in your message so it reaches the right people. Please include reproduction details and give us reasonable time before public disclosure.
- **Everything else (DPA, questionnaires, incident questions):** [contact us](https://swarmfile.com/contact) and mark the request as a security review.

## What is not available today

Procurement checklists often include these; we don't claim them today:

- SOC 2 report, penetration-test summary, or a public trust portal.
- A managed SIEM/streaming export (CSV export and webhooks exist - [Operations](https://swarmfile.com/docs/admin/operations)).
- Legal hold / retention immutability, DLP watermarking, and share-link domain allowlists (roadmap).
- A fully air-gapped deployment (the self-hosted control plane exists on Enterprise; air-gapped operation is roadmap).

If one of these is a hard requirement, tell us during the review and we'll talk sequencing honestly rather than work around it.

## Where to start a security review

1. [Security Architecture](https://swarmfile.com/docs/admin/security-architecture) - tiers, threat model, what each party can see.
2. [Security](https://swarmfile.com/docs/admin/security) - operational controls (encryption, integrity, quarantine, cloud-only mode).
3. [Network Requirements](https://swarmfile.com/docs/reference/network-requirements) - every host, port, and direction.
4. [Telemetry & Data Collection](https://swarmfile.com/docs/reference/telemetry-and-data-collection) - what is measured and what never leaves unencrypted.
5. [Data Portability & Offboarding](https://swarmfile.com/docs/admin/data-portability-and-offboarding) - exit path and deletion timing.
