Skip to content

Legal

A false-premise test kit for GDPR and legal AI assistants

A testing service that checks whether legal AI tools reject wrong assumptions, claim by claim, based on a 2026 study of hallucinations in eight legal RAG systems.

By SaaS White Published 10 min read

Share of answers with at least one unsupported claim, GDPR benchmark questions: E5 + Llama 3 8B, 48.3% Share of answers with at least one unsupported claim, GDPR benchmark questions: E5 + Llama 3 8B, 48.3%

Quick overview

Problem
Legal AI assistants often build on a user's wrong legal assumption instead of correcting it, and good test questions for this are scarce.
Solution
A private, lawyer-written set of false-premise questions run against a vendor's own system, with a sentence-by-sentence report.
Customers
Legal-tech and privacy-tech vendors; law firms and legal teams choosing between tools.
Difficulty
Medium The software is straightforward; writing good questions needs a lawyer, and automatic claim checking needs human review.
Time to MVP
6–8 weeks for one developer and a privacy lawyer part-time
Field
Legal

The product: a testing service for companies that build AI assistants on legal texts. It sends their system a private set of expert-written questions that contain a wrong legal assumption (“Since the GDPR doesn’t apply to small companies, …”), then checks sentence by sentence whether the answer rejected the assumption or built on it. The idea comes from an August 2026 arXiv study that found these trick questions among the hardest for legal AI systems, including the strongest ones it tested.

What the study measured

Souvick Das, Sallam Abualhaija and Domenico Bianculli analysed eight retrieval-augmented (RAG) systems answering questions about two bodies of law: the GDPR, in English, and a national civil code in French. Each system paired one of two retrievers with one of four language models (GPT-4, GPT-5, Llama 3 8B and Mixtral 8x7B). Instead of grading whole answers as right or wrong, the authors broke every answer into individual claims and checked each one against the retrieved legal text: supported, unsupported, or contradicted.

What they found, at the strength they found it:

  • Hallucinations were common in every system. The share of answers with at least one unsupported claim ranged from 20.1% (GDPR) and 8.3% (civil code) for the best system to 48.3% and 45.8% for the worst.
Share of answers with at least one unsupported claim, GDPR benchmark questions
  1. E5 + Llama 3 8B48.3%
  2. E5 + GPT-536.2%
  3. BM25 + GPT-430.9%
  4. BM25 + Llama 3 8B29.5%
  5. E5 + Mixtral 8x7B21.5%
  6. BM25 + Mixtral 8x7B20.1%
  7. E5 + GPT-420.1%
  8. BM25 + GPT-520.1%

Eight RAG systems (retriever + model). Highlighted: the best and worst systems. Source: Das, Abualhaija and Bianculli, 2026, table 1. Chart by SaaS White.

  • Most bad answers were mostly right. The most common hallucinated answer contained exactly one unsupported claim. That is what makes them dangerous: a reader skimming a fluent, largely correct answer will not spot the one sentence that has no basis in the law.
  • False-premise questions stood out. Questions built on an incorrect assumption, which the system should reject before answering, produced some of the highest hallucination rates. On an independent set of 142 questions written by a legal expert, false-premise questions led to a hallucination in 53.9% of answers for the weakest system on GDPR, and in 30.8% for one of the GPT-5 configurations.
False-premise questions written by a legal expert: answers with a hallucination, GDPR
  1. BM25 + Llama 3 8B53.9%
  2. BM25 + GPT-530.8%
  3. E5 + Llama 3 8B30.8%
  4. BM25 + GPT-423.1%
  5. E5 + GPT-523.1%
  6. E5 + GPT-411.5%

26 questions per system; the study calls category results preliminary. Source: Das, Abualhaija and Bianculli, 2026, table 6. Chart by SaaS White.

  • Better retrieval alone will not fix it. The authors conclude that systems also need to stay faithful to what they retrieve and to check the premises they are given, or in their words, “improving retrieval quality alone is unlikely to mitigate hallucinations”.

The authors are clear about the limits: two legal corpora, eight fixed systems, no tests of different prompts or newer models, and only 13 false-premise questions among the benchmark’s 317, so the category results are preliminary.

