Scopehaven Request a first test

GUIDES / AI AGENT SECURITY

Guides to testing what your AI agent can see and do

Practical guides for engineering teams shipping AI agents that read customer data or take real actions. Each one covers one question: the checks to run, the normal use that must keep working, and what the evidence can and cannot show.

01 / BEFORE YOU SHIP

Plan the tests and the release gate.

What is AI agent permission testing?

The four parts of a permission test, what it covers, how it differs from evals and red teaming, and what a result means.

Read the definition

How do I test an AI agent before release?

Three kinds of tests, what a pass on each one shows, and a pre-release plan for agents that take real actions.

Read the pre-release guide

Can I test without uploading our data?

Run a local copy with synthetic data, catch email, webhooks and payments locally, and decide how to handle the model call.

Test permissions locally

What should I retest on every release?

Model, prompt, tool and permission changes: rerun the same checks, compare like with like, and block on regressions.

Use the release checklist

02 / PERMISSION BOUNDARIES

Test one boundary at a time.

Can one customer see another's data?

Set up two test tenants and check retrieval, tool calls, caches and concurrent requests, not only the assistant's reply.

Test tenant isolation

Can your agent act without approval?

Test refunds, exports and account changes: role checks inside each tool, approvals bound to one exact action, and the effects that actually happened.

Test tool permissions and approvals

What happens after you remove a user's access?

Test in-flight runs, paused actions, caches and tokens, not only the user's next request.

Test access removal

Permission tests or prompt-injection tests?

What each one checks, where they overlap when injected text reaches a tool, and which kinds of tools cover each.

Compare the two

03 / EVIDENCE

Check what actually happened.

Did your agent do what it said?

Compare each claim with the record: false successes, silent actions, wrong targets and duplicates.

Verify agent actions

Did the fix work?

Rerun the same checks, keep the requests that must still work, and know when a failure counts as repaired.

Prove a fix worked

What should a test report show?

Use a synthetic demo to understand permission rules, observations, evidence limits, and repair comparisons.

Learn how to read the evidence