AML.T0085Data from AI Servicesview on ATLAS ↗Adversary collects data from AI service interfaces. Sub-technique .000 (RAG Databases) names retrieval-augmented generation stores; .001 (AI Agent Tools) names tool-call data.
T28 · Helmwart ID · OWASP MAS Guide source
An attacker gains access to the vector database behind a retrieval-augmented pipeline and bulk-exfiltrates its embeddings and source documents, which may hold sensitive proprietary data.
ExtendsT1: Memory Poisoning · base threat in OWASP v1.1 catalog
An attacker gains access to the vector database used by the Retrieval-Augmented Generation (RAG) pipeline. In the ElizaOS context this is a direct database breach; in the Anthropic MCP context it is access via an MCP server Resource endpoint. The vector store may contain proprietary knowledge, sensitive operational data, training examples, or domain-specific embeddings, all representing significant organisational intellectual property or privacy-relevant content.
In the ElizaOS context: an attacker exploits misconfigured access controls on the shared vector database to connect directly, bypassing any agent-layer authentication. They run a bulk similarity query against the entire collection and download all stored embeddings alongside the source documents they index: trade research, wallet interaction history, and internal strategy notes.
In the Anthropic MCP context: the MCP server exposes a Resources primitive endpoint that allows connected clients to retrieve embedded knowledge base content. An attacker who has obtained MCP client credentials (via T40 MCP Client Impersonation) iterates over the resource namespace, retrieving the full contents of the vector store in batches. Because the Resource endpoint is designed for data retrieval, the access pattern is indistinguishable from normal agent operation without query-rate or volume anomaly detection.
RAG vector stores are typically treated as infrastructure rather than as data assets with their own sensitivity classification and access controls. As agents encode organisational knowledge into embeddings (policies, internal procedures, customer interaction patterns), the vector store accumulates a comprehensive intelligence asset. A single breach exfiltrates that asset in its entirety. T43 (Network Exposure of MCP Server) compounds the risk: an MCP server exposed on an unauthorised network makes the vector store reachable to any attacker who can reach the server port.
Exfiltration of a vector store involves bulk retrieval (high query counts, large result sets, or systematic iteration over the namespace), which stands out sharply against the sparse, targeted queries an agent normally issues.
top_k results well above the agent’s configured retrieval limit (e.g. top_k = 1000 when the agent normally requests 5–10). Log the top_k parameter on every query and alert on values above the expected ceiling.resource://kb/doc-0001, resource://kb/doc-0002 …). Deploy a sequential-URI-access pattern detector on the MCP server’s request log.T28 extends T1 Memory Poisoning. Where T1 is a write-path attack (injecting malicious content into the store), T28 is the read-path complement: exfiltrating the store’s contents without modification. T27 (Vector Database Poisoning with Malicious Smart Contract Data) targets the same vector store surface via the write path.
The Agentic Top 10 (ASI01 through ASI10) is a separate practitioner-facing publication that maps onto the master Threats & Mitigations threat numbering. T28 is covered by the following Top 10 entries:
An adversary writes malicious or misleading data into an agent's persistent memory or shared vector store, so that every future session, and every peer agent reading from the same store, operates on corrupted context. The defining difference from single-turn injection (ASI01) is that the poisoned data survives session reset; the agent's reasoning drifts without any new attacker input.
Source: OWASP Top 10 for Agentic Applications 2026 (Dec 2025) · the Top 10 is a compass into the master Threats & Mitigations taxonomy, not a replacement for it.
When T28 is present, these security design principles are the ones being violated or tested. Each links to the full principle; the mitigations below are how you restore them.
Auto-generated from the mitigation catalog: every mitigation whose coverage map includes T28, sorted by maturity tier (Tier 1 production-canonical first, then Tier 2, then Tier 3 research-stage).
An agent produces output continuously across multiple channels: user-facing responses, tool-call parameter envelopes, log records, and outbound HTTP requests. Any of those channels can carry sensitive content the agent has retrieved, been fed, or been tricked into including. Output egress DLP places an inspection gate at the boundary so that PII, credentials, and proprietary content are classified and either redacted or quarantined before they leave the trust boundary, regardless of how they got into the output.
why it helps RAG data exfiltration is the leakage of retrieved confidential documents through the agent's response to an external caller. DLP classification at the egress seam identifies and quarantines content that matches confidential-data patterns before the response is delivered.
Content-layer inspection reads outbound payloads and decides pass, redact, or quarantine per channel — but it can only classify what it can parse as content. A direct TCP/UDP socket opened by agent-executed code, a raw DNS query, or a payload encoded into DNS subdomain labels never reaches an HTTP-shaped inspection point at all. Network egress isolation closes that gap one layer down: every agent and tool-bus process sits behind a default-deny network policy, and the only path to the internet is through an enforced proxy that mediates, allowlists, and logs each connection attempt regardless of what it contains.
why it helps RAG Data Exfiltration is the leakage of a sensitive corpus through the agent's output channel. If the exfiltration attempt is shaped to evade content classification — chunked across many small requests, base32/hex-encoded into a hostname, or sent as a raw connection rather than a documented API call — the destination itself is still gated. A proxy that only permits connections to an explicit destination allowlist denies the transfer regardless of how the payload was encoded.
An agent's memory store is a persistent surface: anything written to it can be retrieved by any agent, in any session, for the lifetime of the corpus. Memory poisoning exploits that persistence by writing adversarial content that steers the agent's reasoning long after the attacker has gone. Write-boundary validation prevents this by running every candidate memory write through schema, policy, and provenance checks before it is committed. Content that fails any gate is rejected and never reaches the store.
why it helps RAG data exfiltration is partially addressed at the write boundary by requiring every document written to memory to carry a verifiable provenance tag. Those tags are auditable at retrieval time and support forensic investigation of what was accessed and by whom. Write-boundary validation does not prevent retrieval-side exfiltration; pair with m-vector-acl for the retrieval boundary.
When multiple agents share a single vector store, the access boundaries between them are not enforced by the store itself unless you configure them explicitly. Without per-namespace write and retrieval controls, an agent that can write to the shared corpus can insert crafted vectors into any namespace it can reach, and any agent that can query the store can retrieve another agent's confidential documents through embedding-space proximity. Shared-memory ACL addresses this by tagging every vector with a principal identifier at write time and filtering every retrieval query to the requesting agent's namespace, enforced at the gateway layer where the agent cannot bypass it.
why it helps RAG Data Exfiltration depends on embedding-space proximity returning documents the requesting agent was not authorised to read. Retrieval-side namespace filtering is the structural control: a query filtered to the requesting principal's namespace cannot return records written to a different namespace.
A vector store returns results by embedding-space proximity, not by who is asking. Without a per-principal filter applied before similarity ranking, a query from tenant A can surface tenant B's vectors if the embeddings are close enough. Vector ACL closes that gap: every retrieval call is scoped to the requesting principal's namespace or payload partition before the store ranks any results, so cross-principal hits are structurally impossible rather than merely unlikely.
why it helps T28 RAG Data Exfiltration relies on a principal retrieving vectors from a partition they should not access. Per-principal ACL at the retrieval boundary prevents this structurally: a query is scoped to the requesting principal's namespace before similarity ranking, so vectors from other namespaces are never ranked or returned, even when the query embedding is highly similar to their content.
The OWASP OWASP MAS Threat Modelling Guide v1.0 catalogues 1 named multi-agent variant of T28, anchored to specific MAESTRO layers. Each is a concrete attack pattern that emerges when this threat compounds across agents.
Shared inference infrastructure (T42: side-channel) allows a tenant to observe timing or cache patterns from a co-tenant session (T45: session isolation failure); incomplete sandboxing (T28) lets the attacker infer private prompt content across clients.
Source: OWASP MAS Threat Modelling Guide v1.0, §2 Overview of MAESTRO Framework — Extended Threat Scenarios + Cross-Layer table.
MITRE ATLAS catalogues adversary techniques against AI systems. Where this OWASP threat has an attacker-perspective counterpart, the ATLAS technique is shown below. That is what a red team would actually be doing on the wire. Use this for detection-signal anchoring, threat-hunting hypotheses, and IR runbooks. Source: mitre-atlas/atlas-data v5.6.0.
© 2026 The MITRE Corporation. ATLAS content is reproduced and distributed with the permission of The MITRE Corporation.
AML.T0085Data from AI Servicesview on ATLAS ↗Adversary collects data from AI service interfaces. Sub-technique .000 (RAG Databases) names retrieval-augmented generation stores; .001 (AI Agent Tools) names tool-call data.
AML.T0086Exfiltration via AI Agent Tool Invocationview on ATLAS ↗Adversary exfiltrates data by chaining the agent's legitimate tools (e.g. read-only DB query plus an outbound email tool), neither of which is alarming on its own.
Agentic angle: Each step looks routine in audit logs; the *combination* is the attack.
AML.T0012Valid Accountsview on ATLAS ↗Adversary obtains and abuses legitimate user or service credentials for initial access, persistence, privilege escalation, or defence evasion.
Agentic angle: Agents often run under long-lived service accounts whose blast radius exceeds the original task scope.
Adapted by Helmwart from the OWASP source(s) above underCC BY-SA 4.0(changes: normalized IDs, added MAESTRO-layer, agentic-factor, and mitigation mappings). This entry is licensed CC BY-SA 4.0.
Press play. The voice downloads once, then it’s cached.
On-device · private