Why this is a business, and why now

That last limitation is the opening. False-premise questions are exactly what real users ask: people come to a legal assistant because they misunderstand the law. Yet good test questions of this kind are scarce, slow to write, and need a lawyer to write them. And the study shows results moving with the retriever, the model and even who is asking, so a system that passed last month can fail after a model upgrade.

Three things make it urgent:

  • Courts are seeing the damage. A database of AI hallucination cases maintained by Damien Charlotin had recorded 1,058 US cases by the start of June 2026 in which a litigant’s or lawyer’s court filing contained improper generative AI output, about 40% of them involving lawyers.
  • Lawyers are told to verify. The American Bar Association’s Formal Opinion 512, issued in July 2024, says lawyers should not rely on generative AI output without an appropriate degree of independent verification, and must reasonably understand the capabilities and limits of the tools they use, as summarised by LawNext. A buyer who has to understand a tool’s limits needs evidence about them.
  • Vendor claims have not held up. A 2024 preregistered study from Stanford found that legal research tools from LexisNexis and Thomson Reuters hallucinated between 17% and 33% of the time, despite marketing that described them as avoiding or eliminating hallucinations.

A scenario

Picture a startup selling a GDPR assistant to small companies. A user from a US online shop asks: “The GDPR only covers companies based in the EU, so which parts still matter for our German customers?” The question carries an assumption that has to be corrected before anything else is said; an assistant that simply lists “the parts that still matter” has failed, however fluent the rest is. The startup’s own tests are written by its engineers, who rarely think to ask questions like this. One wrong answer screenshotted on LinkedIn costs it more than a year of testing would.

The scenario is ours; the pattern, a premise accepted instead of rejected, is the one the study measured.

The market

Who buys. First, the vendors: legal-tech and privacy-tech companies whose product answers legal questions, paying from engineering or quality budgets. Second, law firms and in-house legal teams choosing a tool, who need evidence about its limits before they rely on it.

What they use today.

Option What it offers Gap for this need
In-house testing Engineers and lawyers read answers by hand Slow, inconsistent, few false-premise questions
Vals AI Independent benchmarks and leaderboards, including several legal ones Its site shows evaluations run on its own test sets; we found no offer to test a customer’s system on private questions
Cleanlab Real-time trustworthiness scores that flag likely hallucinations in any RAG or agent system; its page says it has been acquired by Handshake AI General-purpose; nothing legal-specific, no false-premise testing
Open research benchmarks Public question sets such as the one used in the study and the Stanford dataset Public, so they lose value once models are tuned on them

We searched for legal AI evaluation services, hallucination testing for legal RAG and false-premise test sets for legal AI on 21 November 2026, and found no product offering private, lawyer-written false-premise tests run against a customer’s own system. That does not mean no law firm or vendor does it in-house.

How big could it be? A back-of-the-envelope estimate, with inputs and guesses shown:

What we counted Figure Source or guess
Legal technology companies tracked 5,785 Stanford CodeX TechIndex, November 2026
Share whose product answers legal questions with AI and would pay for testing 5–10% Assumption
Annual contract (quarterly test runs) $5,000–15,000 Assumption
Annual revenue if fully captured about $1.4M–8.7M 289–578 vendors × $5,000–15,000

The range depends most on how many vendors actually build question-answering products, which the TechIndex count does not tell you. It leaves out law firms and legal departments as buyers, which could be larger or smaller. Read it as “a real niche”, not as a forecast.

Timing: emerging. The problem is documented and buyers are being told to verify, but buying independent tests is not yet a habit.

A test before every release

The pitch: before each release, find out whether your legal AI still corrects users who have the law wrong, and which of its sentences have no support.

What the first version would include:

  1. A private question set. 150 false-premise questions on the GDPR, written with a privacy lawyer. Each records the wrong assumption and the article or recital that refutes it. Kept private and refreshed every quarter, so it cannot leak into training data.
  2. A harness. The customer gives an API endpoint; the service sends the questions and stores the answers.
  3. A claim-level report. Each answer is split into claims and checked against the GDPR text, as in the study: did it reject the premise, and which sentences are unsupported or contradicted? Contradicted claims, the serious kind, go to the lawyer for a final check.
  4. Re-runs with a diff. The same test after every model or prompt change, with what got better or worse highlighted.

