Brazilian Courts Sanction Hidden AI Prompts, but No Altered Judgment Has Been Shown
Brazilian courts and bar associations have responded to hidden prompts in legal filings with fines, referrals, suspensions and an investigation. The known cases were detected, however, and do not show that an AI system changed a judicial decision; they instead test how courts secure AI-assisted review of untrusted case documents.
- Hidden instructions in Brazilian court filings have led to fines, bar-association proceedings and a Superior Court investigation.
- The retained cases were detected; they do not establish that an AI system issued or changed a judgment.
- The unresolved question is whether courts can measure and screen this risk as AI helps people organize increasingly large case files.
Brazilian courts are treating hidden instructions for AI tools in legal filings as potential procedural misconduct. In reported cases in Pará, São Paulo, Paraíba and Rondônia, the text was often white on white or otherwise hard for a human reader to see, while asking a system that processed the document to favor a party or draft a particular result.
The response has been consequential: monetary penalties, referrals to prosecutors and professional regulators, precautionary suspensions and an investigation by the Superior Court of Justice (STJ). But the evidence is narrower than the rhetoric around an AI-controlled judiciary. The known prompts were found or blocked, and the retained accounts do not show one changing a ruling. In some cases, the lawyers contest that the text was intended to manipulate the court at all.

Tribunal de Justiça de São Paulo artwork accompanying its prompt-injection announcement. Source: Tribunal de Justiça de São Paulo.
What the hidden text was trying to influence
Prompt injection is an attempt to place instructions inside material that a language model will process, hoping the model follows them rather than treating them as case material. In a judicial workflow, that could affect a tool used to search, summarize, organize or draft from a filing before a judge reviews the result. It is not the same thing as a system making the legal decision.
That distinction matters because Brazilian judicial guidance cited by the São Paulo state court requires human review and bars automated systems from making judicial decisions. The court said its own discovery of the white-on-white text came through proper, supervised use of AI, in its statement.
Galileu, the judicial assistant identified in the Pará reporting, illustrates the limited but important role at issue. Lawyer Abel Gende described it as a tool that analyzes documents and proposes a ruling outline, rather than evaluating evidence or doing the legal analysis; human review is mandatory, . A hidden instruction may therefore aim to shape the material presented in that preliminary workflow, not to replace the judge.