On this page 4 sections

Ask a team how its AI system could be attacked and the first answer is usually about the model: someone tricks it into saying something it should not. That happens. But a model that only talks can do limited harm. The damage comes when what it reads, what it remembers and what it can touch are wired to the rest of the organisation.

The map below sets ten threats against the parts of an AI stack. It is the practice's own working list, not a ranking of how likely each one is.

ThreatLLMsSelf-hosted AIAgentic AI frameworksRetrieval (RAG)EmbeddingsMCP, tools and web accessAI security and guardrailsObservability and evaluationMemoryAI agentsAutomationVoice and customer channelsVector databases
Agentic AI frameworks: Agents built on a vendor's agent platformRetrieval (RAG): Custom LLM and retrieval applicationsMCP, tools and web access: MCP servers and tool connectors, Web search and scraping tools for agentsMemory: Memory for assistants and agentsAI agents: Custom agents with tool access, Agents built on a vendor's agent platform, Assistants that act for the userVoice and customer channels: CRM and customer-service AI
Agentic AI frameworks: Agents built on a vendor's agent platformMCP, tools and web access: MCP servers and tool connectorsAI agents: Custom agents with tool access, Agents built on a vendor's agent platform, Assistants that act for the userAutomation: Workflow automation with AI stepsVoice and customer channels: Speech and voice-agent pipelines
LLMs: Foundation model APIs, Chat assistantsSelf-hosted AI: Self-hosted chat interfacesRetrieval (RAG): Custom LLM and retrieval applications, Vector stores and retrieval infrastructureObservability and evaluation: LLM observability and tracingMemory: Memory for assistants and agentsVoice and customer channels: Speech and voice-agent pipelinesVector databases: Vector stores and retrieval infrastructure
LLMs: Foundation model APIs, Self-hosted open modelsSelf-hosted AI: Self-hosted open models, Self-hosted chat interfacesAgentic AI frameworks: Orchestration and agent frameworksRetrieval (RAG): Orchestration and agent frameworksEmbeddings: Embedding modelsMCP, tools and web access: MCP servers and tool connectorsAI security and guardrails: Guardrail and AI security services
LLMs: Self-hosted open modelsSelf-hosted AI: Self-hosted open models, Self-hosted chat interfacesRetrieval (RAG): Custom LLM and retrieval applications, Vector stores and retrieval infrastructureMCP, tools and web access: MCP servers and tool connectorsObservability and evaluation: LLM observability and tracingVector databases: Vector stores and retrieval infrastructure
Retrieval (RAG): Custom LLM and retrieval applications, Vector stores and retrieval infrastructureEmbeddings: Embedding modelsMemory: Memory for assistants and agentsVector databases: Vector stores and retrieval infrastructure
Retrieval (RAG): Custom LLM and retrieval applicationsVoice and customer channels: CRM and customer-service AI
Voice and customer channels: Speech and voice-agent pipelines
LLMs: Chat assistantsSelf-hosted AI: Self-hosted chat interfacesAI agents: Assistants that act for the user
Threats reaching the area4436241233153
  • Reaches one kind of tool in the area
  • Reaches more than one

Prompt injection

Instructions hidden in an email, a web page, a document, a ticket or a tool description, which the model follows as if they came from its owner.

Test for it. Plant instructions in the content the system reads, and see whether it obeys them.

Answered by: IS-14, IS-12, IS-11, IS-13

Reaches 6 of 13 areas, through: Agents built on a vendor's agent platform, Custom LLM and retrieval applications, MCP servers and tool connectors, Web search and scraping tools for agents, Memory for assistants and agents, Custom agents with tool access, Assistants that act for the user, CRM and customer-service AI.

Fig. 1 Ten AI threats against the thirteen parts of an AI stack. Choose a threat to see how to test for it.

Read across a row

A row shows where one threat can enter. Prompt injection reaches almost every part that reads text from outside: retrieval, MCP and web access, memory, agents and customer channels. That is why it cannot be fixed in one place. A filter in front of the chat window does nothing about a poisoned document in the index or a hidden instruction on a web page an agent was sent to read.

Read down a column

A column shows what one part of the stack is exposed to. Retrieval and customer channels are reached by the most threats, because both read text from outside and both hold personal data. Agents are reached by fewer, but through several kinds of tool at once, which is why their cells are darker: the same threat can come in through the agent, the platform it runs on and the assistant that acts for a user.

Where reading and acting meet, one decision removes more risk than any filter. An agent that has just read a web page, an email or a retrieved document should need a person's approval before it sends, pays or deletes anything.

Three threats with no column

Deepfakes, staff misuse and AI-written attacks reach an organisation whatever AI it runs. A company that has bought no AI at all still receives a cloned voice asking for an urgent payment. These are governed through people and process, not through the stack.

Using it

Take the map to the people who own each part of the stack and ask them to run the test for each shaded cell in their column. The answer "we have not tried" is the finding. To see which threats your own stack is open to, list it in the stack planner; to put your agents in order, use the agent risk triage. For the parts of an agent system and what to ask to see for each, read most of an agent system is not the model.

Last reviewed: