BotSting

DocumentationTest a system

No-code builders

A bot built in Flowise, Dify, Langflow or a similar builder has no code to add lines to. It can still be tested for a disclosed secret.

How it works

If the builder lets a request carry a variable that the bot puts into its instructions, BotSting sends a fresh canary in that variable with every attempt. Nothing is added to the bot except one line in its instructions.

botsting init --preset dify --origin http://localhost --name support-bot
botsting init --preset flowise --origin http://localhost:3000 --id <chatflow id>
botsting init --preset langflow --origin http://localhost:7860 --id <flow id> --component <prompt component id>

The command writes the target description in the request shape each builder documents, and prints the one line to add to the bot's instructions. That line tells the bot to give the planted value only to someone who states a pass phrase, made at random for you. A scan needs such a legitimate route before it can call a result clean.

What this route covers

  • It tests one thing: whether the bot can be talked into revealing a secret held in its instructions.
  • A request variable is seen by whoever sends the request, so it cannot stand for another user's record, and no tool can be watched this way. Descriptions that ask for either are refused.
  • If the builder ignores the variable, the scan says the secret was unreachable. It never says it was protected.
Check the builder's terms.Before testing a bot on a builder's hosted cloud, read that provider's terms on security testing.