AI agents

Available

Irreversible agent action in production

A cleanup agent decides a production backup is stale and calls delete. The runtime gate evaluates the action outside the model and returns a CHALLENGE.

The scenario

A cost-optimisation agent runs nightly to find unused cloud resources and remove them. It has done well: hundreds of idle volumes, forgotten load balancers and empty buckets gone, with a tidy report each morning. Tonight its heuristics classify a storage bucket as stale. No object has been written in ninety days and its tags are empty. The bucket is the quarterly backup for the billing database; it is written to four times a year, and the tag that would have said so was lost in a migration.

The agent selects the delete tool. Its role permits the action: the team that set it up granted broad delete rights because enumerating every resource type felt like busywork. There is no human in the loop, because the agent was built to remove the need for one. Nothing in the pipeline distinguishes deleting an empty test bucket from deleting the only copy of a financial backup. Both are one tool call, and the model is equally confident about both.

Why it happens

  • Autonomy is granted for the easy cases and inherited by the hard ones. An agent trusted to delete idle volumes holds the same authority when it meets a backup.
  • Impact is a property of the resource, not the verb. Delete is routine; delete on this resource is catastrophic. A permission system sees only the verb.
  • Permission is not authorization. The role says allowed. Nobody has asked whether this principal should have this effect on this resource, right now, with nothing standing behind it.
  • Approval was designed out. The agent exists to remove toil, so there is no approval step to fall back on when certainty is low.

How TrustIvan helps

The gate, the CHALLENGE verdict and the access grants that answer it are built. What the gate decides over is declared rather than discovered: an operator entitles the agent's tools and classifies the resource, and connectors list only Amazon Bedrock agents and Vertex AI Agent Engine deployments, both off by default; any other agent is registered by an operator.

  • Classify the resource by impact. An operator marks the resource, and a mutating action against a high-impact one is recognized as such before it runs. A resource nobody classified is not silently treated as harmless.

    Available
  • Return CHALLENGE, not only ALLOW or DENY. When an action is otherwise permitted but high impact and nothing stands behind it, the gate hands CHALLENGE back to the runtime, which stops rather than proceeding.

    Available
  • Let a grant, not a retry, change the answer. An access grant is requested, approved by someone other than the requester and bounded to at most seven days. It is what turns the next attempt into ALLOW; without one the answer does not change.

    Available
  • Keep decision evidence. Every ALLOW, CHALLENGE and DENY is recorded with the principal, the tool, the resource and the rules that fired, and a database trigger makes the record immutable, so an auditor reads what was decided rather than what was later tidied.

    Available
  • Declare the tool entitlements first. Tool entitlements and the resource's impact are what the gate decides over, and an operator declares both. Connectors list only Amazon Bedrock agents and Vertex AI Agent Engine deployments, both off by default; any other agent is registered by an operator. The agent's owner and the bucket's owner are already facts in the graph.

    Available

What the evidence looks like

A challenged action carries the same nine answers as a finding, plus the verdict and the rule that produced it. Illustratively, for the cleanup agent:

Decision CHALLENGE Illustrative action · the verdict is one the gate returns
QuestionIllustrative answer
WhyA mutating action against a resource an operator classified high-impact, with no access grant standing behind it
Whatcleanup-bot (agent) → DeleteBucket → billing-backups-quarterly
WhoPrincipal resolved from the presented runtime credential: cleanup-bot. Agent owner: cloud FinOps team; resource owner: billing platform team
WhereCloud account billing-prod · region eu-central-1
HowScheduled run · role permits delete on all buckets · tag-based staleness heuristic
Blast radiusSole copy of 4 quarterly billing database backups held under a retention obligation
RecommendationGrant scoped to this agent and this bucket, approved by the resource owner; add a retention lock; narrow the agent's delete entitlement to tagged test resources
ActionVerdict CHALLENGE returned to the runtime, which stops · an access grant is requested and cannot be approved by the requester · a lapsed grant stops authorizing when it is next read
EvidenceAction request with arguments · the credential the principal was resolved from · the resource impact an operator assigned · the tool entitlement · the rule keys that produced the verdict
Illustrative finding from a sample environment. Names, counts and timestamps are invented for the example and are not production telemetry.

Secure Every Action

How the decision is evaluated

The same request, evaluated outside the model. A mutating action on a high-impact resource with no grant behind it resolves to CHALLENGE and waits for a grant; DENY is reserved for a principal that is not live or is quarantined, an unusable credential, or a tool nobody entitled.

Available
Agent request cleanup-bot → s3:DeleteBucket prod-backups The model can request an action. The authorization system decides.
  1. Action request s3:DeleteBucket
  2. Principal from the credential not from the request
  3. Credential live · unexpired
  4. Tool entitlement declared by operator
  5. Effect mutating
  6. Resource high impact
  7. Autonomy autonomous
  8. Standing grant none active
Decision
  • ALLOW
  • CHALLENGE
  • DENY
Evidence: mutating_action_on_high_impact_resource and no_active_grant_for_elevated_action. Both route the action to a person. The strictest verdict wins, the rules that fired are named on the decision, and the record cannot be edited afterwards.
Illustrative action · the gate, its rule keys and its verdicts are implemented. Tool entitlements are declared by an operator.

Put approval back in the loop.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.