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.
| Threat | LLMs | Self-hosted AI | Agentic AI frameworks | Retrieval (RAG) | Embeddings | MCP, tools and web access | AI security and guardrails | Observability and evaluation | Memory | AI agents | Automation | Voice and customer channels | Vector databases |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Agentic AI frameworks: Agents built on a vendor's agent platform | Retrieval (RAG): Custom LLM and retrieval applications | MCP, tools and web access: MCP servers and tool connectors, Web search and scraping tools for agents | Memory: Memory for assistants and agents | AI agents: Custom agents with tool access, Agents built on a vendor's agent platform, Assistants that act for the user | Voice and customer channels: CRM and customer-service AI | ||||||||
| Agentic AI frameworks: Agents built on a vendor's agent platform | MCP, tools and web access: MCP servers and tool connectors | AI agents: Custom agents with tool access, Agents built on a vendor's agent platform, Assistants that act for the user | Automation: Workflow automation with AI steps | Voice and customer channels: Speech and voice-agent pipelines | |||||||||
| LLMs: Foundation model APIs, Chat assistants | Self-hosted AI: Self-hosted chat interfaces | Retrieval (RAG): Custom LLM and retrieval applications, Vector stores and retrieval infrastructure | Observability and evaluation: LLM observability and tracing | Memory: Memory for assistants and agents | Voice and customer channels: Speech and voice-agent pipelines | Vector databases: Vector stores and retrieval infrastructure | |||||||
| LLMs: Foundation model APIs, Self-hosted open models | Self-hosted AI: Self-hosted open models, Self-hosted chat interfaces | Agentic AI frameworks: Orchestration and agent frameworks | Retrieval (RAG): Orchestration and agent frameworks | Embeddings: Embedding models | MCP, tools and web access: MCP servers and tool connectors | AI security and guardrails: Guardrail and AI security services | |||||||
| LLMs: Self-hosted open models | Self-hosted AI: Self-hosted open models, Self-hosted chat interfaces | Retrieval (RAG): Custom LLM and retrieval applications, Vector stores and retrieval infrastructure | MCP, tools and web access: MCP servers and tool connectors | Observability and evaluation: LLM observability and tracing | Vector databases: Vector stores and retrieval infrastructure | ||||||||
| Retrieval (RAG): Custom LLM and retrieval applications, Vector stores and retrieval infrastructure | Embeddings: Embedding models | Memory: Memory for assistants and agents | Vector databases: Vector stores and retrieval infrastructure | ||||||||||
| Retrieval (RAG): Custom LLM and retrieval applications | Voice and customer channels: CRM and customer-service AI | ||||||||||||
| Voice and customer channels: Speech and voice-agent pipelines | |||||||||||||
| LLMs: Chat assistants | Self-hosted AI: Self-hosted chat interfaces | AI agents: Assistants that act for the user | |||||||||||
| Threats reaching the area | 4 | 4 | 3 | 6 | 2 | 4 | 1 | 2 | 3 | 3 | 1 | 5 | 3 |
- 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.
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.