interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / AUDIT_SCOPE.md

151 lines · 8561 bytes Raw Blame History Source

Audit scope

Written for an outside, independent security audit. Revision described: 1de1b0065b2e667d8d7a23ffc3d75aeb65bf864b on main, 2026-10-26. Everything below is taken from the repository's own files at that revision; items marked NOT_RUN were not executed while writing this document.

What this repository is

INTERPLANE is an open interoperability protocol between AI models and agent runtimes. Model output is parsed into tool requests, the runtime decides each request with its own policy, and INTERPLANE carries the request and the decision across the boundary and refuses to upgrade a decision. The repository holds normative Markdown and JSON Schemas (spec/), a Rust reference implementation (rust/), conformance fixtures with recorded verdicts, the AIEN reference adapter (AGPL-3.0-or-later, adapters/aien/), a provenance verifier (provenance/), and benchmark and qualification records. No Python ships. Status: version 0.3.0, pre-1.0; STATUS.md is the only place that states what is implemented, tested, conformant or qualified.

What to review, in priority order

  1. rust/crates/interplane-crossveil/. The authority-boundary contract: two runtime callbacks, a lifecycle with fail-closed invariants, trust classes, the input ledger and exposure, approval continuation (only the runtime-minted approval_id for that request; expiry, cancel, replay and restart refusals), and session limits (tests/session_limits.rs). Check that no path executes without an explicit authorized decision.
  2. rust/crates/interplane-lenshift/. Dialect parsers for untrusted model output (openai, openai_stream, qwen35, aien_legacy). Check size limits, malformed input, incomplete SSE streams (must be rejected), and unknown dialects.
  3. rust/crates/interplane-core/. Schemas, types, validation, JCS canonical JSON, versioning, duplicate request ids and replay detection.
  4. rust/crates/interplane-crossaxis/. Capability mapping, stale-digest refusal, the domain selector and bounded expansion. Check it never grants authority.
  5. adapters/aien/. Reference adapter against the AIEN host: write sink confined with pinned directory descriptors and atomic replacement (SECNET-01), bounded records and correlation state (SECNET-05), approval tests in adapters/aien/tests/approval.rs.
  6. rust/crates/interplane-probe/. Sends requests to a live OpenAI-compatible endpoint with INTERPLANE_PROBE_API_KEY in a header only; check it never stores or prints the key.
  7. provenance/. Companion manifest verifier outside Core (ADR 0004).
  8. .github/workflows/aien-verification.yml. Runs on pull_request and push with permissions: contents: read; takes trust anchors (.aien/verify.pub) from origin/main, not from the head; builds only the pinned verifier tool (aien-test from aien-sovereign-core a51042b6...; the crumb step is retired, DRA-97) outside the tree under test; on alpha/* tags it fetches and verifies the signed Spark bundle. Actions are pinned by commit sha. Check that candidate code cannot influence the verifier build or the trust anchors.
  9. .github/workflows/qualification.yml. Manual workflow_dispatch only, runs on a self-hosted runner with the INTERPLANE_PROBE_API_KEY secret; dispatch inputs are passed as environment variables, not shell source. Check input handling and secret exposure.
  10. tests/gates/run.sh and tests/gates/*.gate. The Spark gate entry point.

Trust boundaries

Threat model summary

Build from source at a pin

rust-toolchain.toml pins Rust 1.99.0 with clippy and rustfmt. Gates also use jq.

git clone https://github.com/aien-dev/interplane-mv.git
cd interplane-mv/rust
cargo build

The AIEN adapter needs sibling checkouts at the commits in adapters/aien/PINS (aegis-runtime f4e870953a466bb1cf68f1d88285929024cf1ba9, aien-protocols 3a4cdbe8d360a2e1ddb3e8b108684048b9d4ba10, sovereign-core 9b5e6e82359f4ad6b6f03042e83ef6411c5f15ce); adapters/aien/setup-siblings.sh [parent-dir] clones them. Everything builds on a plain Linux host.

Run every test

From rust/:

cargo test --all
cargo run -q -p interplane-conformance --bin interplane-conformance -- ../conformance/fixtures --out /tmp/verdicts.json
cmp /tmp/verdicts.json ../conformance/expected/verdicts.json
cargo run -q -p interplane-conformance --bin interplane-corpus -- validate
cargo run -q -p interplane-crossveil --example offline
cargo run -q -p interplane-crossveil --example todo_adapter

From the repository root, the Spark gates:

tests/gates/run.sh no-python
tests/gates/run.sh schemas-and-fixtures
tests/gates/run.sh rust
tests/gates/run.sh package
tests/gates/run.sh negative-controls
tests/gates/run.sh provenance
tests/gates/run.sh adapter-aien

All of the above: NOT_RUN while writing this document.

Known limitations and NOT_RUN

Dependencies and provenance

Evidence