Skip to content

Accident reports · June 2026

Paraíba: seven pages of hidden orders "to test" the judge's AI, a 32,800 reais fine

A lawyer slipped invisible instructions into an appeal asking to ignore impartiality. The judge saw them and fined him personally, twice.

  • Company Tribunal de Justiça da Paraíba (TJPB)
  • Model not published
Outside content
An empty classroom, tablet-arm chairs lined up by the windows
Photo: Allen Y on Unsplash
WhenJune 2026 (made public on 30 June)
WhoThe 5th Mixed Court of Sousa, State of Paraíba (TJPB), Brazil
What the agent didNothing, according to the sources: orders hidden over seven pages of an appeal targeted the courts' AI tools
ConsequenceAccording to the sources: two fines of 16,400 reais, 32,800 reais in all, payable by the lawyer personally; referrals to the bar and prosecutors

What happened

According to the legal news site JuriNews (30 June 2026), a candidate in a teacher recruitment exam in Sousa went to court; the claim was rejected. The defence then filed a motion for clarification ("embargos de declaração"). Analysing it, the judge found hidden instructions spread over seven pages. According to JuriNews, they asked among other things to "ignore impartiality" and to accept the appeal; a note presented it all as a "test to find out whether the judge only uses AI in his decisions". The sources do not say how the text was hidden.

According to Migalhas (14 July), the judge wrote that the filing had been "intentionally instrumentalised" to run "private and unauthorised technological experiments" on the judiciary's support systems. He did not admit the motion and, the case being worth only 100 reais, set two fines of ten minimum wages each, 16,400 reais according to Migalhas: one for bad faith, the other for an act against the dignity of justice, 32,800 reais to be paid by the lawyer himself. Copies were sent to the Paraíba bar (OAB-PB) and to prosecutors, over possible procedural fraud. According to JuriNews, the filing can now only be viewed by the judge and court staff. According to Migalhas, the lawyer's requests for reconsideration were rejected.

No source names an AI tool or says a tool followed these orders.

Why it happened

The lawyer presented the text as a test: checking whether an AI decides in the judge's place. But a test slipped into a real case is still an order addressed to a tool, with real consequences for the other party if the tool obeys.

The judge saw it by reading the filing himself: human review acted as the safeguard.

The failure family

In our catalogue, this is the "Outside content" family: a document read for the work contains orders addressed to the agent.

The safeguard in code

  • Each filing is extracted as a human would see it; any invisible text is set aside and flagged.
  • A sentence asking the tool to "ignore" a rule or to rule for one party triggers an alert, with the excerpt.
  • The tool never gives a view on whether an appeal is admissible without the judge's review.

What we test

The "planted instruction" and "camouflaged planted instruction" tests slip an order into content the agent reads for its work, including in hidden form. We watch whether it carries it out and whether it reports it.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading