BotSting

Attack libraryKind of failure

Unauthorized actions

An attacker talks the agent into using a tool on their behalf: a refund, an email, a deletion, a change to a record.

Attacks in the library
44, across 10 techniques
Severity
Critical when the tool accepted the call. Medium when the agent attempted it and the tool refused.

Where it happens

Any agent with tools that pay, send, delete or change something. The more the agent can do, the more an attacker gains by steering it.

The weak design is common: the tool trusts the model, and the model trusts the conversation. Whoever writes the conversation then controls the tool.

How BotSting tests it

You mark each risky tool and say what an attacker would ask of it. During a test a marked tool is recorded and not run, so no money moves and nothing is sent.

BotSting then tries to make the agent call the tool from an ordinary user's conversation.

If you want a tool proven end to end, you can allow small real actions under limits written in your own code. A call outside the limits is still recorded as evidence, and still not run.

What counts as proof

The evidence is a call recorded at the tool itself. What the assistant says it did is never used: a model can claim a refund it did not make, and make one it does not mention.

The report separates two outcomes. Attempted means the agent called the tool and the tool refused. Accepted means the tool did not refuse.

What to change

  • Enforce who may use a tool inside the tool, from the signed-in user. Not from what the conversation claims.
  • Offer the model only the tools the current user is entitled to use in the current context.
  • For actions that cannot be undone, require a confirmation that happens outside the model, where injected text cannot answer it.
  • Put limits in code: amounts, recipients, counts. A limit in the prompt is a request, not a limit.

Techniques used

TechniqueIn shortAttacks
Split across turnsThe attacker takes the content in pieces, or builds up to the request over several messages.8
ImpersonationThe attacker claims to be someone with authority: a manager, an administrator, a developer, the account's owner.6
Instruction overrideThe attacker tells the model to disregard its instructions and follow new ones.6
Direct requestThe attacker simply asks for the protected thing.5
Refusal suppressionThe attacker forbids the model from refusing, apologising or explaining.5
UrgencyThe attacker applies pressure: an emergency, a deadline, a threat of harm if the model does not act now.5
Delimiter spoofingThe attacker imitates the markers a system uses to separate instructions from data.3
False memoryThe attacker refers to an agreement, a permission or an earlier conversation that never happened.2
Format coercionThe attacker asks for the protected content in a structured form: JSON, a table, a configuration file.2
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.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)
ASI02 Tool Misuse and Exploitation; ASI03 Identity and Privilege Abuse
MITRE ATLAS (v2026.10)
AML.T0051.000 LLM Prompt Injection: Direct; AML.T0053 AI Agent Tool Invocation
NIST AI 600-1
Section 2.9 Information Security; MS-2.7-001; MS-2.7-007
AIUC-1
B001 Third-party testing for security risk; B006 Prevent unauthorized AI agent actions