An AI agent that can call tools can change records, send information, spend money, and trigger other systems. Its security design has to govern those actions, including the actions it takes after reading something an attacker controls.
At Sectigo Labs, we start with the boundary where a proposed action reaches a tool or service. The service needs to establish who is acting, whose authority they carry, whether that authority covers this request, and what evidence to retain.
Give the running agent an identity
A useful agent identity connects the running workload to an accountable operator. It should be possible to verify possession of the relevant key and understand how the identity was issued.
Short-lived credentials reduce the duration of access. Workload attestation can add evidence about the environment receiving the credential. Both need an operational process for issuance, renewal, and revocation.
An authenticated agent can still make a harmful request. It may misunderstand a task, use stale context, or follow instructions embedded in a document. Identity helps us attribute and control an action. The content of that action still needs authorization.
Preserve the delegation
When a person or organization lets an agent act, the grant should identify the permitted operations, resources, audience, limits, and expiry. That authority needs to remain visible as the request moves through gateways, tools, and other agents.
A downstream agent should receive only the authority needed for its part of the task. Each delegation should narrow the grant or preserve its limits. Delegation must never increase authority just because another service has joined the chain.
We prefer credentials that are bound to the presenting party's key where the integration supports them. Copying a credential should not be enough to use it from another client.
Check the exact request at the tool boundary
The service carrying out an action must enforce its own policy before the action happens. It needs to check the operation, tenant, resource, destination, and any values that matter to the decision.
Consider an agent authorized to refund an invoice. Permission to use the billing tool is too broad. The decision may depend on the invoice, the amount, the currency, the destination account, and whether a person must approve it.
These checks belong outside the model's conversational instructions. A prompt can tell an agent to stay within a limit, but the service must reject a request that exceeds it. A tool response or retrieved document cannot grant new authority.
Bind human approval to the action
For a consequential action, the approver needs the details that determine its impact. “Approve this agent” gives too little information. A useful approval shows what will change, for whom, by how much, and under whose authority.
The approval should be bound to those details. If the destination account or amount changes, the old approval must fail. Approval also needs a lifetime and an eligible approver.
Before execution resumes, the service must check that the agent still has authority, that the request matches the approved action, and that the approval remains valid. Retries must be designed so the same approved request cannot accidentally produce duplicate effects.
Make access stoppable
Teams need to be able to suspend an agent, withdraw a grant, or block a compromised integration. That change must reach the points that enforce access.
We test what happens to queued actions, cached decisions, and work waiting for approval. A stop control needs a measured propagation time and a defined failure mode. For protected operations, our starting position is to deny execution when current authority cannot be established.
Credential expiry and revocation solve different operational problems. A short lifetime limits exposure over time. Revocation provides a way to respond before that lifetime ends.
Keep evidence that can answer an incident question
A useful action record links the initiating principal, the agent, the delegation, the policy decision, any approval, and the observed outcome. Correlation must survive the hops between services.
Signed receipts can help different parties verify the origin and integrity of a record. Their value depends on what was actually recorded, which keys signed it, and how those keys are managed.
The record should also distinguish a requested action from an executed one. An approval or a successful policy check does not prove that the downstream operation completed. Evidence must follow the result far enough to make that distinction clear.
Test the paths that should fail
We test expired and revoked authority, incorrect audiences, altered parameters, replayed requests, tenant mismatches, and attempts to reuse an approval for a different action. We also test unavailable policy services and stale revocation state.
For model-driven workflows, we add hostile documents and tool responses to the evaluation. We look at both the model's behavior and the enforcement result. A system should reject an unauthorized action even when the model proposes it confidently.
This approach gives us concrete questions to test: can the agent prove its identity, can the service verify its authority for this action, can a person intervene, can access be stopped, and can the team reconstruct what happened? Those answers determine whether we are ready to give an agent more responsibility.