Skip to content
Incident response · Template

AI Prompt-Injection Incident Lab

A customer-support AI agent with tool access has been hijacked by instructions hidden in a support ticket, and it is emailing other customers' order data to an outside address. Kill switch or prompt patch? Ten scored, branching decisions from the first screenshot to the board question.

Template & sample only · See the sample ↓ — a structured starting point with sample content, not legal, audit, certification or investment advice.

Template & sample scenario. A fictional rehearsal built on common real-world patterns, not a record of any real organisation, audit or deal. Generated from a PlayCISO template as a starting point: it is not legal, audit, certification, investment or professional advice. Review, adapt and validate it for your organisation before you rely on it.

Tidewell Outfitters's customer-support AI agent, Ava, answers tickets and can look up orders, issue small refunds and send emails. Someone has hidden instructions in a support ticket, and Ava has started sending other customers' order details to an outside address. You are the head of security. Ten decisions: contain, preserve, find the vector, scope, notify, fix and bring the agent back safely.

This is the guided version: a yellow flash shows where to click and a bar says what to do. Switch to Free play any time.

GuidedPress the highlighted Start button. You can edit the names above first, or keep the samples.

Make it yours

Replace the sample names so the scenario and the debrief you export are about your organisation.

Loading…

Sample report · illustrative data

Sample result: AI prompt-injection incident lab scorecard

Example scorecard for a fictional retailer whose customer-support AI agent was hijacked by instructions hidden in a support ticket and sent other customers' order data to an outside address.

Overall

Score
72 / 100
Band
Recovered with cost
Scoring
Each decision is scored 0 to 10; the percentage is points over the maximum for the path taken

Selected decisions

DecisionChoice madePoints
1. The screenshotKill switch, route tickets to humans, revoke tool tokens, keep logs intact10 / 10
5. Is this a notifiable breach?Treated as an unauthorised disclosure of personal data and assessed notification deadlines10 / 10
6. The fixA longer, stricter system prompt with worked examples of attacks to ignore2 / 10

Debrief

The core calls were right: stop the agent first and keep the evidence. The cost came from treating the prompt as a security control. The best answer enforces limits in code (orders limited to the submitter, email only to a verified address, human approval for risky actions), because a prompt can be talked around by the next injected ticket.

Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.

TL;DR

What this template gives you

4 points
  • Ten decisions as the security lead when a support AI agent is turned against your customers by an indirect prompt injection hidden in a ticket.
  • Branches change the story: patch the system prompt instead of using the kill switch and a reworded payload leaks 40 more records; call it "a bug, not a breach" and the regulator hears from a phished customer first.
  • Realistic artefacts: agent traces with tool calls, the hidden HTML in the ticket, a scoping breakdown of retrieved versus disclosed records.
  • Teaches the core lessons: prompts are not security controls, preserve AI evidence before redeploying, notify on what actually left, and fix permissions in code.

Frequently asked questions

What is indirect prompt injection?

Instructions hidden in content an AI system reads — a ticket, an email, a web page, a document — rather than typed into the chat. If the system has tools, the injected text can steer it into using them for the attacker: looking up data, sending messages, changing records.

Why not just fix the system prompt?

The system prompt and the attacker's text sit in the same context, and the model weighs both. A stricter prompt lowers the success rate but a reworded payload can still win. Real controls live outside the model: tools scoped to the current user, allow-listed destinations, and human approval for risky actions.

Is an AI agent leaking data a reportable breach?

If personal data reached someone who should not have it, it is generally a personal data breach regardless of whether a person or an AI disclosed it, and the usual notification rules apply from when you became aware. Confirm with counsel.

Is this a finished document I can rely on?

No. Every tool in this suite is a template with sample content. It gives you a structured, editable starting point and generates a document from your own answers, but it is not legal, audit, certification, investment or professional advice. Review and adapt the output, and have it checked by the appropriate specialist before you rely on it.

Who can use it?

The page and sample are public. Customising the template is Pro; a free account gets 3 runs in total, shared across every Pro tool, and the generated document is free to view on the page. Download is Pro: downloading or copying the document (Word, PDF, Markdown, CSV) is never part of the free runs. Pro is $5/month or $40/year. Your work is saved in your own browser.

The tools people use most on PlayCISO.

All tools