Skip to content

Open-source model boundary attestor

Can you prove your confidential document never went to the model?

Saying the model never saw a client file is a promise, not proof. Airlock screens outbound requests, blocks leaked secrets or raw spreadsheet dumps with HTTP 403, and signs an attestation manifest showing the exact bytes that crossed and the local files that stayed behind. Runs locally on your device.

Try the boundary check ->Install
Step 1 of 4Prove what crossed

Payload hash matched the manifest with 0 leak findings. 2 raw files stayed local.

Only the redacted shape and rvl summary JSON crossed to the model endpoint. Both raw client files stayed local and are recorded explicitly in not_crossed.json alongside the signed request_payload_hash.

Boundary verdictBOUND · HTTP 200

request_payload_hash: sha256:13aaa1f3b3f875efec263c1042c30e0c5d15557179af5b3dd475a6eba5d58976

Claim: STRICT_TELEMETRY_ONLY · Mode: strict-manifest

Did NOT cross (not_crossed.json)

LOCAL ONLY: data/clients/cmbs_tape_oct.csv

LOCAL ONLY: data/clients/borrower_rent_roll.xlsx

Runs on your device · Zero uploads (works with Wi-Fi off)

Inspect airlock_manifest.json (airlock.v0.4), CLI output & proxy commands
{
  "version": "airlock.v0.4",
  "mode": "strict-manifest",
  "binding_status": "BOUND",
  "achieved_claim": "STRICT_TELEMETRY_ONLY",
  "http_status": 200,
  "refusal_code": null,
  "endpoint_host": "api.openai.com",
  "request_payload_hash": "sha256:13aaa1f3b3f875efec263c1042c30e0c5d15557179af5b3dd475a6eba5d58976",
  "expected_manifest_hash": "sha256:13aaa1f3b3f875efec263c1042c30e0c5d15557179af5b3dd475a6eba5d58976",
  "request_bytes": 812,
  "crossed_artifacts": [
    {
      "artifact": "shape.report.json",
      "kind": "redacted_derived_summary"
    },
    {
      "artifact": "rvl.report.json",
      "kind": "redacted_derived_summary"
    }
  ],
  "not_crossed": [
    {
      "path": "data/clients/cmbs_tape_oct.csv",
      "status": "LOCAL_ONLY",
      "bytes_hash": "sha256:7462396e4a11f4a1ba2590d65624a908cce3fa26772859f40d6cd7cb9c481162"
    },
    {
      "path": "data/clients/borrower_rent_roll.xlsx",
      "status": "LOCAL_ONLY",
      "bytes_hash": "sha256:4299180cebeba52b1b82123312e8156470617096402c07a549367a61325d9ece"
    }
  ],
  "findings": []
}

Sign & verify boundary locally

airlock keygen
airlock assemble --policy rules.yaml --input rvl.json --out prompt.json --not-crossed-out not_crossed.json

Run loopback egress gate

airlock gate --mode strict-manifest --manifest-dir ./verified-manifests --upstream https://api.openai.com

Interactive browser simulator (airlock v0.4.0 local proxy rules): Mirrors airlock v0.4.0 boundary screening (secrets, PII, raw tabular dumps, multimodal/base64 checks, and strict-manifest canonical SHA-256 verification) locally with zero uploads. Real loopback HTTP proxying, BDBL Bloom filters, and Ed25519 signing run via the local airlock binary.

Run it locally

Generate a signing key, verify prompts, or put airlock gate on loopback.

Run airlock keygen once per machine, then assemble and sign manifests with airlock verify / airlock send, or place airlock gate between your SDK and provider endpoint so only screened or manifest-matched bytes can cross.

Recommended entry pointView cmdrvl/airlock on GitHub ->

airlock CLI (v0.4.0)

Signs manifests with Ed25519 (airlock keygen + verify), transmits verified canonical JSON in one process (airlock send), and exposes a loopback HTTP egress gate (policy-proxy and strict-manifest modes).

1. Install via Homebrew

brew install cmdrvl/tap/airlock

2. Run locally

airlock keygen && airlock gate --mode strict-manifest --manifest-dir ./verified-manifests --upstream https://api.openai.com
Signed manifests
Ed25519-signed airlock.v0.4 manifest + not_crossed.json
Loopback HTTP gate
policy-proxy (detectors + Bloom) or strict-manifest mode
Claim levels
STRICT_TELEMETRY_ONLY or RAW_DOCUMENT_ABSENT
Companion guard
Egress proof companion to veil (ingress read guard)
For scripts and CI: standalone airlock binary, exit codes, and refusal codes

Policy-proxy mode with protected-corpus Bloom filters

Read egress firewall guide on GitHub ->

Screen every SDK JSON turn against shared boundary-detectors packs, base64/hex decode checks, multimodal blocks, and opaque BDBL v1 Bloom filters built from protected folders.

Install standalone binary

cargo install --git https://github.com/cmdrvl/airlock --tag v0.4.0

Invoke directly

airlock gate --mode policy-proxy --policy rules.yaml --protected-bloom protected-corpus.bdbl --upstream https://api.openai.com

Exit codes & verdicts

BOUND (HTTP 200)

Exit 0

