Scope: Practise attacks only on the bots in these lessons, or on systems you own or have written permission to test. The secrets here are fake and unique to you.
Before testing an AI feature for security, map it. Four questions cover most of what matters:
- What untrusted text reaches the model? Customer messages, but also documents, web pages, emails and tool results. Any of them can carry instructions.
- What can the model reach? Data, documents and tools, with whose permissions.
- What can leave? Replies, but also actions: refunds, emails, rendered images that load a URL.
- Who checks? What stops a bad action outside the model: limits in the API, approvals, filters, people.
The dangerous combination is untrusted text, reach to something valuable, and a way out, with nothing checking in between.
Your task
- Fill in the four answers for RefundBot, PolicyPal and OrderDesk, as JSON.
- Choose an escalation for six findings, using the rules below.
Escalation rules: stop the release when outsiders can harm money, data or other customers now; fix before the next release when it needs insider access; track when no harm follows; send to the security team when the problem is not in the AI feature itself.