When a fake court case slipped into Westlaw and Lexis, how did they actually catch and fix it?
What technical checks do legal databases now run on flagged court documents?
This explores what safeguards legal research platforms like Westlaw and Lexis apply when a court document contains suspect material such as AI-fabricated cases — and the honest answer is that the collection documents one manual fix, not a set of routine technical checks.
This explores what legal databases do, technically, when a court document turns out to contain suspect material such as AI-invented cases. The collection can't answer that as asked: it has no source describing a standing set of checks that Westlaw, Lexis or anyone else now runs on flagged documents. What it has is one revealing incident and a good deal of material on where the checking actually happens instead.
The incident is the one that makes the question worth asking. When Judge Castel attached the fabricated "Varghese v. China Southern Airlines" opinion to his ruling as an exhibit, both Westlaw and Lexis automatically ingested it, hyperlinked it, and presented it as ordinary citable law. The fix was manual and came days later: staff removed the text and replaced it with a non-searchable image, so the fake case could still be seen but would no longer turn up in searches or be linked as authority Did legal databases re-index a judge's hallucinated case exhibit?. That is a one-off repair by people, not an automated screen, and nothing in the collection says it has since become a routine pipeline.
The verification burden sits with people further upstream. England's High Court has held that lawyers using generative AI for research must check the output against official databases and law reports before it reaches a court, whatever their intent Must lawyers verify AI legal research against official sources?. That makes the databases the reference point everyone is told to verify against, which is exactly why the brief indexing of a fake case matters. Meanwhile the volume keeps growing: one tracker counted 1,058 US cases involving improper AI use in filings by June 2026, about 40 percent of them filed by attorneys How many US court cases involve AI hallucinations in filings?, and courts that catch fabricated citations often impose no separate penalty for them Do courts actually sanction fabricated AI citations when detected?.
For a sense of what automated checks could look like, the nearest material comes from outside law. Work on guarding AI evaluators describes cheap mechanical checks, such as running the unarguable tests first and planting known-bad cases as alarms, that need no judgment from the model itself Can deterministic checks protect LLM judges from failure?. Research on retrieval systems shows poisoned documents can be flagged at retrieval time without retraining anything Can we defend RAG systems from corpus poisoning without retraining?. And ICLR's handling of suspected AI-written papers offers a model for what to do with a flag once raised: the detector only triages, and a human must find concrete evidence before any sanction follows How do detection tools shape LLM use enforcement at ICLR?. None of these is evidence about what legal databases do; they are the closest analogues the collection holds.
The thing worth taking away is the loop the Varghese episode exposed. A fabricated case entered the system of record not through a careless lawyer's brief but through a judge's opinion condemning it, because ingestion treated anything in a court document as law. Whether the platforms have since built checks for that path is a question this collection leaves open.
Sources 7 notes
Both major legal research platforms automatically ingested and hyperlinked the full text of the fake "Varghese v. China Southern Airlines" case from the judge's opinion appendix, treating it as ordinary citable law. Manual intervention was required within days to remove the text and convert it to a non-searchable image.
England's High Court ruled that lawyers using generative AI for legal research must verify outputs against official databases and law reports before court use. The duty applies regardless of intent, and breaches can trigger disciplinary action, negligence claims, or professional sanctions.
As of June 2026, Charlotin's database documented 1,058 US court cases involving improper GenAI use in filings (720 federal, 340 state). About 40 percent were filed by attorneys, not just pro se litigants, suggesting trained counsel contribute substantially to detected hallucination incidents.
Five cases show courts found fabricated or suspected AI citations but imposed no dedicated penalties. Sanctions turned on discretion, demonstrated harm, and intent—not the hallucination itself.
Research identifies four mechanical safeguards: ordering unarguable checks before contestable ones, measuring correctness against human labels, hiding test data from proposers, and using planted cases as alarms. None requires the LLM itself to verify compliance.
Show all 7 sources
RAGPart and RAGMask provide lightweight, retraining-free defenses that operate at the retrieval layer. RAGPart bounds poisoned-document influence via partitioned retriever learning; RAGMask flags suspicious documents through abnormal similarity collapse under token masking.
ICLR 2026 uses LLM detection tools only to triage papers for area chairs, who must find concrete evidence before sanctions are applied. This human gate protects against false positives by shifting costs from paper rejections to reviewer time.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Who's Submitting AI-Tainted Filings in Court?
- Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools
- Handling Hallucinations: A Reflection on the Last Three Years
- AI Hallucination Cases database
- One in 277 PubMed-indexed papers in 2026 shows fabricated references, says analysis
- GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers
- The effects of over-reliance on AI dialogue systems on students' cognitive abilities: a systematic review
- R (Ayinde) v London Borough of Haringey [2025] EWHC 1383 (Admin)