A Connecticut court case has taken a strange turn after a pro se plaintiff attempted to manipulate legal proceedings using hidden AI instructions. The man, who is currently suing the New York Bariatric Group, inserted white text into his legal filings. This text was invisible to the naked eye but designed to be read by generative AI models. The hidden prompts specifically directed any AI that reviewed the document to declare him the winner of the case.

The court discovered the hidden text during a review of the filings. Legal observers note this is the first documented instance of a prompt injection attack used against a U.S. court. Judge Walter Spader Jr. issued sanctions against the plaintiff, noting that his actions defy logic and represent serious litigation abuse. The judge banned the man from using electronic filing systems and ordered him to submit all future paperwork in person.

While the plaintiff claimed he was conducting an audit of the court system to see if it used artificial intelligence, the court does not actually employ AI for document review. Judge Spader suggested the plaintiff may have spent too much time using chatbots to validate his own legal arguments. In later filings, the man even included links to clips from SpongeBob SquarePants, which he described as reminders of his humanity during a surreal legal experience.

This incident highlights how individuals might try to weaponize emerging technology in unconventional ways. Security researchers have long warned about the potential for prompt injection attacks as AI tools become more common in professional and public environments. As courts modernize their digital systems, this case serves as a warning about the challenges of integrating automated tools into legal workflows.