Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_sec-rag-poisoning-and-embedding-attacks

RAG poisoning and embedding-store attacks

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![RAG poisoning and embedding-store attacks — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_sec-rag-poisoning-and-embedding-attacks/opengraph-image)](https://archos.sageideas.dev/d/dgm_sec-rag-poisoning-and-embedding-attacks)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_sec-rag-poisoning-and-embedding-attacks)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_sec-rag-poisoning-and-embedding-attacks" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="RAG poisoning and embedding-store attacks — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  src_0[("Client application")]
  n0_1["Guardrails"]
  n1_2["Data quality check"]
  n2_3[("Vector database")]
  n3_4["Inference server"]
  ctrl_5["OpenTelemetry Collector"]
  sink_6[("Client application")]
  src_0 -->|"1. Scans text · HTTPS"| n0_1
  n0_1 -->|"2. Tags trust · HTTP"| n1_2
  n1_2 -->|"3. Indexes ACL · gRPC"| n2_3
  n2_3 -->|"4. Grounds · HTTPS"| n3_4
  n3_4 -->|"5. Verified · HTTPS"| sink_6
  n1_2 -->|"Flags spam · OTLP"| ctrl_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    External doc ingest
  • GuardrailsSTATELESS
    Sanitizes + scans ingest
  • Data quality checkSTATELESS
    Provenance + trust tier
  • Vector databaseSTATEFUL
    Per-tenant ACL namespace
  • Inference serverSTATELESS
    Cites trust tier + source
  • OpenTelemetry CollectorSTATELESS
    Corpus poisoning alerts
  • Client applicationSTATEFUL
    Clean trusted corpus

REQUEST & DATA FLOW (6)

  1. Client application → Guardrails (Scans text)[HTTPS]
  2. Guardrails → Data quality check (Tags trust)[HTTP]
  3. Data quality check → Vector database (Indexes ACL)[gRPC]
  4. Vector database → Inference server (Grounds)[HTTPS]
  5. Inference server → Client application (Verified)[HTTPS]
  6. Data quality check → OpenTelemetry Collector (Flags spam)[OTLP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →