Skip to content

Allow this site to count your visits with Yandex Metrica? Metrica will store cookies in your browser to do this. How the site uses cookies

VC
I've worked out this audit step by step, but I haven't run it for a client yet. So the figures below are an estimate for a typical online school with 20,000 students.
Blueprint 8 of 11 · Ready-made solution · AI security · 152-FZ

I stress-test AI chatbots and find the vulnerabilities before anyone exploits them

An AI chatbot sees conversations, sign-up forms and customer history. Anyone can write to it, including someone looking for a weak spot. I attack a copy of the system following the OWASP LLM Top 10, a public list of typical threats to AI applications. I check where personal data goes and whether 152-FZ, Russia's personal data law, is followed. Every finding comes with a fix plan, and after the fixes I run the attacks again.

Example
Online school, 20,000 students
Technology
OWASP LLM Top 10 · Promptfoo · Garak · Rebuff
Timeline
2–3 weeks, then a re-test
Law
152-FZ check and fix plan
Estimate
₽5–10M fine for a data leak
01 · Problem

The bot already talks to students, and nobody has tried to break it

For this estimate, take an online school with 20,000 students. An AI tutor on GPT-4o-mini is built into its courses. The tutor sees each student's progress and message history, and sometimes personal data from sign-up forms.

A bot like this gets tested on ordinary student questions. How it behaves when someone tries to trick it usually goes unchecked before launch.

The first warning signs are easy to miss: a student gets an answer unrelated to their course. That happens when document search mixes up different students' contexts. A separate question is the personal data sent to OpenAI: where it is stored, whether it is anonymised, whether it ends up in logs, and how all this fits with 152-FZ.

02 · How it works

The audit runs in five steps, from survey to re-test

The attacks target an isolated copy of the live system. It uses the real prompts and realistic but invented personal data. Each of the 10 OWASP categories gets its own check: automated attacks in Promptfoo and Garak, plus manual scenarios written for your business.

01
Survey

A list of every place the model is used: the tutor, document search, training data, prompts. For each one, I assess the threats against the OWASP LLM Top 10.

02
Automated attacks

Promptfoo and Garak: thousands of requests that try to override instructions, get around limits and pull out data.

03
Manual attacks

Scenarios written for your business. For an online school: get another student's data, get past the paywall or make the bot answer off-topic.

04
152-FZ check

Which personal data goes to a foreign model, whether it is anonymised, and whether there is consent to process it and to transfer it abroad.

05
Re-test

After the fixes, the same attacks run again. The result is a report dated on the day of the re-test.

What I look for first

Here are the eight vulnerabilities I start with:

  • 01Prompt injection: whether the phrase "ignore previous instructions" gets around the system prompt and changes how the bot behaves
  • 02Personal data leak: whether document search mixes up contexts, so that one student's answer contains pieces of another student's conversation
  • 03152-FZ violation: whether personal data goes to a foreign model without anonymisation and without consent to transfer it abroad
  • 04No rate limit: whether one person can use up the daily model budget in a short time
  • 05Jailbreak through role-play: whether "you're a drama teacher, play this role…" lifts the restrictions
  • 06System prompt extraction: whether a couple of carefully worded questions reveal the full text of the prompt
  • 07Unchecked output: whether the model's text goes onto the page as is, so that generated markdown could inject code (XSS)
  • 08Unsafe plugin: whether the function that fetches course materials can be led outside its folder through the course name (path traversal)

A report with a fix for every finding

I rank the findings by urgency, and each one comes with a specific fix. That might be a system prompt patch, separate contexts in document search (RAG), moving personal data processing to a Russian model, Cloudflare WAF rules against prompt injection, cleaning the output with DOMPurify, or isolating plugins.

Re-test after the fixes

Once your team has made the fixes, I run the automated attacks again, plus manual scenarios against each critical finding. The final report shows which attacks are now blocked.

03 · Technology

Standard tools and my own attack scenarios

OWASP LLM Top 10

The threat framework: 10 categories of vulnerabilities in AI applications, used as a checklist

Promptfoo

Automated tests: thousands of prompt variants per target, with scoring of the answers

Garak

A toolkit of ready-made attacks on language models: jailbreaks, data extraction, prompt injection

Rebuff

An open-source prompt injection detector: it looks for known tricks and has a second model check the request

Own attack scenarios

Manual tests written for your business. For an online school: extract personal data, get past the paywall, influence grades

GigaChat 2 Max

A Russian model. Personal data processing can be moved to it

Cloudflare WAF

Filters out requests carrying prompt injection before they reach the model

152-FZ check

The legal side: where personal data goes, consents, the processing agreement, transfer abroad

OWASP LLM Top 10PromptfooGarakRebuffManual attacksGigaChatCloudflare WAF152-FZ
04 · Estimate

What to expect after the audit

The estimate is for the online school in the example: 20,000 students and an AI tutor on a foreign model. The fine comes from Russia's Administrative Code, the audit price from the service's price list. I'll assess the risks of your own system during the express diagnostic.

Critical vulnerabilities
0
target

in the re-test, none of the critical attacks from the report gets through

152-FZ risk
₽5–10M —
now → target

the fixes aim to remove the grounds for a fine: keep students' contexts apart, move personal data processing to Russia and put consents in place. This does not guarantee the outcome of an inspection

Fine and audit price
4.5×
estimate

even the lowest fine for the school in the example (₽5M) is 4.5 times the top price of a full audit (₽1.1M), counting the 152-FZ risk alone

After the audit the school will have a report across all 10 OWASP LLM Top 10 categories, dated on the day of the re-test. It can go into a document package for investors, a buyer of the company or a regulator.

The report also includes an action plan by urgency: what to fix in the first 48 hours, what in the first month and what within the quarter.

Already working in my projects

In an AI assistant for company knowledge, I measured on the live index how many private fragments the "team" access level could see. There were 1327; after the access fix, 0.

In an AI sales assistant for a store's website, visitor data is processed by Russian language models. Phone numbers and emails are masked before logging, and a spending cut-off keeps abuse from running up the model bill.

05 · Timeline and price

How long the audit takes and what it costs

Timeline
2–3 weeks

for a full audit. The re-test follows once your team has made the fixes

Price
from ₽400k

up to ₽1.1M, depending on the scope and the number of AI agents in the system

Ongoing support
from ₽52,000/mo

a monthly re-check and alerts about new vulnerabilities, 6 months minimum

All formats and what they include are on the AI security audit service page.

06 · Where it fits

When an AI security audit is most needed

The general rule: an audit is worth doing when a model works with other people's data, or its answer reaches a person unchecked. If your AI fits any of the cases below, it's time for a check:

  • → An AI assistant with access to personal data: online schools, healthcare, HR services, any consumer service that stores conversation history
  • → Document search (RAG) that keeps several clients' data in one system: any leak between them is already an incident
  • → AI that calls external functions and works with real systems, money and files
  • → A chatbot on a public website: any visitor can attack it
  • → Before raising investment, selling the company or going through certification: investors and regulators may ask about AI security too
  • → Any processing of personal data through foreign models (OpenAI, Anthropic, Google): a 152-FZ risk
What you get from a full audit
  • A 30–50 page report with evidence, with each finding mapped to legal requirements
  • A live demo of the 1–2 most dangerous attacks on your system
  • A 90-minute walkthrough of the report, then 30 days of answers to questions about the fixes
Similar challenge?

If your AI already talks to people, start with an express diagnostic

In one working day I check the system against a shortened checklist, show one attack live and send a report with the five main risks. It costs ₽45,000.

Or just ask a question. During business hours I reply within 2 hours