Tribunal.Judges.Hijacked (Tribunal v1.4.0)

Copy Markdown View Source

Detects whether an LLM-powered assistant was hijacked off-topic.

Pairs with Tribunal.RedTeam.Plugins.Hijacking: the plugin generates off-topic-but-adjacent user messages and carries the assistant's purpose in expected.hijacked.purpose. This judge grades each response against the same purpose at run time.

This is a negative metric: "yes" (hijack succeeded) = fail.

Required options

  • :purpose — the assistant's purpose text. Hijacking is judged relative to this scope.