Security, Custody & Verifiable Engineering

What stays in your cloud, what leaves it, and how to test our claims.

Security reviews should not require three sales calls to learn where data flows. Below are Straight Drive Keeper's exact customer-hosted data-flow boundaries, our release-signing and compliance posture today versus planned, our vulnerability disclosure channel, and a reproducible protocol for verifying provider-timeout budget accounting.

Keeper Data-Flow Boundary Table (Customer Self-Hosted Deployment)

Data Destination What Flows There What Never Flows There
Your VPC / Cluster & PostgreSQL 16/17 Prompts, responses, task definitions, budget ledgers, evaluation sets and grades, operator audit logs, and OIDC sessions. No Straight Drive multi-tenant proxy sits on your inference path.
Your Configured Model & Search Providers Only requests permitted by your active routing, privacy-class, and retention rules, using your own cloud IAM or provider credentials. (Zero-data-retention depends on configuring a qualified ZDR route; Keeper fails closed when none qualifies.) Disallowed providers or unverified routes when policy requires a stricter retention class.
Container Registry (Install & Upgrade Only) Signed, compiled Keeper OCI images and Helm charts pulled during scheduled deploys. An optional signed offline air-gap archive removes registry pulls entirely. Zero runtime prompts, inference traffic, or customer data.
Weekly Aggregate License Report (Inspectable, Signed & Offline-Capable) Instance metadata (instance UUID, build version, generation timestamp) plus per-instance weekly aggregates: call/token/cost totals by provider/model/tier, estimated savings categories, evaluation counts, and overhead latency/error rates. Organisation and task names are salted hashes. Delivered via connected HTTPS when configured, relayed via browser, or exported offline for air-gapped networks. Never prompts, outputs, customer legal names, API keys, or personal data. Operators can inspect exact bytes (keeper-usage-report --show) prior to transmission.

Artifact Delivery, Cryptographic Signing & Role Isolation

Supply Chain

Compiled Server With Readable Integration Surface

Keeper's server runtime ships as a compiled OCI image built from a pinned commit. The client SDK, SQL migrations, Helm v3 chart, Kustomize & Docker Compose manifests, and OpenAPI 3.1 specs remain plain readable files so security teams can audit every seam.

Provenance & Air-Gap

Cosign, SPDX SBOM, Grype & SLSA v1 Predicate

Self-hosted builds generate a syft SPDX SBOM, run grype vulnerability scans, sign pushed image digests with keyless Cosign, and attach a verifiable SLSA v1 provenance predicate—plus signed offline tar.zst bundles. (A signed provenance predicate establishes build-to-commit traceability and does not by itself certify an audited SLSA assurance level.)

Database Least Privilege

Dedicated PostgreSQL Roles & Token Scrubbing

Separate PostgreSQL roles isolate runtime inference, background workers, operator reads/writes, schema migrations, and retention deletion (content_deleter). Operator X-Ray drawers scrub credentials and session tokens from copyable curl and Python snippets.

Fail-Closed Availability

PostgreSQL HA & Rolling-Deploy Rollback

Keeper fails closed rather than dropping spend or retention controls when PostgreSQL is unavailable; production uptime uses synchronous-standby PostgreSQL HA with verified pool budgets. Forward migrations preserve N-1 rolling-deploy rollback safety.

Honest Security & Compliance Status

We state clearly what is verified today versus what is in counsel review or planned—no placeholder trust badges.

Control / Attestation Current Status (Nov 2026) Evidence & Scope Notes
Cosign Digest Signing, syft SBOM, grype Scan & SLSA v1 Predicate In place today Verifiable on distributed self-hosted release digests and optional signed offline air-gap archives.
Least-Privilege PostgreSQL Roles, content_deleter & Compiled-Image CI In place today Separate runtime, worker, operator, migration, and deletion-only roles; PostgreSQL 17 integration, accounting, kind Helm/Kustomize, and compiled-image suites run on release candidates.
24-Hour Load & Soak Evidence & Failure-Mode Matrix Local 24h soak recorded 4,572,709 calls (52.9 calls/s), p95 109 ms, 0 deadlocks observed, 1.000000× observed peak exposure ratio, $0.00 settled/spent drift (2 API replicas, 64 concurrent on local workstation + Docker PG17; 5 host I/O OperationalErrors with 2 interrupted holds staying fail-closed). Dedicated cloud-topology soak and clean-machine external install are explicit pilot gates.
Coordinated Vulnerability Disclosure (security@straightdrive.com) Active on launch Direct founder-engineering triage with 1-business-day acknowledgement (US Eastern).
Commercial Agreements (Pilot, Master Terms, DPA, Order Form) In counsel review Drafted alongside entity formation and finalized prior to commercial execution.
Source-Code Escrow Enterprise option Proposed contractual escrow rider subject to written agreement on Enterprise deployments.
Independent Third-Party Penetration Test Planned Scheduled ahead of broad general availability; not yet held.
SOC 2 Type I / Type II Report Not yet held Planned following entity formation and initial external pilot completions.
Reproducible Verification Protocol

