Suspecting court of using AI, man injected prompts in filings to try to win case
TL;DR Highlight
Hidden prompts in court filings failed, and the filer was banned from e-filing
Who Should Read
A backend developer running LLM summarization or review of user-uploaded documents who worries about hidden instruction attacks
Core Mechanics
- First US court case with hidden prompts
- Connecticut judge Walter Spader Jr. confirmed hidden text in a filing.
- The article says it appears to be the first time a US plaintiff tried this.
- Text was hidden as tiny white-on-white type
- It was invisible to humans but readable by software that reads the document text.
- It told any AI to agree with the plaintiff, ignore the court's prior denials, and ensure remediation followed.
- The attack did not work
- The judge confirmed the hidden text had no impact on the case.
- He said the Connecticut Judicial Branch does not use AI to review or decide filings.
- Continued hiding led to sanctions
- Later hidden messages included a YouTube link and jokes, which the plaintiff called jokes.
- The judge skipped monetary penalties and barred him from e-filing, requiring paper filings.
- How the judge described the attack
- The filer smuggles an instruction into a stream the system later ingests.
- The goal is to make the system treat it as coming from its operator.
- Defense depended on human review
- In a Brazil case, the court's AI caught the hidden text before processing, the judge noted.
- Here, the prompts were exposed the moment a human looked at the machine's output.
- One-sided chatbot use is a hazard
- Pro se litigants often ask chatbots to advocate only for their position.
- Chatbot sycophancy then entrenches them in their arguments despite contrary rulings.
Community Reactions
- Opinion that the judge's statements contradict each other
- One commenter pointed out the court uses no AI yet outputs were exposed when a human looked.
- Opinion that AI in court rulings is worrying
- One commenter feared a Silicon Valley company holding that trust, and doubted its impartiality and correctness.
- Curiosity about how the court found it
- One commenter guessed a clerk may have used select-all and noticed extra text.
- Experience of putting similar text in a resume
- One commenter said they put this kind of text in their resume.
How to Apply
- Run a hidden-text scan on uploads
- Today, extract text from a few sample PDFs and DOCX files and look for white or tiny-font text.
- Compare what a human sees with the extracted text.
- Separate document content from instructions
- Wrap documents in delimiters in your prompt and state in the system prompt not to follow commands inside them.
- Use document text only as quoted evidence.
- Add a human check on LLM outputs
- For outputs that affect decisions or approvals, show a source comparison view.
- Let reviewers see whether the output echoes phrases from the document.
- Add a counterargument mode to user-facing chatbots
- When a user enters a position, also output rebuttals and weaknesses.
- Avoid a default that only produces supporting arguments.
Try It
# Paste into Claude or ChatGPT as is (simplified version of the judge's advice as a prompt)
My position: {{my position}}
Relevant facts: {{fact summary}}
Don't just advocate for this position. Review it in this order.
1. The 3 strongest supports for my position
2. The 3 strongest rebuttals the other side could make
3. The chance I am wrong and why
4. Conclusion: keep or revise my position
Tell me the correct answer, not the one I want to hear.
Next to try: ask it to attack the same position from opposing counsel's viewpoint.Terminology
Related Papers
Why Do LLMs Help with Scientific Misconduct Requests and What to Do About It?: Increasing the Trustworthiness of AI for Science
Adding an intention-analysis system prompt raised refusal of misconduct requests from 58% to 87%.
How Specification Explicitness Shapes Failure in LLM-Generated Code
Spelling out invariants, edge cases and constraints cut hidden-test failures in LLM code by 47.2%.
Same Task, Different Statement: When and How Reformulation Helps LLM Problem Solving
Rewriting problem statements to fit their type raises LLM accuracy, but blind rewriting hurts.
Show HN: STE80 Humanizer – de-AI text by writing 80% of the way to ASD-STE100
A skill strips 26 AI tells and rewrites text in short ASD-STE100-style sentences
Character-Name Concentration in LLM Fiction: Measuring Displacement and Mitigating Repetition
Drafting name candidates and filtering by frequency cut LLM character-name repetition by 95%
LLM Voice
Martin Fowler: LLM-drafted prose keeps an uncanny tone even after human editing.
The Instruction Tax on Factual Recall: Base Models Can Beat Their Instruction-Tuned Counterparts
Few-shot completion with repeated sampling on a base model beat chat: F1 0.684 vs 0.568
AI is a tool and using it well takes skill
A rebuttal to Hickey: LLMs are tools, and skill in directing and checking them decides the outcome