Resources

ACCESS & AI SYSTEMS / TELHAWK GUIDE

AI Agent and MCP Security Audits

Audit what an agent can access and do through its tools. Follow identity, permissions, and data boundaries from the person making the request to the system carrying it out.

An agent is a system with access to other systems.

Model instructions are only one part of the review. An agent may call an MCP server, query an API, read a repository, retrieve documents, or trigger a business action. Its security depends on what those connections permit and which controls enforce the intended limit.

Build the review scope around the tool catalog, callable endpoints, credentials, customer or tenant context, sensitive data, and approval requirements. Include the underlying tool implementation where available. A narrow prompt does not compensate for an API that returns every customer’s records.

FOLLOW AUTHORITY THROUGH THE WHOLE CHAIN
01Person

Which customer, role, or tenant is requesting the action?

02Agent

What instructions and untrusted inputs influence its choice?

03Tool or MCP server

Which credential and permissions execute the call?

04API and data

Which backend control enforces the original user’s boundary?

A boundary must be enforced where data is accessed or an action is executed.

Check whose authority actually executes the call.

The requesting user and the tool’s execution identity can differ. A support user may ask for a single invoice while the export tool runs with broad service credentials. The security question is whether the underlying operation still enforces that user’s permitted scope.

Trace the actor, action, resource, fields, and controls through the full chain. Review both reads and writes. Administrative changes, customer exports, account actions, and cross-system operations may need stronger role checks or explicit approval than routine retrieval.

Galen’s code-path and permission evidence can support review of those implementation boundaries. A managed engagement can define additional runtime observations and confirmation appropriate to the connected systems.

Measure what untrusted input could make reachable.

Prompt injection matters when untrusted content changes the agent’s behavior. The impact depends on the tools and permissions behind that behavior. A model producing an unwanted sentence and an agent exporting protected data are different security outcomes.

Review retrieved text, documents, tool responses, and other untrusted inputs alongside the actions the agent can request. Sensitive operations should rely on backend authority and approval checks, rather than an instruction asking the model to remember a restriction.

Scale the review around shared boundaries.

For a fleet of agents, begin with an inventory: which agents use which tools, credentials, data sources, and execution environments? A shared tool or permission change may affect several workflows, even when only one agent’s instructions changed.

Group review by the controls that are reused: tenant scoping, role enforcement, export approval, data filtering, and logging. Give the relevant path a clear owner. Preserve the versions and identities used during review so a later change can be compared with the right context.

Use a repeatable release check: identify changed connections and permissions, review the affected paths, examine high-impact actions, and recheck submitted fixes. Keep tool-call logs and attribution available for operational investigation. These are review practices; they should not be mistaken for a claim that a single code scan provides runtime monitoring of the entire fleet.

Re-evaluate the boundary after the change.

A correction may narrow a tool’s credential, enforce the caller’s tenant, filter a response, or require approval before a sensitive action. Confirm where that control is applied and whether another route still reaches the same operation with broader authority.

Preserve the finding, affected tool or API, correction objective, and validation outcome. For service coverage, see the AI Agent Security Audit. For Telhawk-led scoping and review, explore Managed Audit.

PUT THE EVIDENCE TO WORK

Understand the finding.
Make the next decision.

Explore Galen Security Checking code as you build? Explore Policy