Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.53 KB

File metadata and controls

45 lines (30 loc) · 1.53 KB

Einsof

Work in progress.

Einsof is a security authorization system for LLM tool execution. It addresses the Lethal Trifecta -- the combination of private data, untrusted content, and external communication that enables data exfiltration through indirect prompt injection.

The system enforces authorization at tool boundaries so that a confused (prompt-injected) agent cannot reach egress channels when it carries taint from private data.

Components

Tzimtzum -- Formal Specification

The TzimtzumV2 protocol, written in Lean 4 using the Veil verification framework. All 7 safety properties and 12 strengthening invariants are verified automatically via push-button SMT

Argus -- Rust Implementation

A tool authorization gateway implementing the TzimtzumV2 protocol. Rust workspace with 10 crates covering the core state machine, policy engine, MCP server management, LLM proxy, gRPC API, sandboxing, and more. 512+ tests across the workspace.

Formal Proofs -- Rocq (Coq) Verification

Mechanized proofs connecting the Lean specification to the Rust implementation. Three layers: axioms (data structure interfaces), abstract specification (safety properties), and refinement proofs (simulation relations and soundness guarantees).

Toolchain

Managed via mise:

Tool Version
Rust 1.93.0
Lean 4.27.0
Rocq 9.0

License

MIT