Security
It Finished the Task. What Did It Touch on the Way?
· 8 min read · Anton Babayan, Founder
Almost every published number about agents grades the final answer. The answer is the one part of an agent's work that is easy to look at, and it is the part that reveals least about whether the thing is safe to put near a production system. An audit that reads the whole trajectory finds a different picture, inside runs that were scored as successes.
The harness is the part nobody evaluates
An agent is a model plus the software around it: the thing that hands it tools, decides which calls are permitted, feeds results back and co-ordinates other agents when there are several. The model proposes. The harness disposes.
Evaluation has concentrated almost entirely on the model, with the harness treated as neutral plumbing. The work published as Auditing Agent Harness Safety inverts that, scoring 210 tasks across eight domains on what happened during the run rather than on what came out of it, in both single-agent and multi-agent configurations.
The finding that matters commercially
Task completion and safe execution are not aligned. A harness that finishes more tasks is not thereby a harness that behaves better, and in this work the two come apart.
That is the opposite of the assumption most buying decisions rest on, which is that the more capable configuration is the safer one because it makes fewer mistakes. The mistakes being counted here are not failures to complete. They are things done on the way to completing.
Violations also accumulate with trajectory length. A longer task is not merely more work, it is more opportunity, and agent workflows have been getting longer because longer is what makes them impressive in a demo. Length is also where two runs of the same request stop resembling each other, so the same property drives both problems.
Where the violations actually are
Not in obviously wrong tool calls, which is where attention goes. They concentrate in resource access and in information passed between agents.
Those are both quiet failures. Reading a file that was not in scope produces no error and no visible defect in the answer. Passing a customer record from one agent to another that did not need it produces a perfectly good result and a disclosure nobody logged. Neither shows up in a score, and neither shows up in a demo.
Multi-agent setups make this worse in a structural way. Every handover is a place where information can travel somewhere it should not, and the number of handovers grows faster than the number of agents.
The ceiling is set by the harness
The conclusion with the most practical weight is that harness design sets the upper bound on safe deployment. Swapping in a stronger model moves the result less than changing how the orchestration constrains what any model is able to do.
That is a design instruction rather than a procurement one. What a tool can reach, which agent may call it, what crosses a handover and what is logged are all decisions made in your own code, and they are not improved by anybody's next release.
What to do with this
Log the trajectory, not the outcome. If the record keeps only the request and the answer, none of the above is detectable after the fact. Every tool call, with its arguments and what it reached, is the artefact a review will ask for.
Give the agent the asking user's reach, not the system's. Where a search runs under a shared identity with broad permissions, one successful instruction inherits all of it. The containment is the same one that limits an instruction planted in a document, approached from the other end.
Test with hostile inputs as a matter of course. The audit measures stability under perturbation deliberately. An agent observed only under cooperative conditions has been measured in the easy case, and the easy case is the one that never reaches it.
Treat each handover as a boundary. If agent B does not need the customer record, the harness should be the reason it does not receive it, rather than agent A's good judgement.
Sources
The paper is Auditing Agent Harness Safety (arXiv 2605.14271), with a project page and code. Figures circulating elsewhere for an overall safety score come from leaderboard aggregators rather than from the paper, and are not quoted here.
The short version
A score sees the final answer and nothing else. Auditing whole trajectories finds violations inside successful runs, concentrated in resource access and in what passes between agents, accumulating as tasks get longer. Completion and safety are not aligned, and the harness sets the ceiling, so the work is in your orchestration rather than in the next model. Log the trajectory, scope what the agent can reach, and test with hostile inputs.
Frequently asked questions
What is an agent harness?
The software around the model that gives it tools, decides what it may call, passes results back and co-ordinates other agents. The model chooses what to attempt; the harness decides what is possible. Most published evaluation measures the model and assumes the harness.
Why does grading the final answer miss safety problems?
Because a correct answer can be reached through steps that were not allowed. The audit work found violations concentrated in resource access and in information passed between agents, and found that they accumulate as trajectories get longer, which a final-answer score cannot see.
Does a more capable model make an agent safer?
Not reliably. The finding that matters commercially is that task completion and safe execution are not aligned, and that the harness design sets the upper bound. Changing the orchestration can do more than changing the model.
What makes multi-agent setups riskier?
Every handover is a place where information can travel somewhere it should not, and the number of handovers grows faster than the number of agents. The audit work describes multi-agent collaboration as widening the risk surface rather than merely adding to it.