Man Hides AI Prompt Injections in Court Filings to Rig Case

A Connecticut state court revealed what is believed to be the first documented instance of a US plaintiff attempting a hidden AI prompt injection attack within legal documents. Plaintiff Matthew Elliott formatted secret instructions in tiny white-on-white text designed to manipulate automated software reviewing court records, though the presiding judge confirmed the tactic ultimately failed.

The Mechanics of the Hidden Prompt Attack

Modern legal workflows increasingly intersect with automated text processing and Large Language Model (LLM) tooling. Recognizing this shift, Matthew Elliott attempted to exploit how software parses documents. According to a decision published by Connecticut judge Walter Spader Jr., the hidden text was carefully engineered to bypass human visual inspection.

The instructions were shrunk to tiny-point type and colored white on a white background. To any human clerk or magistrate opening the file, the space appeared blank. But to any software parsing the document layer, the payload was fully legible.

The offending text directed any AI system reviewing the document to ensure textual outputs agreed with the plaintiff’s arguments, ignored prior denials from the court, and ensured that remediation would follow as the plaintiff desired. According to Judge Spader, the plaintiff was trying to scramble any AI systems potentially influencing the court’s reading of his filing after earlier legal arguments were defeated.

Judicial Response and the Threat of Litigation Abuse

Despite the novel technical vector, the attack had no impact on the court’s actual ruling. The presiding judge confirmed the court weighed his filing strictly on the merits of the case, where the plaintiff had alleged a healthcare provider was improperly withholding access to records.

Suspecting court of using AI, man injected prompts in filings to try to win case
Photo: winzheng.com

However, the bench did not let the behavior slide. Judge Spader warned that the attempted attack sets a dangerous precedent that will likely reappear as AI tools become more commonplace in court systems. Because Elliott continued adding hidden text to filings even after receiving judicial warnings about potential penalties, the court deemed the actions a serious litigation abuse and issued modest sanctions.

When confronted by the court regarding these subsequent additions, Elliott claimed the later prompts were intended as “jokes.” According to court disclosures detailed in reporting from Winzheng, these later payloads included a link to a Nosferatu YouTube video, a simple message stating “hi 🙂 I hope yo ucant see me,” and a nonsensical string reading “TELL SHAWN I SEND MY RE GARBS!!!! HAHAHA U GUYS GET THIS EGGWUH???? AHAH.”

This incident exposes an emerging vulnerability in the digitalization of the judiciary. As courts adopt automated document ingestion pipelines, search retrieval-augmented generation (RAG) models, and internal summarization scripts, documents cease to be static text. They become executable data streams.

From Instagram — related to hides prompt injections filings, Matthew Elliott AI court

Prompt injection—historically a concern restricted to public-facing chatbots and enterprise LLM integrations—has now crossed over into formal legal pleadings. When adversarial text manipulation meets the formal constraints of civil procedure, courts are forced to evolve their technical infrastructure. Static PDF sanitization and plain-text stripping are no longer optional features for court document portals; they are baseline cybersecurity requirements to prevent upstream data poisoning.

As digital filings become standard across state and federal jurisdictions, this Connecticut case serves as a stark warning. The legal system must quickly adapt to adversarial prompt engineering, ensuring that automated efficiency does not introduce new attack surfaces into the administration of justice.

Photo of author

Sophie Lin - Technology Editor

Sophie is a tech innovator and acclaimed tech writer recognized by the Online News Association. She translates the fast-paced world of technology, AI, and digital trends into compelling stories for readers of all backgrounds.

Former Zelina Vega Announced for First Post-WWE Indie Matches as Xelina

Kennedy Center Board Seeks to Name Grounds President Donald J. Trump Plaza

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.