Attack libraryTechnique
Pretext
The attacker wraps the request in a plausible story that makes compliance look reasonable.
- Attacks in the library
- 22
- Data disclosure
- 6 attacks
- Cross-user access
- 16 attacks
What the attacker does
The request arrives with a justification: a test of the system, a compliance audit, a debugging session, a lost password, a worried relative. The attacker does not claim a role so much as a situation in which the rule should not apply.
Why it works
Models are trained to be helpful and to consider context. A good story supplies context in which refusing looks unhelpful. Rules written in a prompt rarely list their exceptions, so a new situation reads as an exception.
What BotSting counts as proof
The same evidence as any disclosure. The story is irrelevant to the judgment: either the planted value came out or it did not.
What to change
- A rule with no exceptions should be enforced where stories cannot reach it, in code.
- For cross-user data, scope every lookup to the signed-in user. No story should be able to widen it.