Skip to content
RasaGet a free license
Menu
Guides for AI teams

Guide

What can your agent’s safety auditor read or change?

Use a fictional booking example to check whether a safety auditor can review a request without reading customer details or changing the booking.

by Rod Rivera

About 4 minutes to readRisk reviewer / domain owner

Key takeaways (3)
  • Review what the agent and its safety auditor are each allowed to do.
  • Give the auditor access only to the fields it needs to make a decision.
  • Check what the auditor received as well as what changed in the saved records.

If your agent asks a safety auditor to review a proposed action, find out what the auditor itself can do. An agent might need to read a customer record while the auditor only needs to decide whether that read is allowed. Write down what each part can access and where you expect a refusal to occur.

Rong and colleagues examined two types of checks in agents that use tools or graphical interfaces. One asks whether an action serves the user’s task. The other assesses the risk of an operation. In the tested systems, actions could fit the task and still cross a permission boundary. The researchers also observed boundary violations involving actions introduced by the audit itself. Preprint, sections 1 and 3.

Inspect both paths through the policy

Part of the systemQuestion to askEvidence to collect
Agent planning the taskDoes this step help complete the request?The reason the agent proposed the action.
Tool asked to execute the actionMay this identity perform the action on this record?The permission decision and resulting record state.
Auditor reviewing the actionWhich reads or writes can the auditor perform while it decides?The auditor’s tool permissions and the calls recorded during a review.

The planner can explain what it wants to do. Collect the access decision where each request reaches the tool. That gives you a record of the auditor’s own permissions even when the original request was refused.

Two identities can reach the execution layer
FigureTwo identities can reach the execution layer

Read-only access can still reveal a record

We used a SQLite database with separate tables for mock booking records and review metadata. A read-only connection let the auditor read both tables and blocked a booking update. When the connection also denied reads of the booking table, the metadata query still succeeded. The booking read and update were denied, and the stored booking rows stayed the same in both cases.

Auditor permissions in the fixtureRead review metadataRead bookingChange booking
Read-only connectionAllowedAllowedDenied
Read-only plus a table restrictionAllowedDeniedDenied

Verify a denial with mock data

Use a test account and mock records. List what the agent and auditor each need to read, write or send. Where the auditor only needs to inspect a record, start with read-only access. Have the execution layer enforce permissions for both paths, even when a proposed action seems relevant to the user’s request.

Check what a refusal left behind

Choose an operation that policy forbids and inspect its outcome. A refusal message alone tells you what the agent said. Check what the auditor received and compare the stored record with its initial state. Then run an allowed task and confirm it still completes.

Save the evidence for sign-off

Show what to save from the two permission checks

Save the identity that made each request, the permission decision, the data the tool returned, and the saved record before and after. In the fictional booking example, the allowed metadata query shows the auditor can still work. The denied booking read and unchanged booking show what the restriction protects.