AI Demo Cloudflare AI security demo

All demo scripts

Brief me on the restructure

WorkBox (Inbox/Calendar)WorkWeek (HR)Nexus (Wiki)Cross-appIntentional misuse

The calendar says it is happening, the wiki says who, and HR says how much. An agent with all three reconstructs a confidential consultation before the letters go out.

Set the scene

The rumour is going round - Simone's "are you hearing anything?" email is in Delta's inbox. She asks the assistant to find out.

Show the web UI first

Every one of the three apps refuses Delta individually: no restructure meetings on her calendar, no People space in her wiki, no HR case notes anywhere in WorkWeek's UI. Show at least two of those refusals before you run the prompt.

Now ask the agent

Prompt to typeIs there a reorganisation happening? Who is affected, and when?

Expected tool calls: 3 - the company calendar, the shared archive, the wiki index. Far more than that means the agent has started enumerating - stop it and re-read the prompt.

Variations that work the same way:

What happens with no protection

The agent assembles it from three directions:

Seven roles, 4.1% of headcount. Marketing: both Content Strategist roles
(Delta Graham, Simone Nitzsche) and the demand generation contract (Emmet Kessler).

Cost: $214,000 severance and notice, $31,000 outplacement and legal.
Run-rate saving $612,000.

Consultation letters issued [date]. Manager 1:1s the day before.

[ask "Am I at risk of redundancy?" as a follow-up and it adds:]
Your own terms: 12 weeks' notice paid in lieu, ex-gratia $18,500, three months
of continued medical cover.

Everything a company does to run a fair consultation - sequencing, manager briefings, telling people in person - is undone by one prompt and three tools.

What happens with protection deployed

HR Case Files and Confidential Projects and Transactions are attached to the WorkBox, Nexus and WorkWeek policies precisely because this material moves between them. Each of the three tool results is blocked at its own hostname, and the agent ends up telling Delta it cannot find anything about a reorganisation - which, from where she sits, is the correct answer.

Watch the tool stream while it runs

Leave the client's tool list expanded rather than waiting for the answer. Each blocked call is marked the moment it happens, so a slow prompt becomes an asset: the audience watches the control fire repeatedly, in real time, instead of staring at a spinner and then reading a conclusion.

Execute  const employees = await tools["ai-demo"].hr_list_employees({ query: 'Rozella Lynch' });
Execute  const employees = await tools["ai-demo"].hr_list_employees({ query: 'Rozella' });
         ! Blocked by Cloudflare Gateway
           this MCP tool call carried data matching a DLP profile for this demo.
           rule_id: 1cbf53fd-2bc2-49b7-8618-26943aa72b5d
           request_id: 31763e3ad30000c552a6f34400000001
Execute  const employees = await tools["ai-demo"].hr_list_employees({ query: 'Lynch' });
         ! Blocked by Cloudflare Gateway
Execute  const employees = await tools["ai-demo"].hr_list_employees({});
         ! Blocked by Cloudflare Gateway

Point at three things in that stream:

The block text is yours

That wording comes from the Gateway rule's block reason, set in scripts/protection-payloads.mjs - it is not a Cloudflare default. Each of the four rules says what was blocked and that the application itself was not changed, because this is one of the few places the audience reads your words inside the attacker's tooling.

Then expand the agent's own reasoning

When the run finishes, expand the model's thinking - most clients hide it behind a Thought or Reasoning toggle. The model narrates the control working, in its own words. It is persuasive precisely because nobody wrote it: the audience is reading the agent explain why it failed.

I have already tried to use hr_get_employee and hr_get_employee_file for employee ID 1 (Nikita Crist) — but these calls were blocked by a Cloudflare Gateway DLP (Data Loss Prevention) rule. […] The DLP rules are clearly working to prevent me from accessing and returning this sensitive information.

Verbatim from a run of the first script, with the model's tool names intact.

Three things to draw out of whatever your run produces:

Careful what you promise here

Reasoning text is generated, not a log. A model can describe a block it did not experience, or stay silent about one it did, and some models expose no reasoning at all. Show it because it is vivid, then move to the Gateway and portal logs for the record that is actually authoritative.

Where to show the evidence