Operations · trust
Trust & data flow
Two ways to run x-security, two very different data flows. This page is the single source of truth for where your code goes on each path. Every claim maps to a code path in our repository.
/ 01section
The two paths
Path 1: Free plugin (BYO model).
- Detection runs in your editor, on the model subscription you already pay for.
- The bundled CLI / verifier is local and LLM-free; it makes no network calls of its own.
- Your code egresses only to your model provider, exactly as in any coding session.
- No x-security servers are involved on the free-plugin path.
Path 2: Hosted platform.
- Repos you connect are cloned into our infra: shallow (
--depth=1), ephemeral container, 1-hour TTL, destroyed on completion. Source is never executed; it is statically analyzed only. - Inference egress goes to openrouter.ai on our key; source is redacted of secrets, tokens, and PII before any LLM call.
- Gateway credentials: AWS via AssumeRole + externalId (nothing long-lived), a scoped Cloudflare token encrypted at rest.
- Every promote, rollback, and token rotation lands in a signed audit log.
Same detection core
Both paths run the same detection core and the same cite-backed verify gate. What changes is who runs it and where your code travels; what counts as a finding never changes.
/ 02section
Hosted platform: secrets custody
| Field | Type | Default | Description |
|---|---|---|---|
| cloudflare.tokens | scoped | — | AES-256-GCM at rest; per-org KEK. Plaintext only in worker memory for the duration of a deploy call. |
| aws.role-arn | scoped | — | We assume the role you provide (externalId required); no permanent credentials stored. |
| github.app-token | rotated | 1h | Short-lived installation tokens. Rotated automatically. |
| openrouter.api-key | shared | — | Our own key, used for policy inference. Never exposed to you. |
/ 03section
Hosted platform: egress
Outbound traffic from your tenant goes to exactly three destinations during a scan:
- github.com / your repo host — to clone source. Authenticated by the GitHub App.
- openrouter.ai — for policy inference, on our key, after redaction.
- your gateway control plane (Cloudflare / AWS / Kong) — only when you explicitly invoke
xsecurity push.
/ 04section
Audit log & backups
The audit log is append-only, hash-chained, and org-scoped; every entry is signed and exportable as evidence for SOC 2 or customer audits. Postgres snapshots are AES-256 encrypted, kept 30 days, region-locked to the org's primary region; restores are tested monthly and recorded in the same log.
/ 05section
Sub-processors
| Field | Type | Default | Description |
|---|---|---|---|
| Contabo | VPS hosting | EU/DE | App, API, workers, Postgres, Redis. Primary region. |
| Cloudflare | edge / DNS | global | TLS termination, edge proxy. Anycast. |
| OpenRouter | inference | US | LLM inference routing for policy synthesis. |
| Stripe | billing | US | Subscriptions only; no payment data is stored on our side. |
| GitHub | auth + webhooks | US | OAuth + repo webhooks for the GitHub App. |
Sub-processors apply to the hosted platform only; the free-plugin path touches none of them.
/ 06section
Compliance posture
| Field | Type | Default | Description |
|---|---|---|---|
| SOC 2 Type II | framework | in-progress | Observation window started Q1 2026. Report targeted Q4 2026. |
| GDPR | framework | aligned | DPA available on request. Primary VPS in EU (DE). |
| CCPA | framework | aligned | Subject-access & deletion requests honored within 30 days. |
Responsible disclosure
Found something? Email [email protected] before disclosing publicly. We acknowledge within one business day, fix critical issues within seven, and credit reporters who request it.