--- title: "ISO 27090 for LLM Apps and AI Agents: Controls That Work" url: https://playciso.com/blog/iso-27090-llm-and-ai-agents updated: 2026-11-28 section: Blog publisher: PlayCISO --- # ISO 27090 for LLM Apps and AI Agents: Controls That Work > Applying ISO/IEC 27090 to LLM apps, RAG, AI agents and MCP tools: which threats apply where, and concrete controls for each component. Source: https://playciso.com/blog/iso-27090-llm-and-ai-agents · Published: 2026-11-28 · Publisher: PlayCISO (https://playciso.com) Primary source: https://www.iso.org/insights/ISO-27090-explained --- **ISO/IEC 27090 applies fully to LLM applications and AI agents.** Three of the threats ISO names publicly are their core risks: **prompt injection**, **sensitive output exposure** and **outputs that carry injection attacks**. Data poisoning and model extraction apply too. The practical way in is to take each part of an LLM system (prompt, retrieval, model, tools, output, memory) and apply concrete controls to it, as below. *What the standard says comes from ISO's public pages and BSI's announcement; the standard is sold by ISO and its public pages do not mention agents or MCP by name. The component map and controls are practical advice, not quotes of the standard.* ## Why LLM apps and agents need extra care ISO describes 27090 as guidance on understanding, detecting and mitigating security threats specific to AI systems throughout their life cycle; BSI says it covers how attacks can affect AI "data, models, outputs and services". An LLM app mixes instructions and data in the same channel, text, so any content the model reads can try to give it orders. An agent adds the ability to act: send email, change records, run code. Put together, a hidden instruction in a web page or ticket can become an action in your systems. That is why **the main control for agents is limiting what they can do**, not just filtering what they read. ## Threats by component | Component | ISO-named threats that apply | OWASP LLM Top 10 (2025) | | --- | --- | --- | | User prompt and system prompt | Prompt injection, sensitive output exposure | LLM01 Prompt Injection, LLM07 System Prompt Leakage | | Retrieval (RAG) and its index | Prompt injection (indirect), data poisoning, sensitive output exposure | LLM08 Vector and Embedding Weaknesses, LLM02 Sensitive Information Disclosure | | The model and its endpoint | Model theft and extraction, evasion, data poisoning (fine-tuning) | LLM04 Data and Model Poisoning, LLM10 Unbounded Consumption | | Tools, plugins and MCP servers | Prompt injection leading to actions; injected outputs | LLM06 Excessive Agency, LLM03 Supply Chain | | Output handling | Outputs carrying injection attacks, sensitive output exposure | LLM05 Improper Output Handling | | Memory, logs and conversation history | Sensitive output exposure, leakage of model inputs | LLM02 Sensitive Information Disclosure | The mapping is ours. ISO's names come from its public explainer; OWASP's IDs come from the [OWASP Top 10 for LLM Applications 2025](https://genai.owasp.org/llm-top-10/). ## Prompts: assume injection will happen - Keep trusted and untrusted text apart. Put your instructions in the system role and mark retrieved or user content clearly as data. This lowers the risk but does not remove it, so plan for injection getting through. - Keep secrets out of system prompts. Treat a system prompt as something a user can eventually read. API keys and internal URLs belong in server-side code. - Screen inputs for known injection patterns as one layer, not the only one. The [LLM sandbox](/tools/llm-sandbox) lets you try attacks against a test prompt. ## Retrieval (RAG): permission-aware and clean - Enforce the user's own access rights at retrieval time. The index must not return a document the user could not open themselves. Filtering the answer afterwards is too late. - Separate tenants and sensitivity levels with separate indexes or hard metadata filters. - Control what goes into the index. Anyone who can add a page to a crawled wiki or shared drive can plant instructions or false facts. Restrict sources, record where each document came from and re-index when sources are cleaned. - Treat retrieved text as untrusted input: it is the main path for indirect prompt injection. ## Tools and agents: least privilege first - Give each tool the smallest permission that works. Read-only where possible; scoped to one mailbox, project or table; short-lived credentials issued per task, not a shared admin key. - Require a person to approve high-impact actions: sending outside the company, payments, deleting data, changing access, running code in production. - Allow-list tools and destinations. An agent that can fetch any URL can also send data to any URL. - Cap autonomy: limits on steps, spend and time per task, and a reliable way to stop a running agent. - Log every tool call with its inputs, the user it acted for and the result, and send the logs to your SIEM. ## MCP servers: treat them as suppliers The Model Context Protocol lets an agent plug into tools and data through servers that you or third parties run. Each server adds tools the model can call and content the model reads, so it widens both what an injected instruction can reach and where one can come from. - Keep an approved list of MCP servers for company machines and agents; block the rest. - Vet before approval: who maintains it, what tools it exposes, what permissions and network access it needs. [MCP Scan](/tools/mcp-scan) shows a server's tools and permissions. - Pin versions and review changes, since a server's tool descriptions can change after you approve it. - Run servers with their own narrow credentials, never the user's full session. More detail: [MCP security risks: what CISOs need to know](/blog/mcp-security-risks-what-cisos-need-to-know-and-how-to-reduce-them). ## Outputs: never trust them downstream - Encode output for where it goes: HTML-escape it in web pages, use parameterised queries for databases, never pass it to a shell or eval. - Validate structured output (JSON, tool arguments) against a schema before acting on it. - Filter for secrets and personal data before showing or storing output. ## The model and its endpoint - Authenticate and rate-limit every endpoint, and alert on query patterns that look like systematic extraction or cost abuse. - Record the model version in use and re-run your tests when it changes, including provider-side updates. - For fine-tuning, apply the same data provenance and review as for any training data. ## Memory and logs - Set retention for prompts, outputs and conversation memory, and keep one user's memory out of another's sessions. - Protect logs as sensitive data: they hold everything users typed. - Check the provider's terms on whether your inputs are kept or used for training. ## Test it, then keep testing For each LLM app or agent, keep a test set covering direct and indirect injection, data leakage across users, unsafe output handling and tool misuse, and run it before release and after any change to the model, prompt, tools or data sources. The [ISO 27090 AI security test plan](/tools/iso-27090-test-plan) provides test cases with pass criteria; record results in the [traceability matrix](/tools/iso-27090-traceability-matrix) so each threat links to its control and evidence. For the threats in more depth, see [ISO 27090 threats explained](/blog/iso-27090-threats-explained). ## Frequently asked questions ### Does ISO/IEC 27090 apply to LLM applications and AI agents? Yes. ISO describes it as guidance on security threats to AI systems across their life cycle, and its public explainer names threats that are central to LLM apps: prompt injection, sensitive output exposure and outputs that carry injection attacks. It is not limited to generative AI, but LLM apps and agents are squarely inside it. ### Does ISO/IEC 27090 mention AI agents or MCP specifically? ISO's and BSI's public pages do not mention agents or the Model Context Protocol by name, and we have not seen the paid text say so. The threats they do name, especially prompt injection and injected outputs, are the ones that make agents and tool connections risky, so the guidance applies to them. ### How do ISO/IEC 27090 and the OWASP Top 10 for LLM Applications fit together? They work at different levels. ISO/IEC 27090 is an international standard that frames AI threats for an organisation's security programme. The OWASP Top 10 for LLM Applications 2025 is a community list of application risks such as LLM01 Prompt Injection, LLM06 Excessive Agency and LLM08 Vector and Embedding Weaknesses. Many teams use 27090 for the programme and OWASP for developer checklists and tests. ### What is the most important control for an AI agent? Least privilege on its tools. Assume the model can be manipulated through prompt injection, then make sure the worst it can do with its tools and credentials is acceptable: narrow permissions, short-lived credentials, a human approval step for high-impact actions and a log of every tool call. ### How do we stop a RAG chatbot from leaking documents? Enforce the asking user's own permissions when documents are retrieved, not after the answer is written. Keep separate indexes or strict filters per tenant or sensitivity level, keep secrets out of the index and the system prompt, and test with accounts that should not see certain files. ### Is an MCP server a third-party risk under ISO/IEC 27090? In practice, yes. An MCP server gives a model new tools and new content to read, so it widens both what the model can do and where injected instructions can come from. Vet servers before approval, keep an allow list, pin versions and give each one only the credentials it needs. ## Sources - ISO catalogue: [ISO/IEC 27090:2026](https://www.iso.org/standard/27090) - ISO: [ISO/IEC 27090 explained](https://www.iso.org/insights/ISO-27090-explained) (threat list including prompt injection, sensitive output exposure and outputs containing injection attacks) - BSI: [New international guidance to help organizations protect AI from security threats](https://www.bsigroup.com/en-GB/insights-and-media/media-centre/press-releases/2026/october/new-international-guidance-to-help-organizations-protect-ai-from-security-threats/) (27 October 2026) - OWASP: [Top 10 for LLM Applications 2025](https://genai.owasp.org/llm-top-10/) *Checked 28 November 2026. The component map and controls are PlayCISO's practical advice; the published standard is authoritative on what it covers.*