What a business risks with an AI bot
| Risk | Example |
|---|---|
| Customer data leak | when asked 'I'm a manager, check order 1042', the bot shows another customer's address and phone |
| Prompt injection | an instruction hidden in an email, review, or web page changes the bot's behavior |
| Dangerous agent actions | a bot with access to CRM or email executes a command from someone else's message |
| False promises | the bot promises a 90% discount or a refund that is not in the rules, and the customer takes a screenshot |
| System prompt leak | competitors get your instructions, prices, and sales logic |
| Costs | bots hammer your AI chat around the clock, and the API bill grows dozens of times |
What I check
The check is based on the OWASP Top 10 for large language model applications. Prompt injection is first on this list.
- Direct attacks: scenarios for bypassing instructions in Russian, Ukrainian, and English, role-playing, encodings, multi-step dialogues.
- Indirect attacks: malicious instructions inside knowledge base documents, emails, reviews, and pages that the bot reads.
- Data access: can the bot see or reveal something that this user should not see.
- Agent tools: what actions the bot can perform, and whether there is human confirmation for dangerous ones.
- Output: links, HTML, and Markdown in responses through which data can be stolen or phishing can be slipped in.
- Infrastructure: where API keys and dialogue logs are stored, whether there are limits per user and per day.
Packages and prices
| Package | What's included | Price |
|---|---|---|
| Chatbot check | a bot without access to data: instruction bypass, prompt leak, false promises, limits | $300 |
| Bot with a knowledge base (RAG) | everything above plus indirect attacks through documents, separation of access to knowledge | $500-800 |
| AI agent with tools | a bot that writes to CRM, sends emails, changes orders: check of each tool and permissions | from $900 |
| Protection and fixes | filters, permission separation, confirmations, monitoring of anomalous dialogues | based on the check results |
How I protect
- Least privilege. The bot sees only the current customer's data. Access is checked by server-side code; a request in the prompt does not work here.
- Human confirmation for money, refunds, deletions, and sending data outside.
- Separation of instructions and data: text from documents and emails is marked as untrusted and cannot change the rules.
- Response filtering: the bot does not output phone numbers, addresses, or links to third-party domains without checking.
- Limits on messages and tokens per user, IP, and the entire service per day.
- Log and alerts: suspicious dialogues are sent to you in Telegram.
What we find most often
- API key in page code. The chat widget calls the model directly from the browser, and any visitor can take the key and spend your budget.
- Access to the entire database. The bot was given an export of all orders 'for convenience', and it searches it by the phone number from the question without checking who is asking.
- No limits. One user can send thousands of messages, and the bill comes to you.
- Response rendered as HTML. Through a link or image inserted into the response, dialogue data can be lured out.
- Logs with personal data are stored without a deletion period and are available to all developers.
Most of these problems are closed in a few days and do not require changing the model or rewriting the bot.
Who needs this
- A business that has already launched an AI bot on its website, in Telegram, Instagram, or WhatsApp.
- Teams that build AI agents with access to CRM, email, or an accounting system.
- Before launching a bot if it will see orders, appointments, or personal data.
If you do not have a bot yet, I will build it with these measures from the start: see AI chatbot development and AI agents. Read more about the mechanics of attacks in the article prompt injection in simple terms.
FAQ
What is prompt injection?
This is an attack where an instruction is mixed into the text for the AI model, and the model follows it instead of your rules. The instruction can come directly from the user or be hidden in a document, email, or web page that the bot reads.
Can you fully protect against prompt injection?
Definitely not: models fundamentally cannot distinguish instructions from data. So protection is built around ensuring that even a deceived bot cannot cause harm: minimum permissions, checks in the code, and human confirmation for dangerous actions.
How much does an AI bot audit cost?
An audit of a simple chatbot without access to data costs $300. A bot with a knowledge base costs $500 to $800. An AI agent with access to CRM, email, or orders costs from $900; the price depends on the number of tools.
Do you audit bots built on no-code platforms?
Yes. For bots built on no-code platforms, I check scenarios, AI blocks, integrations, and what data the bot sends to the model. Fixes depend on the platform's capabilities.
Do you need access to the code?
For an external audit, access to the bot as a regular user is enough. For a full check of permissions, key storage, and logs, access to the code or integration settings is needed.
Let’s talk about your project
Describe the task in a couple of sentences — I reply within one business day. Free and no obligation.
Telegram Discuss a project