ENTERPRISE SECURITY ARCHITECTURE & STANDARD DPA · ZERO SOURCE-CODE EGRESS

Cryptographic Governance Without Uploading Your Code.

Integrity Harness separates the Local Data Plane from the Cloud Control Plane. Source files, diffs, .env secrets, and terminal stdout never leave your machines. Every security claim below maps directly to inspectable open-source and edge control-plane invariants.

Zero-Code-Egress Architecture

We never ask you to proxy IDE traffic, git repositories, or shell sessions through our cloud. Policy evaluation, secret redaction, and SHA-256 hashing run locally on your host; only compact cryptographic digests and operational metadata cross the wire.

STAYS STRICTLY ON YOUR HOST

Never Uploaded (0 Bytes Egress)

  • xSource Code & Git Diffs: Full repository trees, patches, ASTs, and file contents never leave your workstation or CI runner.
  • xSecrets & Credentials: .env files, SSH private keys, AWS/GCP tokens, and database passwords are never transmitted.
  • xRaw Prompts & Terminal Output: LLM conversation transcripts and shell stdout remain strictly local; commands bound to JIT GO-Tokens are SHA-256 hashed client-side before issuance.
  • xZero Inbound Ports: Both the Python CLI and Go daemon (integrityd) communicate strictly via outbound HTTPS (TLS 1.3).
EXPLICIT OUTBOUND METADATA ONLY

What Crosses to the Control Plane

  • +SHA-256 Event Digests: 64-character hex hashes of canonical local events notarized into tamper-evident per-host Witness chains.
  • +Host Heartbeat Metadata: Host ID, OS/arch, daemon version, active agent count, and policy bundle SHA-256 (hard-capped at ≤16 KB in v1.3).
  • +Killswitch & Nonce State: Tenant killswitch severity tier, CAS version integer, operator reason string, and consumed GO-Token nonces.
  • +Hashed Credentials Only: Every API key (IH-, IHA-, IHO-, intg_v2_) is stored strictly as a SHA-256 digest and verified in constant time.

Asymmetric Ed25519 JWKS Witness

Platform 2.0 replaces shared symmetric HMAC secrets with asymmetric Ed25519 (EdDSA) signatures anchored to a public JSON Web Key Set. External auditors, customers, and CI pipelines verify entire Witness hash chains completely offline without trusting a live API call or holding a shared secret.

Public Trust Root (/.well-known/jwks.json)

Our live public Ed25519 verification keys are published with zero authentication at:

https://integrityharness.dev/.well-known/jwks.json
  • +Public Keys Only: Exports strictly kty: "OKP", crv: "Ed25519", kid, alg: "EdDSA", and public coordinate x. Private key parameter d is never serialized or served.
  • +Zero-Downtime Key Rotation: Retired public keys remain in JWKS so historical Witness receipts stay verifiable across rotation ceremonies.
  • +Fail-Closed Signing: If no active Ed25519 private signing key is loaded, notarization returns 503 SIGNING_KEY_UNAVAILABLE and never emits signature: null.
  • +Unbroken Linearizable Chains: Each host's sequence number (seq = 1, 2, 3...) and prev_receipt_sha256 link are serialized per host inside TenantDO SQLite.

Offline Auditor CLI (integrity-verify)

Download the public JWKS document once and verify exported Witness receipt chains in an air-gapped environment with zero external dependencies (Node 24+ native Web Crypto):

# 1. Fetch public Ed25519 trust root once curl -fsSL https://integrityharness.dev/.well-known/jwks.json -o jwks.json # 2. Verify a single receipt + parent link offline node control-plane/cli/integrity-verify.mjs \ --receipt receipt-42.json \ --prev-receipt receipt-41.json \ --jwks jwks.json # 3. Verify an entire host receipt chain offline (JSON or NDJSON) node control-plane/cli/integrity-verify.mjs \ --chain witness-chain.json \ --jwks jwks.json

Checks RFC 8785 canonical JSON payload digest, receipt_sha256 binding, contiguous monotonic seq with zero gaps/forks, genesis anchor, and Ed25519 signature against the matching kid.

Single-Use JIT GO-Tokens & Tighten-Only Killswitch

Autonomous agents should never hold standing production write authority, and neither agents nor Integrity Harness staff should ever be able to silently disarm a tenant's emergency killswitch.

IGOT+jwt · 30–900s TTL

Single-Use JIT GO-Tokens

High-risk operations (ssh, deploy, terraform, db_write) require an Ed25519-signed compact JWS (typ: "IGOT+jwt") minted on demand via POST /api/v2/go/issue or the Dashboard modal.

  • +Optional Command SHA-256 Binding: Lock approval to one exact trimmed command hash computed locally.
  • +Atomic Nonce Burn: POST /api/v2/go/verify-nonce persists each go_nonce_... in SQLite; any 2nd use fails closed with 409 NONCE_REPLAY_DETECTED.
4-TIER OPTIMISTIC CAS

Tighten-Only Killswitch

Killswitch state transitions across OPEN (0) → READ_ONLY (1) → LOCKDOWN (2) → KILL (3) using strict optimistic concurrency (expectedVersion; stale writes rejected with 409 VERSION_CONFLICT).

  • +Agents Can Only Escalate: Daemon, agent, and operator keys can tighten severity during an incident, but loosening fails closed with 403 TIGHTEN_ONLY_VIOLATION.
  • +Offline Lease Watchdog: If integrityd loses control-plane sync past lease_ttl_seconds, it automatically tightens to at least READ_ONLY.
HARD ARCHITECTURAL INVARIANT

