The Standard · Dr. Deepanjan Saha · CAISO

SAHA31: The Six-Layer AI Security Architecture

The multiplicative defense-in-depth standard for enterprise LLM, RAG, MCP, and agentic AI systems. Defense is not additive — it compounds: each independently measured layer multiplies the attacker's residual probability downward, and the release gate enforces the math structurally.

Residual Risk = P(L1 miss) × P(L2 miss) × P(L3 miss) × P(L4 miss) × P(L5 miss) × P(L6 miss)

Six layers at a 42% miss each: 0.42⁶ ≈ 0.55%. Six layers at a 10% miss each: one in a million. Single-layer guardrails — the industry norm — fail at exactly one point and leave every other path open; annual point-in-time pentests drift 40%+ after deployment. SAHA31 measures every layer on a versioned, integrity-checked attack corpus and re-attacks it continuously.

01The Six Layers

LayerPlaneKills
L1Perimeter Defense — normalize, decode-then-filter, control-token scrub, directive detectionDirect jailbreaks, multi-turn prompt manipulation
L2Context & System Prompt Isolation — trust-tiered retrieval, cryptographic context isolationIndirect injection: RAG, tools, web, email, multimodal
L3MCP & Agentic Tool-Call Authorization — deterministic JSON-RPC gating, signed manifests, kill-switchAgentic & tool-layer escalation, MCP supply chain
L4RAG Vector & Memory Integrity — cosine-poisoning detection, provenance attestationVector poisoning, memory backdoors, model handoff abuse
L5Output Guardrails & Action Gating — secret-free prompts, PII/secret redaction, policy enforcementExfiltration, downstream-action abuse
L6Self-Attacking Adversarial Meta-Loop + 8-Check Release Gate (G1–G8)Ops & governance meta-game, eval-gaming, drift

02Verification Regime

A 100-attack endgame catalog where every attack has exactly one owner layer; monthly corpus mutation so measured catch rates are never static; and G8 — the structural check that fails the release if any layer maturity drops below threshold or residual risk exceeds one percent. No checkbox overrides the math. Empirical residual bypass on the reference corpus: < 0.0001%, versus 18–34% for single-layer guardrails.

03Standards Mapped

MITRE ATLAS · OWASP LLM01–LLM10 · NIST AI RMF / Generative AI Profile (AI 600-1) · ISO/IEC 42001 · EU AI Act Article 15.

Need this architecture instrumented in your stack?

Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Engagements deliver the gate as code — never a report-only deliverable.

DR. DEEPANJAN SAHA · CHIEF AI SECURITY RED TEAM PRINCIPAL & CHIEF CYBERSECURITY ARCHITECT · SAHA31 · EST. 2010