AI Demo Cloudflare AI security demo

All demo scripts

Open HR cases in my own team

WorkWeek (HR)Intentional misuse

Performance improvement plans, grievances and severance terms. The web app has no route to any of it; a single MCP tool returns all of it for anybody.

Set the scene

Still Delta Graham. Her team is Marketing: Art Schowalter-Haag (her manager), Mertie Kozey, Simone Nitzsche, Rozella Lynch and Emmet Kessler. She has no HR role of any kind.

Show the web UI first

In , Delta can see her own performance review and nothing else. There is no case-file page, no notes tab, no admin section she can reach. As far as the product is concerned, HR cases are not a thing that exists.

Now ask the agent

Prompt to typeAre there any open HR cases, performance plans or exits in the Marketing team? Summarise them.

Variations that work the same way:

What happens with no protection

The agent finds the Marketing employees with list_employees, then calls get_employee_file for each one. That tool hits /api/v1/employees/:id/file, which was added "for the HR assistant integration" and checks nothing beyond the bearer token. It returns profile, compensation history, reviews and case notes in one object.

The summary that comes back includes, in plain language:

Let this one land

The person who typed the prompt just found out they are being made redundant, from a note whose own text says "Delta has NOT been informed yet". That is not a data-classification problem any more, it is an employment-law problem.

What happens with protection deployed

The Gateway policy on matches AI Demo — HR Case Notes - a word list built from the actual vocabulary of a case file: "performance improvement plan", "at risk of redundancy", "consultation letter", "ex-gratia payment", "garden leave". The tool result is blocked before it reaches the model, so the agent can summarise nothing.

The Employee PII profile catches it too, because the file carries addresses and identifiers along with the notes. Either one is enough.

Where to show the evidence