Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_sec-indirect-injection-exfiltration-chain

Indirect prompt injection and data-exfiltration chains via tools and RAG

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![Indirect prompt injection and data-exfiltration chains via tools and RAG — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_sec-indirect-injection-exfiltration-chain/opengraph-image)](https://archos.sageideas.dev/d/dgm_sec-indirect-injection-exfiltration-chain)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_sec-indirect-injection-exfiltration-chain)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_sec-indirect-injection-exfiltration-chain" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Indirect prompt injection and data-exfiltration chains via tools and RAG — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  src_0[("Client application")]
  n0_1[("Vector database")]
  n1_2["Inference server"]
  n2_3["Guardrails"]
  n3_4["Service mesh"]
  ctrl_5["OpenTelemetry Collector"]
  sink_6[("Client application")]
  src_0 -->|"1. Loads doc · gRPC"| n0_1
  n0_1 -->|"2. Isolates · HTTPS"| n1_2
  n1_2 -->|"3. Denies tool · HTTP/2"| n2_3
  n2_3 -->|"4. Strips URL · HTTPS"| n3_4
  n3_4 -->|"5. Zero leak · HTTPS"| sink_6
  n2_3 -->|"Flags exfil · OTLP"| ctrl_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    Poisoned email / web
  • Vector databaseSTATEFUL
    Untrusted data plane
  • Inference serverSTATELESS
    Spotlights data vs instr
  • GuardrailsSTATELESS
    Blocks untrusted write
  • Service meshSTATELESS
    Blocks image/URL exfil
  • OpenTelemetry CollectorSTATELESS
    Taint & exfil alerts
  • Client applicationSTATEFUL
    Exfiltration blocked

REQUEST & DATA FLOW (6)

  1. Client application → Vector database (Loads doc)[gRPC]
  2. Vector database → Inference server (Isolates)[HTTPS]
  3. Inference server → Guardrails (Denies tool)[HTTP/2]
  4. Guardrails → Service mesh (Strips URL)[HTTPS]
  5. Service mesh → Client application (Zero leak)[HTTPS]
  6. Guardrails → OpenTelemetry Collector (Flags exfil)[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →