Skip to content

AI agent security

Agents Secure Binding

ASB checks whether an AI agent's signed permission applies to the current connection.

Direct-Agent v1.1.1 is supported. ASB v2.0.0-rc.2 is a prerelease.

A valid signature is not enough

A signed permission can be genuine but belong to a different agent or task. A service needs to check that it applies to the connection it is accepting.

The service decides what is allowed

ASB verifies the agent's identity against the receiving service's rules. The service still decides whether to allow an action.

How the signatures are checked

The authority signs an Identity Grant defining the agent's delegated scope. The authorized agent key signs a Session Binding Statement for that grant and session. The endpoint key authenticates the accepted TLS or exported-authenticator endpoint.

The verifier checks both signatures, the session binding, and local policy. It records replay state before accepting the identity.

Current specification · PDF

Code and tests

The Go integration and security tests are public. The tests check rejection of reused proofs, substituted permissions, and mismatched keys or connections.

ASB is an independent project, not an adopted standard or a complete security system.

Implementation coverage and limits

The Go integration verifies JWT/JWS and session bindings. CWT/COSE has reference-adapter tests. Tests also cover local-policy checks and cache misuse.

Gateways need separate route binding and runtime integration. Human-coordination and least-privilege features on the current branch remain experimental or preview; they are not in v2.0.0-rc.2. Release tags identify shipped code.

Verification report · Security tests

Connection checks, step by step

Matching and mismatched interactions

Matching interaction

grant and live session match
  1. 1. Authority Signs the Agent's Identity Grant. Identity Grant
  2. 2. Agent Opens the accepted session. live session
  3. 3. Agent → Verifier Binds the exact grant to that session. Session Binding Statement
  4. Result: ACCEPT

Replayed or substituted evidence

valid signature, wrong session
  1. 1. Attacker Replays a binding or substitutes a grant. old / wrong grant
  2. 2. Attacker → Verifier Presents the proof in another session or context.
  3. 3. Verifier Finds a grant, key, session, or policy mismatch. local policy
  4. Result: REJECT