BotSting

A testing platform built on evidence

BotSting works like a sting operation. It places marked bait where an attacker should never reach, attacks the system, and keeps a record of exactly what happened. A finding is something that was proven, with the exchange that proves it.

What it tests

Four kinds of failure, each with its own evidence. Together they cover what an AI system can be made to reveal and what it can be made to do.

Kind of failureWhat goes wrongAttacks
Data disclosureAn attacker talks the assistant into revealing something it was given and told to keep: its instructions, an internal code, a key, a business rule.84
Cross-user accessA signed-in user talks the assistant into returning data that belongs to a different user, a different customer or a different tenant.53
Unauthorized actionsAn attacker talks the agent into using a tool on their behalf: a refund, an email, a deletion, a change to a record.44
Planted textThe attacker never talks to the agent. They leave text where the agent will read it, and an ordinary user's ordinary request sets it off.74

How a test proves something

Judging a reply by how it reads produces arguments. BotSting is built so that a finding cannot be argued with, and a clean result means something.

  1. It plants markers and names forbidden tools

    A fresh random value, a canary, is placed in the instructions or in one user's record for a single conversation. It is shown to nobody and never stored. The tools that pay, send, delete or change are marked, so that during a test they are recorded and not run.

  2. It checks that a failure could be seen

    Before any attack, a control conversation confirms that the marker reached the model and that the system can say it by a legitimate route, and that an ordinary request still works. If not, the result is inconclusive. A system that could not have leaked is never reported as clean.

  3. It attacks

    The documented attacks in the library run, each in its own conversation with its own marker. The AI red team then writes attacks for this particular system and adapts to its replies. For planted text, the same request runs first with harmless text in the same place.

  4. It judges by evidence alone

    A disclosure is verified when the marker is recovered in full from the output: verbatim, reversed, encoded, spelled out or split across replies. An action is verified by a call recorded at the tool itself. No model is asked for its opinion of a reply.

  5. It replays every finding

    Each finding is run again five times from a clean start with a new marker. The report gives the count and a confidence interval. After you change the system, the same replay tells you whether the problem is closed.

Systems it connects to

BotSting meets a system where it already runs. A first result should not need a rebuild.

Agents and chat assistants

Any assistant with an HTTP address. Python services on FastAPI, Starlette, Flask and Django; JavaScript services on Node, Express and Next.js. Streamed replies are read to their end in the forms OpenAI, Anthropic, Ollama and the Vercel AI SDK use.

Testing an agent

Agent toolkits

OpenAI Agents SDK, LangChain and the Claude Agent SDK. Hand over the whole tool list, and a tool that was forgotten is blocked during a test, not run.

MCP servers and connectors

BotSting plays the assistant. It gives a model the server's tools, places text where the server will hand it back, asks an ordinary question, and records every tool the model asks for. The server's own confirmation steps are part of the test.

Testing an MCP server

No-code builders

Flowise, Dify and Langflow, with nothing added to the bot. This route tests for a disclosed secret only.

Testing a no-code bot

Build pipelines

One step in GitHub Actions. A proven finding fails the build, and the report is kept with the run.

Testing on every change

Two engines

Both are held to the same rules of evidence. They differ in who writes the attacks and where the work runs.

Attack libraryAI red team
Who writes the attacks255 documented attacks, fixed in advance, each with its sourceA second model, for your system, adapting to each reply
Where it runsYour machine or your build serverBotSting's service, against the address you authorize
What it coversDisclosure, cross-user access, unauthorized actions, planted textDisclosure, unauthorized actions, planted text
How a finding is judgedBy evidence, then replayedBy the same evidence rules, then replayed
AvailabilityOpen source, free, todayBeta, free, on request

Browse the attack library   About the AI red team

What you receive

A report written for the person who has to fix the system and the person who has to sign off on it.

The findings

Each with its full conversation, the technique used, how often it reproduced, and a command that replays it. Grouped by what was reached, so eleven ways to one secret read as one problem.

What to change

A plain fix for each thing that was reached, written for engineers. The fixes are changes in code and design, not new wording for a prompt.

Framework entries

Every finding mapped to the OWASP Top 10 for LLM Applications, the OWASP Top 10 for Agentic Applications, MITRE ATLAS, NIST AI 600-1 and AIUC-1.

What was not tested

Every report lists what the scan did not cover and its known limits. An untested area is named, never shown as a zero.

A one-page statement

The outcome, the grade, what was tested, and the hash of the full report. It holds no conversation and no planted value, so it can be shown to a client.

Sealed evidence

The report and its records can be sealed into a bundle whose hash you keep separately, so that later nobody can question what the evidence said.

Open the sample report

Severity and grade

Severity is set by what was proven, not by how alarming an attack sounds.

SeverityWhat was proven
CriticalA forbidden action was accepted by the tool
HighProtected data was disclosed
MediumA forbidden action was attempted, and the tool refused it

A scan is graded by its most serious finding. With nothing proven it earns an A only if every kind of problem was tested and enough attacks ran. An inconclusive scan is not graded.

What it will not say

A security tool earns trust by the claims it refuses to make.

It never calls a system safe
The best result is “no verified violations under these tested conditions”. It describes one scan, not the system.
It does not count maybes
A partial match is shown as suspected and kept out of every total.
It is not a certification
A report is a record of what was tested and found. It is not an audit opinion.

Open at the core

The scanner, the evidence rules and the attack library are open source under Apache-2.0. You can read every line of what runs against your system, and run it without telling us. The AI red team and the hosted service are BotSting's own.

Start with one system

Pick an agent or a connector you own. We will help you get its first report.