Multimodal RAG Platform  ·  View 10 of 16

Security Architecture

Five trust zones in decreasing exposure, with every boundary crossing labelled — including the attacker's path.

Editable source SVG draw.io All views
Untrusted — Internet
Untrusted — Internet
End User
End User
Malicious Upload
macro, embedded script
Malicious Upload...
Prompt Injection
text inside a document
Prompt Injection...
Perimeter
Perimeter
WAF & DDoS
WAF & DDoS
API Gateway
OIDC, mTLS out
API Gateway...
Quota & Rate Limit
per tenant
Quota & Rate Limit...
Application — private subnet
Application — private subnet
Query Orchestrator
Query Orchestrator
Ingestion Workers
no inbound routes
Ingestion Workers...
Content Guard
AV, injection strip
Content Guard...
Model Gateway
egress allow-list
Model Gateway...
Data — isolated subnet
Data — isolated subnet
Vector Index
tenant namespace
Vector Index...
Object Store
CMK encryption
Object Store...
Metadata DB
row-level security
Metadata DB...
Audit Log
write-once
Audit Log...
Control plane & egress
Control plane & egress
Identity Provider
Identity Provider
KMS & Secrets
rotation 90 d
KMS & Secrets...
Claude API
allow-listed egress
Claude API...
SIEM
SIEM
TLS 1.3
TLS 1.3
bearer token
bearer token
mTLS
mTLS
verify JWKS
verify JWKS
quarantine
quarantine
strip
strip
tenant filter
tenant filter
CMK envelope
CMK envelope
redacted
redacted
decision record
decision record
forward
forward
Security Architecture — Trust Zones and Crossings
Security Architecture — Trust Zones and Crossings
Person or role
Person or role
Risk / gap
Risk / gap
Security / platform
Security / platform
Interface / broker
Interface / broker
Application we own
Application we own
Data store
Data store
External / third party
External / third party
synchronous
synchronous
failure / alternate
failure / alternate
event / async
event / async
Retrieved content is data, never instruction. The generation prompt states this and the guard enforces it.
Retrieved content is data, never instruction. The generation prompt states this and the guard enforces it.
v 1.0 · owner Security Architecture
v 1.0 · owner Security Architecture
Text is not SVG - cannot display

Threats drawn, not described

  • Malicious upload — quarantined and scanned before parsing
  • Prompt injection inside document text — stripped by the content guard
  • Retrieved content is treated as data, never as instruction

Controls at each boundary

  • TLS 1.3 in, mTLS between services, JWKS verification at the gateway
  • Per-tenant quota and rate limiting at the perimeter
  • Customer-managed keys and row-level security in the data zone

Tenant isolation

  • Vector namespace per tenant, enforced in the retriever not the caller
  • Row-level security on metadata
  • Every retrieval and every answer written to a write-once audit log