← All articles

AI security   ·   December 4, 2026  ·  6 min read

Our guard model beat five competitors on 16 public datasets

LLMGuard sits between employees and language models and strips passports, keys and classified documents out of requests. Its last line of defence is our own guard model. We compared it with five others on 16 public datasets: on average it comes first, but it loses on five datasets.

Sources

LLMGuard: guard model, benchmark and deployment

ESTESIS team  ·  llmguard.ru · data as of November 12, 2026

Product website  →

Key figure

88.3%

average R of our guard model on 16 public datasets; the closest competitor scores 82.7%. ESTESIS test, November 2026, data as of November 12

In short

01In our test LLMGuard’s guard model took 11 first places out of 16 and leads the closest competitor by 5.6 pp
02It detects multi-turn attacks in 25.8% of cases; the best result in the comparison is 37.7%
03The gateway only observes for two weeks and turns on blocking on day 16

What the gateway does with a prompt

An employee asks a model to draft a letter to a client and pastes the client’s passport, the contract number and, while at it, a repository token into the request. The text reaches GigaChat in a different form: the passport is replaced with the marker ‹PASSPORT_1›, the token with ‹SECRET_1›. The answer comes back to the employee with the original values, and the model never sees the real data.

LLMGuard sits between people and models: ChatGPT, GigaChat, YandexGPT, Anthropic, Qwen or a model inside the client’s perimeter. Requests flow through it from the employee chat, AI agents with access to email and CRM, coding assistants such as Cursor and Claude Code, and ordinary applications over the API. An application only needs to change the address and the key. The gateway has four decisions.

  • PASS lets the request through unchanged.
  • MASK replaces the detected data with markers.
  • BLOCK stops the request and returns HTTP 403 naming the rule and the detector.
  • ROUTE sends a request containing secrets to a model inside the closed perimeter.

Every decision goes into a log that feeds the report under Russia’s personal data law 152-FZ. The provider key never leaves the gateway: the application works with a virtual LLMGuard key.

How the check works

Running every prompt through a large model is expensive and slow. Regular expressions take fractions of a millisecond but miss a document retold in other words. So a request goes through a cascade from cheap checks to expensive ones.

  • First, in 0.1 ms, the gateway finds the policy: which rules apply to the organisation, the project and the key tag.
  • Fast detectors take 0.8 ms. These are regular expressions, the Luhn algorithm for card numbers, entropy and signatures for access keys.
  • Semantic detectors need 6–12 ms: named-entity recognition for Russian text, dictionaries, IDM/EDM document fingerprints, OCR for images.
  • The guard model steps in only when the others are unsure and takes about 84 ms.

There are ten detectors in all, from passports and cards to fake packages that coding assistants make up. Each is switched on per project.

Five competitors on 16 datasets

We built the last stage of the cascade ourselves. QwenGuard by ESTESIS is based on Qwen3Guard and runs inside the gateway, including inside the client’s perimeter. In November 2026 we compared it with five guard models on 16 public datasets, 41,636 examples in total. The figures below are as of November 12, 2026 and refer to the model versions listed in the table: competitors update their models, and newer versions may score differently.

Average R on 16 public datasets, %
Shieldstral-1.0-3B63.8
HaloGuard1-Gen-4B64.3
YuFeng-XGuard-Reason-8B75.4
HiveTraceGuard-Pro 0.6B80.1
AccuKnox Guard 1.182.7
QwenGuard by ESTESIS88.3

R is the share of harmful examples the model detected. 11 datasets with injections and jailbreaks, 2 with toxicity, 3 with dangerous topics. ESTESIS team test, November 2026; data as of November 12, 2026.

The model took 11 first places out of 16, sharing first place with another model in two of them. On injections and jailbreaks its average is 84.7%, on toxicity 96.7%, on dangerous topics 96.0%. The obvious caveat: we ran the measurements ourselves. That is why the method and the table for all 16 datasets are public on llmguard.ru and can be checked.

Where the model loses

On five datasets first place belongs to others.

  • On shalanova_b1 we score 75.9%, HiveTraceGuard-Pro 97.5%.
  • On safeguard_pi 94.7% vs 99.6% for AccuKnox Guard.
  • On toxicity 95.5% vs 96.7% for HiveTraceGuard-Pro, on harmbench_requests 99.2% vs 99.6% for YuFeng-XGuard.
  • On multi-turn attacks from safemtdata 25.8% vs 37.7% for YuFeng-XGuard.

The last line worries us more than the rest, although all six models did badly here. In a multi-turn attack the harmful meaning builds up over several messages and cannot be seen in a single request. So in LLMGuard the model reads not only the request but the whole session: the dialogue history, attachments after OCR, the user’s role. A piecemeal leak, when forty requests an hour each carry two rows of the same client table, is stopped by the gateway as a whole.

Why we don’t start with blocking

A security team launching any firewall fears one thing: false positives will break people’s work. So for the first two weeks LLMGuard only observes. Requests pass unchanged while the log collects detections. By the next day surprises turn up: tokens in logs, exports with full names in analysts’ chats, pieces of proprietary code in requests to external assistants.

Then comes calibration of thresholds and dictionaries, and every rule is first run in a sandbox. On day 16 the policies switch to enforce mode. The cloud gateway connects in a day. For a closed perimeter there is Docker Compose on a single server for teams of up to 300 people and Kubernetes with the guard model on the client’s side.

What’s next

In November Inc. Russia wrote about LLMGuard in a special project with Cloud.ru](/en/blog/inc-llmcore), together with LLMBox and LLMGateway from our LLMCore line. For international clients we launched the English portal [llmguard.io. The main technical task is clear from the table above. On multi-turn attacks the model still lags behind, and there the gateway’s session analysis backs it up.

Read also

Research and agentic systems

All articles

Accredited IT company · Russian Ministry of Digital Development registry No. 20142