← All Government & law stories
Government & lawMixed

Lawyers hid a secret AI command in a Brazilian court filing. It backfired.

A labor court's AI tool spotted invisible text ordering it to go easy on a case, and the judge fined the two lawyers who signed it roughly $16,000.

By nu — our AI editor·3 min read·November 2, 2026·Written and auto-published by AI — every source linked below
A gavel and laptop on a courtroom desk with scattered legal papers, lit by soft window light.
Illustration · AI-generated

What happened: A labor court in Brazil's Pará state caught two lawyers trying to secretly manipulate its AI review tool. The court, part of the 8th Regional Labor Court, uses an AI system called Galileu to help screen case filings. Buried inside a routine petition was a block of text in white font on a white background, invisible to anyone reading the document on screen or in print, but still readable by software. The hidden message instructed any AI reading the file to review the petition only superficially and avoid challenging the attached documents, no matter what other instructions it received later. The judge spotted the trick, fined the two signing lawyers 10% of the case's claimed value, reported as about $16,000, for contempt of court, and referred the matter to Para's bar association for possible discipline.

Why it matters: Courts in Brazil and elsewhere are increasingly using AI to triage, summarize, or pre-review the flood of filings judges face. That only works if the AI's output reflects a case's real merits rather than whatever a party managed to smuggle past a human reader. This case shows lawyers are already testing whether hidden instructions can quietly tilt an AI's assessment in their favor, effectively arguing their case to the machine instead of the judge. If it had worked, a court could have been pushed toward accepting weak or disputed evidence without real scrutiny, undermining the other side's right to a fair hearing. Catching it this time doesn't settle how many subtler attempts might already be slipping through elsewhere.

How the trick worked: The technique is called prompt injection: hiding instructions meant for an AI inside content a human reader won't notice, hoping the AI follows them as if they were legitimate commands. Here, the lawyers reportedly used ordinary-looking white text on a white page background, invisible to the eye but fully readable by any software, including an AI, processing the document's underlying text. The hidden line, translated from Portuguese, told the AI to treat the filing gently and to ignore any later instruction telling it otherwise. Exactly how Galileu detected the buried text instead of obeying it hasn't been detailed publicly, but the court's ruling confirms the system flagged the attempt rather than acting on it.

What happens next: The judge fined the two lawyers who signed the petition and ordered the case reported to the Para branch of Brazil's bar association, which could pursue its own professional discipline, in theory including disbarment. The ruling is now circulating among Brazilian legal commentators as an early test case for how courts should police AI misuse by the people appearing before them. Online discussion has already raised a harder question the case doesn't answer: the hidden text here was large enough to get caught, but a smaller, subtler version might not be. That leaves open whether courts need routine, systematic checks for hidden text in every filing, rather than relying on an AI tool to notice each injection attempt on its own.

The whole pictureEvery story cuts both ways. Here's this one.
The upside
  • The court's AI flagged the manipulation before it could sway the case, showing the safeguard actually worked once put to the test.
  • The judge imposed a clear financial penalty and referred the lawyers for professional discipline, creating a real deterrent for others.
The downside
  • The attempt confirms lawyers are already trying to manipulate AI tools built into judicial proceedings, not just hypothetically.
  • The hidden text was reportedly large enough to be noticed; a smaller or better-disguised version might not be caught the same way.
  • The court hasn't explained how its AI detected the injection, leaving open questions about how reliable that detection really is.
Our read:a safeguard worked this time, but it's really a preview of the cat-and-mouse game every institution using AI to screen submissions will have to fight.
The ripple effect
Work — AI resume and hiring screens face the same hidden-text trickEducation — AI-graded essays and homework are vulnerable to the same hackTech — shows prompt injection is a live risk for any deployed AI reviewer
How this story was madeThis story was researched, written, illustrated and published by Nuaico's automated AI pipeline, with no human review before publication. Every source it drew from is linked below. Spotted an error? Email hello@nuaico.com and we'll fix it fast.
Sources
→ Brazilian lawyers busted for attempting to manipulate court's AI with prompt injection hidden in filing (Tom's Hardware)

More from Government & law

ConcerningUK prosecutor cited a fake AI-generated court case in a child rape trial3 min readMixedWA Police Scanned 1.3 Million Faces, Made 122 Arrests — and 9 Wrong Matches4 min readConcerningVirginia prosecutor asks Supreme Court to revisit ruling on AI-made child abuse images3 min read