Prompt payload passed policy and detector checks (or matched a bound verified manifest's canonical SHA-256), earned its declared claim level, and was attested in airlock_manifest.json.

BLOCKED (HTTP 403)

Exit 1 / HTTP 403

Request failed policy detectors (BOUNDARY_FAILED) or lacked a matching verified manifest / valid conversation chain (E_GATE_DENIED). Blocked before upstream transmission with a redacted receipt.

REFUSAL

Exit 2

Missing signing key (without --no-sign), invalid or corrupted manifest signature at startup, oversized Bloom file, or unreadable policy. Fails closed before serving traffic.

Common refusal & finding codes

CodeWhen it firesRemediation
BOUNDARY_FAILEDPolicy denylist, detector pack, multimodal check, or protected Bloom filter matched outbound bodyStrip raw source values and send redacted derived telemetry only
E_GATE_DENIEDStrict-manifest gate found no bound manifest matching canonical request SHA-256Run airlock verify on the exact prompt payload before forwarding
REQUEST_CHAIN_UNRESOLVEDChained turn manifest or prompt provenance link could not be verifiedKeep provenance files alongside manifests in --manifest-dir
REQUEST_CHAIN_RESPONSE_NOT_FORWARDEDChained turn references an earlier reply this gate never forwardedRoute every turn of the conversation through the same gate --out-dir
E_SIGNATURE_INVALIDManifest signature failed Ed25519 verification under configured --pubkeyTreat manifest as altered after signing and halt deployment

Learning progression

Attested outbound prompts? Pair airlock with veil and pack.

veil blocks raw files from entering agent context at ingress, airlock proves what crossed the model boundary at egress, and pack seals all manifests and reports into an offline-verifiable bundle.

  1. 01rvlSee what moved
  2. 02shapeCheck compatibility
  3. 03profileScope columns
  4. 04verifyEnforce rules
  5. 05packSeal proof
  6. 06veilGuard privacy

Ingress companion · 06 veil

Block AI agents from reading protected files at ingress.

Pair airlock with veil so confidential folders are blocked before raw bytes enter context and protected-corpus Bloom filters feed straight into airlock gate.

Back to veil & hook simulator ->

Seal proof · 05 pack

Seal signed airlock manifests into an evidence pack.

Bundle airlock_manifest.json, not_crossed.json, and upstream lockfiles into one SHA-256 directory any auditor can verify offline.

Continue to pack & tamper test ->

What airlock handles

  • Assembles prompt payloads with provenance maps (prompt_provenance.json) and explicit not_crossed.json records of local-only files
  • Signs manifests by default with local Ed25519 keys (airlock keygen + airlock verify-manifest)
  • Verifies and transmits RFC 8785 canonical JSON requests in one process (airlock send) so checked bytes equal sent bytes
  • Runs a loopback HTTP gate in policy-proxy mode (secrets/PII/tabular detectors + opaque BDBL v1 protected-corpus Bloom filters) or strict-manifest mode
  • Verifies multi-turn conversation chains (airlock.v0.4) and denies base64 media unless allow_multimodal is explicitly enabled
  • Ignores ambient HTTP_PROXY/HTTPS_PROXY environment variables unless explicitly passed via --upstream-proxy

Explicit boundaries & limits

  • An attestation proves what bytes crossed through airlock; it does not establish that the model's answer is factually correct.
  • Enforcement depends on routing provider traffic through airlock send or airlock gate (pair with OS/network egress rules in production).
  • Failed network exchanges in airlock send are recorded honestly as 'may have been sent', never 'was not sent'.
  • An Ed25519 signature proves the manifest was unaltered since the configured key signed it, not organizational identity.
Cairn roles
Software factory
Evidence roles
Source
Contribution
Record prompt payloads and upstream artifacts sent across a model boundary.
Limit
An attestation records what was sent; it does not establish that the model's response is correct.
Questions this tool can support
  • Can I keep the records behind this comparison?

    Record which prompt payload and upstream artifacts crossed a model boundary. This records the inputs, not the correctness of the answer.

    Potential use, not demonstrated here

Open-source starter -> Paid lineage stack

Start free on local files. License the paid stack for warehouse-wide lineage.

Open-source Rust CLIs and @cmdrvl/web browser engines cut document token spend 10x to 100x locally and work alongside any AI assistant or hosted workspace (Rogo, Hebbia, Harvey, Claude, ChatGPT, or Codex). When your firm needs end-to-end lineage across Snowflake or your cloud warehouse (Reveal catalog, paid MCP servers, Evidence MCP receipts, x402 APIs, and offline twinning and evals), license the paid stack or start with a $500 half-day founder workshop.

Complete open-source CLI suite (17 interactive offline demos)

Explore every deterministic tool in the spine.

Full /tools/ directory ->github.com/cmdrvl ->

Intake & identity

  • vacuumInventory folders
  • hashSHA-256 / BLAKE3
  • fingerprintClassify files
  • lockPin snapshots
  • canonResolve entities

Workstation guardrails (CLI-only)

  • veilGuard agent commands
  • airlockcurrent

Common questions

How do veil and airlock work together?
veil guards ingress so raw confidential files do not enter an AI coding agent's context. airlock guards egress and produces signed manifests proving the exact canonical JSON bytes that crossed to a model API and which raw files stayed local.
What is the difference between policy-proxy and strict-manifest gate modes?
policy-proxy screens every live SDK turn against detector packs, regexes, and optional protected-corpus Bloom filters. strict-manifest is tighter: it forwards only request bodies whose canonical SHA-256 matches a pre-verified manifest in --manifest-dir.
Does airlock store my provider API key in manifests or logs?
No. airlock forwards Authorization and provider key headers to the upstream endpoint and never writes them into receipts, manifests, or witness records.
Does the browser demo send my pasted prompt anywhere?
No. Screening detectors and SHA-256 canonical payload hashing run completely in browser memory with zero network calls. Turn off your Wi-Fi before Step 4 and every check still works.

Related tools & reading

veil: Block AI agents from reading protected filespack: Seal tamper-evident evidence packslock: Pin source files into a self-hashed lockfilervl: Redacted numeric spreadsheet diffsAll open-source CLIs & paid stack