What happens to an AI budget when a provider times out after receiving the call?

Short Answer: When an upstream model provider times out after Keeper may have dispatched the request, Keeper does not silently drop the charge and does not guess $0.00. The concurrency slot frees immediately, while the pre-dispatch reservation stays held against the active budget scope as an explicit uncertain liability (cost_status = "unknown") until an authorized operator inspects provider billing evidence and reconciles or closes the attempt.
  1. Before dispatch (Atomic Reservation): Keeper locks all applicable budget_periods rows in deterministic UUID order in PostgreSQL, verifies spent_usd + held_usd + worst_case_max_usd <= limit_usd, and inserts a durable AttemptReservation (with audited state transitions) before touching the provider. Excess concurrent calls return 429 budget_exhausted + x-should-retry: false with zero upstream provider dispatches.
  2. Completed reply (Settle at Reply): Under default grace = 0, completed billed calls settle immediately on reply, returning unused reservation headroom so held spend tracks true in-flight spend (the recorded 24-hour soak observed 1.000000× peak exposure).
  3. Handled post-dispatch timeout vs. abrupt process death: On a handled upstream timeout or disconnect after dispatch, Keeper records cost_status = "unknown", frees the interactive concurrency slot immediately, keeps the worst-case financial hold intact across restarts, and returns 503 invocation_unknown + x-should-retry: false on non-streaming doors. On an abrupt API process kill, the connection drops with no terminal event, replays return 409 invocation_pending until deadline, and keeper-housekeeping recovery then frees the slot while retaining the uncertain paid hold.
  4. Explicit On-Device Hashed Reconciliation: The attempt surfaces under Outstanding liabilities and Bill-backed reconciliation. An authorized operator hashes the provider invoice locally in the browser (Bill SHA-256—the file never leaves the device), submits the confirmed USD charge (within hold bounds for org admins; any amount for Keeper admins), or lifts a narrow overbill suspension in one serialized audited action—each writing an immutable operator_events record.

Falsify or Verify This in 15 Minutes (Facilitated Pilot Exercise)

1. Launch a non-production stack with the synthetic test provider enabled (e.g., pilot Compose/K8s or the optional
   5-minute local quickstart using a separately supplied digest-pinned evaluation image — NOT FOR PRODUCTION).
2. Send one call to a task and read its route worst-case reservation; set remaining task headroom to 2.5× that amount.
3. Fire 3 concurrent requests in delay mode:
   -> Verify exactly 2 dispatch (settling at reply) and the 3rd returns HTTP 429 budget_exhausted + x-should-retry: false (0 provider calls).
4. Restore budget headroom if needed, then send 1 non-streaming call in timeout-after-dispatch mode:
   -> Verify HTTP 503 invocation_unknown + x-should-retry: false, slot frees, full hold survives container restart under Outstanding liabilities.
5. Submit an on-device SHA-256 Bill-backed reconciliation and run the housekeeping pass (keeper-worker housekeeping --limit 100):
   -> Verify hold drops to $0.00000000, spent increases once by the confirmed charge, and replaying the request is idempotent.

Explicit boundary limits: Calls bypassing Keeper directly to a provider are ungoverned; final provider invoices remain authoritative if vendor tariffs change outside configured price revisions; resolving an unknown charge requires an authorized operator with provider evidence.

Coordinated Vulnerability Disclosure

Reporting Channel

Direct Engineering Triage

Report potential vulnerabilities in our public web properties or licensed artifacts to security@straightdrive.com or via /contact. Please do not include live customer prompts, private keys, or third-party confidential data in initial reports.

Response & Safe Harbor

1-Business-Day Acknowledgement

We acknowledge valid security reports within 1 business day (Mon–Fri, 9:00 AM – 6:00 PM US Eastern) and coordinate remediation directly. We will not pursue legal action against researchers conducting good-faith disclosure without accessing others' data or degrading services. (No paid public bug bounty program is operated at this time.)