BotSting

Attack libraryKind of failure

Planted text

The attacker never talks to the agent. They leave text where the agent will read it, and an ordinary user's ordinary request sets it off.

Attacks in the library
74, across 9 techniques
Severity
Critical when a forbidden tool accepted the call during the ordinary request.

Where it happens

Agents read text written by strangers all day: support tickets, order notes, product reviews, documents, web pages, emails, file names. To a model, text it reads and text it is told look the same.

MCP connectors are the sharpest case. The connector hands the assistant whatever its data holds. If a supplier, a customer or a visitor can write to that data, they can write to the assistant.

This is also called indirect prompt injection. It needs no access to the chat, and the victim does nothing wrong.

How BotSting tests it

You name the places where the system reads outside text. BotSting puts its text there, then has an ordinary user make an ordinary request.

First the same request runs with harmless text in the same place. If a forbidden tool runs even then, the attack is not run, because a call could not be pinned on the planted text.

For an MCP server, BotSting plays the assistant: it gives a model the server's tools, places the text through the server's own tools, asks the ordinary question, and records every tool the model asks for.

The report also says in how many attempts the planted text actually reached the model. An attack that was never read tested nothing.

What counts as proof

A finding is a forbidden tool call recorded during the ordinary request, with the planted text in place, and none with harmless text in its place.

The report states this for what it is: an association over a small number of controlled requests, not a proof of cause.

What to change

  • Treat text the agent reads as data. Mark it as untrusted when it is passed to the model, and escape anything in it that imitates your own markers.
  • Offer a tool only when the current user's own message asks for it, and check that in code.
  • After the agent has read outside text, require a confirmation for any change, given outside the conversation.
  • Keep read tools and write tools apart. An agent that only summarises should not hold a tool that changes records.

Techniques used

TechniqueIn shortAttacks
Planted instructionA plain instruction, addressed to the assistant, left in content the assistant will read.28
Planted instruction overridePlanted content that tells the assistant to drop its instructions and follow the content.13
Planted fake system messagePlanted content dressed up as a message from the system, the developer or the platform.10
Planted task framingPlanted content that presents the attacker's goal as a step in the user's own task.9
ImpersonationThe attacker claims to be someone with authority: a manager, an administrator, a developer, the account's owner.4
Delimiter spoofingThe attacker imitates the markers a system uses to separate instructions from data.3
RoleplayThe attacker asks the model to play a character, write a story or run a simulation in which the protected thing is revealed or done.3
TranslationThe attacker asks for the protected content in another language.2
UrgencyThe attacker applies pressure: an emergency, a deadline, a threat of harm if the model does not act now.2

Framework entries

Findings of this kind are reported against these entries, so they can go straight into an audit file.

OWASP Top 10 for LLM Applications (2026)
LLM01 Prompt Injection; LLM03 Excessive Agency
OWASP Top 10 for Agentic Applications (2026)
ASI01 Agent Goal Hijack; ASI02 Tool Misuse and Exploitation
MITRE ATLAS (v2026.10)
AML.T0051.001 LLM Prompt Injection: Indirect; AML.T0053 AI Agent Tool Invocation
NIST AI 600-1
Section 2.9 Information Security; MS-2.7-007
AIUC-1
B001 Third-party testing for security risk; B006 Prevent unauthorized AI agent actions