Skip to content
All posts

ISO 27090 for LLM Apps and AI Agents: Controls That Work

November 28, 2026 · Team PlayCISO
TL;DR · the short version

ISO/IEC 27090 covers AI systems in general, and three of the threats ISO names publicly sit at the centre of LLM apps and agents: prompt injection, sensitive output exposure and outputs that carry injection attacks. Data poisoning reaches RAG indexes and fine-tuning data, and model extraction reaches public LLM endpoints. The practical approach is to map threats to each component (prompt, retrieval, model, tools and MCP servers, output handling, memory and logs) and apply concrete controls: least-privilege tools with human approval for risky actions, permission-aware retrieval, output treated as untrusted, vetted and pinned MCP servers, rate limits and full logging. OWASP's Top 10 for LLM Applications gives developers matching checklists.

Put it into practice
Check an MCP server before your agents use it
See which tools and permissions an MCP server exposes before it goes into anyone's agent configuration.
Scan an MCP server

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

ComponentISO-named threats that applyOWASP LLM Top 10 (2025)
User prompt and system promptPrompt injection, sensitive output exposureLLM01 Prompt Injection, LLM07 System Prompt Leakage
Retrieval (RAG) and its indexPrompt injection (indirect), data poisoning, sensitive output exposureLLM08 Vector and Embedding Weaknesses, LLM02 Sensitive Information Disclosure
The model and its endpointModel theft and extraction, evasion, data poisoning (fine-tuning)LLM04 Data and Model Poisoning, LLM10 Unbounded Consumption
Tools, plugins and MCP serversPrompt injection leading to actions; injected outputsLLM06 Excessive Agency, LLM03 Supply Chain
Output handlingOutputs carrying injection attacks, sensitive output exposureLLM05 Improper Output Handling
Memory, logs and conversation historySensitive output exposure, leakage of model inputsLLM02 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.

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 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 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.

Useful next, if this was relevant to you

Showing 1 of 3: AI Security Risk Mapper

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 provides test cases with pass criteria; record results in the traceability matrix so each threat links to its control and evidence. For the threats in more depth, see 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

Checked 28 November 2026. The component map and controls are PlayCISO's practical advice; the published standard is authoritative on what it covers.

Spotted an error? Report an error. A person reads every message.

Check an MCP server before your agents use it
See which tools and permissions an MCP server exposes before it goes into anyone's agent configuration.
Scan an MCP server
Take this with you
Why LLM apps and agents need extra care · Threats by component · Prompts: assume injection will happen · Retrieval (RAG): permission-aware and cl… · Tools and agents: least privilege first · MCP servers: treat them as suppliers

Ready to practise the decisions these articles describe?

Run your first Cyber War Room free →

Pro