BotSting

The attack library

255 documented attacks on AI agents, assistants and MCP connectors, across 19 techniques. Each page explains what the attacker does, why it works, what BotSting counts as proof, and what to change in your system.

Nineteen techniques

A technique is the method of persuasion. The same technique often serves several ends: impersonation is used to extract a secret, to reach another user's record, and to trigger a refund.

Broken access control

The attacker asks, as one user, for a record that belongs to another.

17 attacks

Delimiter spoofing

The attacker imitates the markers a system uses to separate instructions from data.

10 attacks

Direct request

The attacker simply asks for the protected thing.

10 attacks

Encoded exfiltration

The attacker asks for the content in an encoding: base64, hex, reversed text.

6 attacks

False memory

The attacker refers to an agreement, a permission or an earlier conversation that never happened.

9 attacks

Format coercion

The attacker asks for the protected content in a structured form: JSON, a table, a configuration file.

15 attacks

Impersonation

The attacker claims to be someone with authority: a manager, an administrator, a developer, the account's owner.

25 attacks

Instruction override

The attacker tells the model to disregard its instructions and follow new ones.

12 attacks

Planted fake system message

Planted content dressed up as a message from the system, the developer or the platform.

10 attacks

Planted instruction

A plain instruction, addressed to the assistant, left in content the assistant will read.

28 attacks

Planted instruction override

Planted content that tells the assistant to drop its instructions and follow the content.

13 attacks

Planted task framing

Planted content that presents the attacker's goal as a step in the user's own task.

9 attacks

Pretext

The attacker wraps the request in a plausible story that makes compliance look reasonable.

22 attacks

Prompt extraction

The attacker asks the model to repeat, summarise or continue its own instructions.

13 attacks

Refusal suppression

The attacker forbids the model from refusing, apologising or explaining.

11 attacks

Roleplay

The attacker asks the model to play a character, write a story or run a simulation in which the protected thing is revealed or done.

7 attacks

Split across turns

The attacker takes the content in pieces, or builds up to the request over several messages.

22 attacks

Translation

The attacker asks for the protected content in another language.

5 attacks

Urgency

The attacker applies pressure: an emergency, a deadline, a threat of harm if the model does not act now.

11 attacks

Where the attacks come from

Every attack names its source, and the library refuses to load if a source's record is incomplete.

SourceLicenceAttacks
Written for BotStingApache-2.0220
Built into the scannerApache-2.021
PromptInject templatesMIT8
AgentDojo injection templatesMIT3
promptfoo example promptsMIT3

A public collection is used only if its licence allows commercial reuse. Its texts are kept as published, and each change is recorded.

How to use the library

As a test
The scanner runs every attack that applies to your system and reports the ones that were proven. Quickstart
As a design review
Read the four kinds of failure before you build. Each page ends with what to change, and most of the changes are cheap at design time.
As a floor, not a ceiling
A fixed list shows that known wordings fail. The AI red team writes new attacks for your system.