Judge fines lawyers for inserting hidden commands into court AI

A judge from Tribunal Regional of Trabalho of the 8th Região (TRT-8) sentenced two lawyers to pay a fine after identifying an attempt to manipulate an AI system. The technique used, known as prompt injection, involves inserting a hidden instruction into a procedural document to change the behavior of artificial intelligence tools.
The decision pointed out that the hidden command aimed to compromise AI analyzes or influence draft sentences generated by the system. The judge determined a fine equivalent to 10% of the value of the case, totaling R$842,500.87 in favor of União.
Como works manipulation technique
The hidden command was inserted within a petition sent by the lawyers. The strategy sought to instruct any AI system that processed the document — whether from the court or the opposing party — to generate superficial opinions or decisions detrimental to opposing interests.
Segundo the sentence, the intention was clear: to compromise technical and legal analysis. The judge assessed the conduct as incompatible with procedural good faith and the duty of loyalty between the parties.
Sistema Galileu detected the anomaly
TRT-8 uses Galileu, a generative AI tool developed by TRT-RS (Tribunal Regional from Trabalho from 4th Região) and adopted nationally by CSJT (Conselho Superior from Justiça from Trabalho). The platform assists judges and civil servants in analyzing procedural documents and preparing draft decisions.
Durante processed the suspicious document, the system triggered a security alert and blocked the content. Subsequent human verification confirmed the manipulation attempt. The judge highlighted that the final decision, however, came from traditional judicial analysis after a personal assessment of the case.
Consequências administrative and disciplinary
Além of the monetary sentence, the sentence determined the sending of letters to two bodies:
- OAB-PA (Ordem of Advogados of Brasil in Pará), to open possible disciplinary proceedings against the professionals
- Corregedoria from TRT-8, to record the incident in the records
Prosecutor Vladimir Aras publicized the case on social media and stated that the conduct represented a serious violation. Segundo he, the action was “much worse than ordering the AI to make a petition or demonstration or decision and not checking the result”, as it involved a deliberate attempt to corrupt the system.
Defesa of the lawyers denies bad intentions
Professionals dispute the interpretation of the sentence. In a statement released by CNN, they denied having tried to manipulate the magistrate or court staff. Argumentaram that the command sought to protect the client against the AI itself, and not to influence it unduly.
“What happened, in truth, was an attempt to protect our client from AI itself and nothing more than that”, they declared. Também expressed confidence that the decision will be reversed in any appeals.
Luanna of Sousa Alves, one of the lawyers, presented a separate note stating that she was a former partner of Alcina Cristina Medeiros Castro. Alegou only works in the civil and social security areas and stated that he did not have access to the files before the sentence was handed down.
Implicações for digital legal practice
The case illustrates growing challenges in the adoption of AI systems by judicial institutions. Sistemas and Galileu gain space to speed up procedural analyses, but they also create new vectors of legal manipulation. The ruling sets a precedent on the responsibility of lawyers when operating artificial intelligence tools in judicial environments.
The decision also reinforces that responsibility for conduct lies with professionals, not with the client or the AI system. The court reaffirmed that human verification remains an essential step in the judicial decision-making process, especially when technology is involved.






