Red Hat checks AI agent tool use against what actually happened in the backend
A garak engineering study separates actions that merely look like policy violations in a transcript from those confirmed by execution records.
Red Hat Developer published an evaluation on Dec. 2 that asks a practical question for teams deploying agents: If an agent says it performed a prohibited action, how do you know whether it actually did? The authors used NVIDIA garak’s AgentBreaker probe in a controlled study, but they did not use its model-based judge as the final authority. They checked recorded tool executions and backend state against explicit policy rules.
A successful tool call is not the same as a policy failure
The study used three small agents, each with a different policy and a synthetic backend. The evaluation harness recorded the tool arguments, outputs and changes to backend state. A finding counted only when that evidence confirmed a prohibited action or disclosure. An ordinary tool call that returned successfully did not count merely because it ran. Conversely, the absence of an incriminating assistant reply would not erase a prohibited change recorded by the backend.
Red Hat’s comparison also shows why a transcript-based judge and an execution check can disagree without measuring the same thing. The judge may count an attempted or agreed-to violation; the backend check asks whether the action or disclosure actually occurred. That distinction matters when an agent tries to do something it should not, but a control downstream blocks the request. The attempt is still useful evidence for the team maintaining the policy, but it is not evidence of a completed violation.
What platform teams can take from the study
The authors ran 48 evaluations with deliberately permissive synthetic backends. That design let them look for gaps across the agent, its tools and the backend together. It does not establish a general security ranking of the models evaluated, or show how often the same behavior would result in a violation on a protected production service.
For teams evaluating their own agents, the useful starting point is to define what evidence would distinguish an attempted action from a completed one. Where possible, record tool outcomes and compare them with an independent record of state changes or disclosures. Keep blocked requests separate from confirmed violations. That gives teams a way to tell whether a guardrail held, rather than trying to infer the result from the agent’s wording.
sources
- Red Hat Developer: Testing AI agents for malicious tool call generation with garakdevelopers.redhat.com
comments · 0