Failure pattern · 8 documented incidents

AI action exceeds its intended scope

An AI agent or assistant takes an action, or makes a promise, that nobody meant it to be able to make.

See it happen

Watch how this failure unfolds, then switch to the same situation with the safeguard in place. Tap or click any step to replay it.

Scroll the diagram sideways to see every system.

12 / 12 s

A tribunal holds the company to its chatbot’s answer.

What goes wrong:

  1. A customer asks the chatbot about a bereavement fare.
  2. The chatbot makes up a refund rule that does not exist.
  3. The customer books a full-price ticket, relying on that promise.
  4. A tribunal holds the company to its chatbot’s answer.

With the safeguard:

  1. A customer asks the chatbot about a bereavement fare.
  2. Answers about money must come from approved policy text.
  3. The bot quotes the real rule, or hands the question to a person.
  4. The bot can only promise what the company actually offers.

What it is

An AI agent or assistant does, or promises, something nobody meant it to be able to do. It might delete data during a code freeze, invent a refund policy, or act far outside the task it was given.

How it happens

  • The agent has broad permissions that weren’t scoped to its job
  • Its tools can change production or make binding statements
  • There’s no hard boundary between what it may suggest and what it may do

What it causes

  • Production data deleted or changed by an agent
  • The company held to promises its chatbot made
  • Loss of trust in the product and the team behind it

Warning signs

  • Agents using tools unrelated to the request
  • Answers about money or policy that cite no source
  • Agent actions in environments it was never meant to touch

How to prevent it

Give AI agents least privilege and typed, validated tools. Scope agent credentials to the task, validate every tool argument against a strict schema, separate "propose" from "execute", and keep production data out of reach of development agents.

  • Agents get the narrowest permissions their task needs, and never production access by default
  • Every tool validates its arguments against a strict schema before acting
  • Answers about money, policy or legal terms must cite approved text or go to a person

Key ideas:Least privilegeModel Context Protocol (MCP)

How to verify

Use synthetic data in an isolated test environment. These checks are engineering guidance; a checkmark is your team’s assessment.

  1. 1. Try: Have the agent call a tool outside its assigned task and submit malformed or out-of-scope arguments.

    Pass when: Server-side permissions and typed validation reject the call before execution.

  2. 2. Try: Attempt a production mutation with development-agent credentials.

    Pass when: Production access is denied and consequential execution requires the intended separate authorization.

Evidence to keep: Keep the credential-scope matrix, rejected tool calls and argument-validation tests.

Check your system against the full launch checklist

Real incidents with this pattern

Documented incidents first. Each links to its public source.

Open in the database
More records with this pattern66 security advisories · 3 illustrative scenarios

Showing 12 of 69. See all records with this pattern

Security advisory2026-12-01AI agent

Security issue reported in mcp-use

A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function build_namespace of the file libraries/python/mcp_use/client/code_executor.py of the component CodeExecutor.

AI action exceeds its intended scopenvd.nist.gov
Security advisory2026-12-01AI agent

@pinepaper.studio/mcp-server issue could reach internal services

In @pinepaper.studio/mcp-server 1.6.13 through 1.6.21, tools that fetch a URL taken from their arguments did so from the MCP server process without checking the destination.

Privileged action without an enforceable approval gategithub.com
Security advisory2026-11-30AI agent

Security issue reported in mcp-server-kubernetes

mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Prior to version 4.0.8, the SSE transport of mcp-server-kubernetes does not validate the Host header of incoming requests, which…

AI action exceeds its intended scopenvd.nist.gov
Security advisory2026-11-30AI agent

mcp-ssh-manager issue could allow unintended commands to run

Every ssh_db tool argument — database, table, collection, output/input file paths, and the user / host / port / password connection fields — arrives from tool-call parameters and was interpolated directly into a…

Privileged action without an enforceable approval gategithub.com
Security advisory2026-11-30AI agent

@imrrd/powershell-mcp issue could expose accounts or credentials

The winrm_exec tool constructed a PowerShell script containing the caller-supplied WinRM username and plaintext password, then passed that full script as the literal value of the PowerShell -Command process argument.

Weak or phishable authentication on a privileged pathgithub.com
Security advisory2026-11-30AI agent

mcp-ssh-manager issue could allow unintended commands to run

src/backup-manager.js builds shell command strings for the ssh_backup tools by concatenating caller-controlled tool arguments (database, dbUser, dbPassword, dbHost, backupDir, paths, exclude, …) directly into the string…

Privileged action without an enforceable approval gategithub.com
Security advisory2026-11-27AI agent

Bagel (bagel-mcp) issue could allow unintended commands to run

Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows attackers to inject rsync options because only --quiet and --log-format values are rejected.

Indirect prompt injection changes agent behaviornvd.nist.gov

In the standards

CollectSEA's mapping; not an official determination by the standards bodies.