⏺ Non-Repudiation · Tamper-Evident

SHA-256 Hash-Chained Audit Trail

A cryptographic audit log that makes every tamper attempt mathematically detectable. Written at the execution boundary — outside the agent's reach.

How It Works

Every decision — allow, warn, block — is written to a SHA-256 hash chain at the moment of classification. The agent never touches the log. The chain is append-only and verifiable independently.

GENESIS (prev_hash = "0000...0000")
  └── entry 1: hash = SHA256(GENESIS + payload₁)
        └── entry 2: hash = SHA256(hash₁ + payload₂)
              └── entry n: hash = SHA256(hashₙ₋₁ + payloadₙ)

Key Properties

⛓️ Non-Repudiation

Altering any entry changes its hash and every hash after it. The tamper is mathematically provable.

🚫 Orphan-Proof

An entry cannot be inserted mid-chain without recomputing the entire suffix — which the verifier does independently.

🔒 Outside the Agent's Reach

The gateway writes the ledger. The agent has no write access and cannot suppress, modify, or falsify its own record.

📊 Exportable

Structured JSONL, exportable to OCSF-compatible taxonomies for SIEM and compliance ingestion.

Use Cases

Specifications

Hash algorithmSHA-256
Chain formatAppend-only JSONL
Export formatsJSONL, OCSF
WriterNIBVOK Gateway (agent has no write access)
Verified18/18 tests pass, tamper-evident verified
Production log24,000+ entries at NIBVOK (live, dogfooded)

Included with NIBVOK AI Security

The tamper-evident audit trail ships with every NIBVOK Gateway deployment. Self-hosted, open source.

Get Started → ← Back to AI Security
NIBVOK Audit Trail · Pricing · The Doctrine