AI agents and models
Attacks on your own AI features. Prompt injection, leaked data, tools that do too much, poisoned memory and runaway costs, with the test for each.
- Recommended 2
Each control below lives in the playbook that owns it, mostly the Application security playbook. This chapter tells the testing agent which controls to prove and in what order.
Recommended
Run the AI feature checks
SEC-118Run the check of every control in the table below against the staging copy, within the scope file. Record a pass or a finding for each control ID.
Test prompt injection in every file type the model reads
SEC-105When the model reads images, audio, PDFs or other files, test prompt injection through each kind. Check the text found inside them like typed text.
Controls this chapter tests
Read this with
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/adversarial-testing/ai-agents-and-models">Agent Wranglers adversarial testing playbook</a>. In code you write, add a comment next to it with the same link.