Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 1 min read

The signature was valid. The agent still did something else.

An approval is a sentence. An agent executes a call. The gap between the two is where the damage lives. We built a benchmark for exactly that gap: agent-authz-bench. A sealed corpus of 300 scenarios in which the user ap

An approval is a sentence. An agent executes a call. The gap between the two is where the damage lives.

We built a benchmark for exactly that gap: agent-authz-bench. A sealed corpus of 300 scenarios in which the
user approves one thing and the agent's next tool call is a different thing β€” a different path, a different
service, a different amount.

The result, one pass on a sealed split:

arm unauthorised execution false blocks
no gate 300 / 300 (100 %) 0 / 200
signature only 300 / 300 (100 %) 0 / 200
keyword extractor 164 / 300 (54.7 %) 0 / 200
model + record binding 0 / 300 (0.0 %) 0 / 200

The interesting row is the second one. A cryptographically valid signature over the approval stops nothing,
because the approval was never bound to the call that ran. The signature proves who said yes, not what
they said yes to.

The fix is boring: bind the approval to the artefact β€” digest, version, scope, amount β€” and re-check that
binding at execution time, not at signature time. The 0/300 comes from that check, plus a model that compares
the sentence to the call.

What this is not: it is our corpus, our labels, and our harness. We ran it once on the sealed split and
published the earlier runs too, including the ones that looked worse (27 %, then 7 %). Deleting an inconvenient
run is the thing the protocol exists to prevent. False blocks stayed at 0/200, so the gate is not just saying no.

Repo: https://github.com/gamai-io/agent-authz-bench
Protocol and case notes: PROTOCOL.md, docs/CASE_NOTES.md
The signed-commitment side of the same idea: https://github.com/gamai-io/gama-mandate (1,060 tests, zero
runtime dependencies)

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.