Behavior-First AI Edge Risk Mapping
Assess risk where agents, tools, identities, and data connect
- Difficulty
- Moderate
- Time to result
- ~weeks to results
- Steps
- 5
- Confidence
- 94%
Start with the behavior an agent is meant to perform, then map the edges connecting it to identities, APIs, tools, gateways, and data. Each edge changes the practical risk: a model connected only to read-only search is materially different from the same model connected to payment or email-send capabilities. Follow identity through the whole flow because a gateway or MCP server may make a request on another user's behalf. Then inspect what data crosses each connection and decide which edges are allowed, monitored, or blocked. The output is not a static label for the agent. It is a relationship-aware risk map that shows where authority, capability, and sensitive data combine to create exposure.
Origin
Extracted from Code Story: Insights from Startup Tech Leaders
Core principles
- 01Judge an agent by its behavior and connections, not by its label
- 02Treat identity and delegated authority as part of every transaction
- 03Place risk on the edge between an agent and a tool
- 04Include the data flowing through each connection
How to run it
- 1
Define intended behavior
State what the agent should be able to do and what it should never do. Use this behavioral boundary as the baseline for later monitoring.
Pro tip Describe permitted actions as observable transactions rather than broad job descriptions.
- 2
Map reachable capabilities
Inventory the APIs, gateways, MCP servers, tools, and data sources the agent can call. Distinguish read-only capabilities from actions such as payments or email sending.
Watch out Do not assume two deployments of the same model have the same risk when their connected tools differ.
- 3
Trace identity delegation
Follow the identity attached to each request from the original person or agent through gateways and downstream services. Verify that delegated requests retain the original user's authorization boundaries.
Watch out An intermediary identity can hide whether the originating user was entitled to receive the data.
- 4
Inspect edge data
Identify the data flowing through each agent-to-tool connection and determine its sensitivity. Combine capability, identity, and data context when evaluating the edge.
Pro tip Use production transaction flows rather than inventory records alone.
- 5
Control the risky edges
Attach policies, notifications, or blocking rules to connections that depart from intended behavior. Review alerts as the agent's tools and behavior change.
In the wild
Tim Ebbers contrasts the same agent connected to a read-only search API with one able to call payments or an email-send API. Mapping those edges reveals that the model itself has not changed, but its capacity to create consequences has.
→ The team applies stronger controls to action-taking connections instead of assigning one blanket risk rating to the agent.
A person's request passes through an AI gateway or MCP server, where the identity used downstream may change. The team traces the original requester through to the database call and checks whether that person is authorized for the returned data.
→ Delegated access is evaluated against the originating user's entitlement rather than trusted solely because an intermediary service made the request.
Common mistakes
Scoring the model in isolation
A model can move from low to high risk when a tool capable of acting on data is connected to it. Score the relationship, not only the asset.
Ignoring delegated identity
A downstream service identity does not prove that the original requester should receive the data. Trace authorization across the complete flow.
Is it for you?
Best for
It is best for security teams assessing enterprise agents that call APIs, tools, gateways, or sensitive data stores.
Not ideal for
It is not ideal for isolated models with no tools, delegated identities, or access to organizational data.
From the transcript
“the same model becomes high risk as soon as you connect a tool to it that can act on a data source.”
“It's the edge between that agent and the tool that you need to put the risk on.”
“Understanding the behavior first of the agent what you want it to be able to do it what you don't want it to be able…”
From the episode
The AI Control Loop: AI Discovery isn't just AI - with Tim Ebbers of Wallarm
Tim Ebbers