Skip to content
Docs›Operations›Trust & data flow
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

FieldTypeDefaultDescription
cloudflare.tokensscoped—AES-256-GCM at rest; per-org KEK. Plaintext only in worker memory for the duration of a deploy call.
aws.role-arnscoped—We assume the role you provide (externalId required); no permanent credentials stored.
github.app-tokenrotated1hShort-lived installation tokens. Rotated automatically.
openrouter.api-keyshared—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

FieldTypeDefaultDescription
ContaboVPS hostingEU/DEApp, API, workers, Postgres, Redis. Primary region.
Cloudflareedge / DNSglobalTLS termination, edge proxy. Anycast.
OpenRouterinferenceUSLLM inference routing for policy synthesis.
StripebillingUSSubscriptions only; no payment data is stored on our side.
GitHubauth + webhooksUSOAuth + 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

FieldTypeDefaultDescription
SOC 2 Type IIframeworkin-progressObservation window started Q1 2026. Report targeted Q4 2026.
GDPRframeworkalignedDPA available on request. Primary VPS in EU (DE).
CCPAframeworkalignedSubject-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.