How a vendor would use it. A vendor signs a short agreement, gives a test endpoint and a contact. Within a week they receive a PDF: the headline (how many premises rejected), then each failure with the question, the answer, the problem sentence and the article that contradicts it. Before their next release they press “re-run” and get the difference.

The difference from a leaderboard: private questions written by a lawyer, a focus on the specific failure the research says is hardest, and tests run on the customer’s own system rather than a public leaderboard.

The build: mostly questions, not code

  • Harness and reports: a small web app in any mainstream stack; PDF generation for reports.
  • Claim checking: open-source tools exist for splitting answers into claims and checking them against a reference, for example Amazon’s RefChecker, which the study’s authors cite. The reference text is the official GDPR from EUR-Lex.
  • Question bank: a structured store of questions, premises and the provisions that refute them, with versioning so results stay comparable across runs.

The difficulty is real but mostly not technical. The claim checker makes mistakes of its own, which is why the lawyer reviews contradicted claims. MVP: 6 to 8 weeks for one developer, with a privacy lawyer writing questions part-time. The founding team needs one person who can build evaluation pipelines and one who knows data-protection law well enough to write traps a model will fall into.

Where it could go wrong

  • The grader can be wrong too. Automatic claim checking makes its own mistakes. The service sells a reviewed report, not a score.
  • Expertise is the cost. Good false-premise questions need lawyers’ time. The business works only if one question set can be sold to many customers.
  • Vendors may not want to know. A bad report is uncomfortable. Selling to buyers as well as vendors helps.
  • Liability. A clean report must never read as a guarantee that a tool gives correct legal answers. It tests specific behaviour on specific questions, and the contract has to say so.
  • Evaluation companies could add it. Vals AI already has legal benchmarks. The defence is depth in one area of law and testing on the customer’s own system.
  • Models may get better at this. If the next generation of models reliably rejects false premises, the product needs to move on to harder failure types.

How it would earn money

Contracts: an annual contract with a fixed number of test runs, plus one-off reports for buyers evaluating a tool.

Prices to open with: $5,000 to $15,000 a year for quarterly runs, and a one-off report for a few thousand dollars. We found no public prices for comparable services, so these are starting points for conversations, not benchmarks.

Costs and margins: the main cost is lawyers’ time to write and refresh questions, and it is shared across customers, so margins improve with every customer on the same regulation. Sales are direct and slow at first (a handful of conversations per customer); retention depends on whether the report becomes part of a vendor’s release checklist. Scaling to a new area of law means a new question bank, which is real work each time.

Getting the first vendors to say yes

Where the buyers are: privacy professionals gather around the IAPP; legal-tech founders around the Stanford CodeX community and legal innovation events; buyers through law-firm innovation and knowledge-management teams.

A way in: list the vendors selling GDPR or privacy assistants, run the test on any that have a public demo, and send each a short private note: “Your assistant accepted three of these five wrong assumptions. Want the full report?” Free for the first five.

Three pitches to compare:

  • “Does your legal AI correct users who have the law wrong?”
  • “Private test questions, written by a lawyer, run before every release.”
  • “Evidence about your tool’s limits, for customers who have to understand them.”

Allies: privacy consultancies that advise on tool selection; legal-tech accelerators; later, procurement teams at large firms who could require the report from vendors.

Thirty questions before anything else

Open questions:

  1. How do legal AI vendors test today, and who signs off a release?
  2. Would a vendor share an endpoint with an outside tester?
  3. Do buyers (firms, legal departments) ask vendors for evidence of accuracy, and in what form?

A cheap sequence of tests:

  1. Write 30 questions with a privacy lawyer and run them on every GDPR assistant with a public demo. If none of them fail, the idea is weaker than the study suggests.
  2. Five conversations with vendors, showing their own results.
  3. Three conversations with buyers: would they ask vendors for this report?

Enough to keep going, in our view: at least two of five vendors asking for a re-run on their next release, and one agreeing to pay; or a buyer adding the report to a procurement checklist.

Further reading

More ideas