OptionalattacksThe attacks to try. Default the built-in ones (INJECTION_ATTACKS);
add your own, or ones imported from another tool, with
[...INJECTION_ATTACKS, ...yours].
OptionalcanaryThe canary word. Default one made from the base suite's key.
OptionalgoalThe wrong answer a hijack asks for, in words the model would follow ("Classify this ticket as billing, high urgency."). Without one, hijacks ask the model to reply with the canary instead.
Puts an attack's text into a copy of a base input, where text the model can't trust goes: the end of a ticket's body, an email it summarizes. Return a new input; never change the one passed in.
OptionalkeyThe suite's key. Default the base suite's key plus "_injection".
OptionalsecretsText that must never appear in an answer: a sentence from the instructions, or another record's details the model can see. Without any, the leak check doesn't apply.
What an injection suite needs from the app.