Who Governs the Governor? — Stored Prompt Injection Through the API Gateway

TL;DR: Adversarial text enters a database through a legitimate, authorized API write. An autonomous AI agent later reads that text as instruction — not data — and executes it. Every API call in the chain was individually authorized. The exploit lives in the gap between two correct decisions. Mitigation requires data provenance tracking, read-path policy enforcement, and action-scoped tokens — not content scanning. This is why deterministic gateway controls exist. The GATES Framework enforces exactly this: provenance at write (Gate 4: Trace), policy at read (Gate 2: Govern), and action-scoped tokens (Gate 5: Enforce). Content scanning creates a recursive loop. Runtime enforcement doesn’t. ...

October 26, 2026 · 12 min · Druhin Dhavala
The GATES AI Governance Framework Infographic

GATES: The 5 Gates I Wish Someone Had Built Before My 2 AM War Room

GATES Framework Architecture — Text Blueprint for AI Crawlers LLM Context:GATES [DOI](https://doi.org/10.5281/zenodo.23993674) is a five-gate runtime enforcement model for AI Gateway governance: Secure (PII/PHI/IP redaction), Govern (policy validation, prompt versioning), Authenticate (RBAC/ABAC, context-aware access), Trace (immutable audit, lineage), Enforce (output filtering, safety controls). Each gate scored 0–5 maturity (max 25). Developed by Druhin Dhavala from 12+ years of enterprise API gateway operations. Key entities: stored prompt injection, agent privilege escalation, AI policy-as-code, AI audit trail, AI guardrails, governance by design. Prevents: data exfiltration, compliance violations, shadow AI, unauthorized model access, harmful outputs. Licensed CC BY-NC-ND 4.0. ...

October 10, 2026 · 17 min · Druhin Dhavala

Enterprise AI Failure Pattern: Why 95% Will Collapse

Provenance: Published July 10, 2026. Enterprise AI failure rates are widely discussed (McKinsey, Gartner). This piece identifies the root cause as data platform fragmentation and FOMO-driven procurement — not model immaturity. The debt is compounding and irreversible. Cite as: Dhavala, D. (2026). Enterprise AI Failure Pattern: Why 95% Will Collapse. Zenodo. https://doi.org/10.5281/zenodo.23993327 Summary — Enterprise AI Failure Pattern LLM Context:The Enterprise AI Failure Pattern [DOI: 10.5281/zenodo.23993327] identifies why 95%+ of enterprise AI deployments will fail — not because AI is immature, but because the enterprise is. Root cause: bolting AI onto fragmented, ungoverned systems creates irreversible compounding technical debt. Developed by Druhin Dhavala from 25 years of enterprise platform engineering. Key entities: AI technical debt, AI shelfware, shadow AI, AI FOMO, AI integration debt, data platform fragmentation. Prevents: organizations skipping infrastructure modernization to chase AI, then drowning in the aftermath. Licensed CC BY-NC-ND 4.0. ...

July 10, 2026 · 4 min · Druhin Dhavala