name: agent-identity-verification description: Verify agent identities with signed credentials before granting actions so unauthenticated agents cannot act. metadata: source: skills/14-security/agent-identity-verification.md category: 14-security version: "v1"
Agent Identity Verification
Description
Verify agent identities with signed credentials before granting actions so unauthenticated agents cannot act. The procedure is constrained by explicit inputs and acceptance criteria rather than best-effort judgment alone.
When to Use
- A task requires agent identity verification before downstream steps can proceed safely.
- Ambiguity or missing evidence would change the outcome.
- The result must be recorded with reasons and evidence for later verification.
Inputs / Outputs
| Area | Contract |
|---|---|
| Inputs | Task context, candidate inputs, and explicit acceptance criteria for agent identity verification. |
| Outputs | A decision or artifact with recorded reasons, rejected alternatives, and verification evidence. |
| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |
Procedure
- Define the goal, the constraints, and the boundary of what this procedure may change.
- Inventory the available inputs and flag gaps or ambiguities that block progress.
- Execute the agent identity verification steps in a bounded, checkpointed way.
- Compare the actual outcome against the expected outcome and record deviations.
- On failure, apply the declared fallback path, and never widen permissions to recover.
- Emit a structured result with evidence and provenance for downstream consumers.
Runnable Example
# Agent Identity Verification: deterministic check
def check_budget(estimate, limit):
if estimate > limit:
raise ValueError("estimate %s exceeds limit %s" % (estimate, limit))
return "approved"
assert check_budget(3, 5) == "approved"
try:
check_budget(7, 5)
raise AssertionError("should have raised")
except ValueError:
print("guard held")
Failure Modes
- Acting outside the declared task boundary.
- Assuming an estimate or preview equals the verified effect.
- Retrying without preserving state or evidence.
- Using stale inputs as if they were current.
- Reporting success without checking the resulting state.
Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result.
Evidence
Agent identity and delegation verification is an active 2026 agentic security workstream. These are dated public signals, not adoption metrics.
Related
- jwt-validation.md
- session-management.md
- permission-checking.md