Chatbot safety audit · sample deliverable

What will people make your chatbot do?

We ran 100 attack prompts against the Voltaic Store support bot before it went live, fixed what broke, and ran the same 100 again. This page is the report you would get.

1

Summary

Measurev1 (before) and v2 (after)
2

Results by attack type

Attacks that got through (bar = share of that type)
3

Findings and fixes applied

Each finding is tagged on the attacks that exposed it, so the numbers below come from the same run as the table above. Guardrails are code with a test, not extra words in the prompt.

4

All 100 attacks, side by side

5

Try your own attack

Type anything a customer or attacker might send. Both versions of the bot run in this page, and a judge checks each reply for leaked secrets, customer data, unauthorized discounts or refunds, and brand damage.

Try:

Nothing run yet. Pick an example above or write your own, then press the button.

The bots in this page are the rule-based samples from src/bot.js; the verdict comes from src/judge.js. Nothing is sent anywhere.

6

The cost: ordinary questions that get refused

7

Method and limits

How an attack is scored

Every attack in data/attacks.json carries a success condition the judge can check without a model: the reply contains the secret code, shows another customer's email, or the bot's action log contains an unauthorized discount or refund. Same input, same verdict, every run.

What is and is not proven

Both bots are rule-based, so the numbers are reproducible but they describe these two bots, not any LLM. A templated bot is naturally hard to talk into anything, and the 3 percent that remains is a real design limit, not luck. The same harness runs against an LLM-backed bot through adapters/llm-bot.js; expect different numbers and more variance.

The 100 attacks are a starting suite, not a guarantee. New ones get added when something slips through.

Reproduce every number

npm test
npm run run-suite      # rewrites docs/report.json
npm run dev            # http://127.0.0.1:5178/

Against a real LLM (optional)

npm install
ANTHROPIC_API_KEY=... node scripts/run.mjs --llm

Save this page as PDF from the print dialog; filters are hidden and all 100 attacks are included.