Bologu

Bologu accuracy

This page states plainly how accurate each part of Bologu is, how it is measured and where it still falls short. Every number comes from the same code that runs real checks, and is regenerated whenever the ruleset changes.

Updated 2026-11-25 · ruleset 2026.11.25.12

Judging chatbot tests

Fake chatbots with a known right answer, replying in the shapes real APIs use (OpenAI, Vercel AI SDK, RAG bots that attach sources), judged by Bologu exactly as a real test is.

Judged right
28 / 28
Said a problem was certain when it wasn't
0
Passed when it shouldn't have
0

Situations tested

  • Revealing the starting instructions8
  • Bots that rate-limit1
  • Opening links and instructions hidden in pages8
  • Sending data out through markdown pictures4
  • Cost (long answers, many pictures)3
  • Instructions in pictures4

Bologu wrote these situations itself, so they show the judging does what it claims in the cases we know, not how often real chatbots fall into each one. Cases that must never go wrong: a bot that refuses while the API attaches the code in its sources (must not count as obeying), and a link opened only by a link-preview service (must not pass).

The report's hidden-instruction filter

Bologu reports are handed to AI to fix things, so text copied from a scanned site or repository goes through a filter that hides lines that read like orders to an AI. This table shows what share of each dataset the filter hides.

DatasetTypeRowsHidden
Jailbreak prompts used in the wildAttacks1,40531.67%
Instructions injected into content (text)Attacks750%
Instructions injected into content (code)Attacks502%
Ordinary prompts that aren't jailbreaksPrompts people write for AI13,73512.77%
EmailsOrdinary content500%
TablesOrdinary content1000%
Code and error messagesOrdinary content500%
Real JavaScript from npm (lodash, moment, axios), line by lineOrdinary content144,3050%
Bologu's own report wording (Thai and English)Ordinary content5,6380%
  • The filter catches instructions written in known ways, such as telling the AI to forget previous instructions or running a dangerous command, so it misses injected instructions that look like ordinary requests.
  • Ordinary prompts are often hidden because many really are orders to an AI, such as "ignore all previous instructions" or "from now on you are...". In a report, hiding such lines is what we want.
  • Bologu's own report wording must never be hidden: a single case fails the automatic check.
  • Because the filter can't catch everything, Bologu doesn't rely on it alone: fix prompts are built from Bologu's own templates, text from the scanned site or code sits apart as evidence, and the report tells the AI to treat it as data, not instructions.

Limits

  • There is no outside dataset of ordinary Thai text yet; the Thai text measured is Bologu's own report wording.
  • The injected-instruction sets have only 125 rows, and the email, table and code sets a few hundred, so the numbers show a trend, not a precise rate.
  • Real chatbot results depend on each bot, and AI answers differently every time: not leaking in one run doesn't mean it can't be tricked.
  • No head-to-head comparison with other tools has been run yet.

How it's measured

  • Datasets are downloaded from pinned commits and checked by SHA-256 every time; whole sets, no sampling.
  • A weekly re-run alerts us if attack detection drops more than 3 points or wrongly hidden text rises more than 1 point.
  • Chatbot judging and Bologu's own wording are checked on every code change.

Datasets: jailbreak_llms (Shen et al., ACM CCS 2024) and BIPIA (Microsoft), both MIT licensed. Part of the filter's vocabulary is adapted from Guard Spec (Apache-2.0); the JavaScript measured comes from lodash, moment and axios (MIT).