Zero Vendor Backdoor

Platform 2.0 contains zero global support override routes, god-mode headers, or vendor bypass tokens.

  • +Explicit Role Denylist: vendor, vendor_admin, vendor_support, platform_admin, superadmin, and god_mode are hard-rejected with 403 VENDOR_BACKDOOR_FORBIDDEN and logged as severity-5 OCSF findings.
  • +One-Time Tenant Bootstrap: First-boot owner provisioning permanently closes (409 ALREADY_BOOTSTRAPPED) the instant the first tenant key exists.

Honest Architecture Matrix

Enterprise security teams deserve exact facts about what is live in production today versus what is shipping in Platform 2.0 and what remains on our Enterprise Roadmap. No compliance theater or vaporware.

Capability Live v1.3 Cloud (KV + Python CLI) Platform 2.0 (SQLite DO + Go Daemon) Enterprise Roadmap
State & Consistency Cloudflare Pages Functions + Workers KV (eventual consistency; bounded 100-item audit buffer). Per-tenant linearizable SQLite Durable Object (TenantDO) — atomic quota, monotonic seq, unlimited audit retention. Multi-region active-passive DR replication & customer-selected data residency (EU / US).
Witness Cryptography Symmetric HMAC-SHA256 pin-chain (server-side signing secret). Asymmetric Ed25519 (EdDSA) + public /.well-known/jwks.json + offline integrity-verify CLI (zero shared secret). Customer-managed HSM / AWS KMS & GCP KMS signing keys (BYOK) + R2 WORM Object Lock.
Local Enforcement Engine Pure Python 3.10+ stdlib CLI (agent-killswitch, evidence-gate, agent-token-forensics; ~67 ms startup). Static Go daemon (integrityd) + <2 ms IPC shim (integrity), unified hooks (Claude, Cursor, Codex, Gemini, Antigravity), offline lease watchdog. Signed OS packages (Homebrew, Winget, DEB/RPM) + optional Linux eBPF / macOS Endpoint Security telemetry.
Killswitch Semantics Master Panic boolean + per-vendor & per-scope toggles; one-time IHO-... Owner Unlock token. 4-tier optimistic CAS (OPEN|READ_ONLY|LOCKDOWN|KILL), tighten-only RBAC, zero vendor backdoor. Hardware WebAuthn / FIDO2 Passkey + OIDC step-up approval for loosening KILL state.
JIT Privileged Access Local HMAC GO-Token policy gate (agent-governance-suite). Ed25519 IGOT+jwt single-use JIT GO-Tokens with optional command_sha256 binding + SQLite nonce replay guard. Slack / Teams interactive 2-person approval workflows & PagerDuty incident-scoped auto-grants.
SIEM & Compliance Exports Browser JSON & CSV audit export + Telegram / Slack webhooks. Streaming OCSF v1.3 NDJSON (GET /api/v2/audit/export) ready for Splunk, Datadog, Sentinel, and Chronicle. Direct S3 / GCS push sinks, SAML 2.0 / SCIM provisioning, and independent SOC 2 Type II attestation.

Standard DPA & Subprocessor Disclosure

Integrity Harness minimizes processed personal data by design. Because zero source code or repository content ever leaves your infrastructure, our Cloud Control Plane acts strictly as a processor of minimal operational metadata, SHA-256 hashes, and subscription billing identifiers.

Subprocessor Purpose & Role Data Processed Security & Transport Controls
Cloudflare, Inc. Edge compute, web hosting, KV (v1.3), and per-tenant SQLite Durable Objects (v2.0). SHA-256 Witness digests, host IDs, killswitch state, OCSF audit events, hashed API tokens, and write-only alert webhook configuration. TLS 1.3 in transit, HSTS (max-age=31536000 / 63072000), strict CSP, encryption at rest, isolated per-tenant Durable Object storage.
Creem.io Merchant of Record (checkout, card processing, VAT/sales tax collection, PDF invoices). Billing email, order/subscription ID, invoice/tax details (Integrity Harness never touches or stores payment card numbers). HMAC-SHA256 signed billing webhooks; instant key revocation on subscription cancellation or refund.
Analytics / Ad Trackers NONE — ZERO TRACKING Zero third-party analytics scripts, zero advertising pixels, and zero tracking cookies. Enforced at HTTP layer via strict Content-Security-Policy (default-src 'self'; frame-ancestors 'none').

Standard Data Processing Commitments

  • +Purpose Limitation: Operational metadata and hashes are processed solely to deliver killswitch enforcement, Witness notarization, and audit exports — never used to train AI models or sold to third parties.
  • +Tenant Isolation: Platform 2.0 isolates each tenant into a dedicated SQLite Durable Object namespace keyed by explicit X-Integrity-Tenant, preventing cross-tenant queries by construction.
  • +Data Deletion & Export SLA: Export your complete OCSF v1.3 NDJSON audit trail and Witness JSON anytime from the Dashboard; request full tenant metadata deletion within 14 calendar days via [email protected].
  • +Security Incident Notification: Material control-plane security incidents affecting tenant metadata are communicated within 72 hours of confirmation.

Need a Countersigned Enterprise DPA or Security Pilot?

For Design Partner and Enterprise deployments, we execute our Standard DPA (incorporating EU SCCs where applicable), provide architecture review sessions with the core engineer, and support invoice billing.

Security & DPA Contact: [email protected] Live Public Ed25519 JWKS: https://integrityharness.dev/.well-known/jwks.json Platform 2.0 Health API: https://integrityharness.dev/api/v2/health v1.3 Control Plane API: https://integrityharness.dev/api/v1/health