DET-200 · agent · confidence Medium
Labelling Every Action Agent or Human
Require every log entry to say whether a person, an agent, or an agent approved by a person did it.
After an incident, the first question is who did this. If a delete came from an agent running with a user's token, plain logs show only the user's name. This detection makes actor type a mandatory field, written at the time of the action and kept as data moves downstream.
Record the agent ID, instance, model, identity used, the human principal, approval state and channel. Then test for violations: events with no actor type, agent-looking activity under human accounts, and approvals that were clicked by the same identity that requested the action.
- Data sources
- Application audit logsCloud control-plane logsAgent gateway logsSource control audit logs
- Platforms
- AWSSaaSAI PlatformIdentity
Logic
Make actor_type in {human, agent, agent_on_behalf} required in your log schema. Hunt: events where user_agent matches agent frameworks (e.g. python-requests, langchain, mcp-client) but actor_type='human'; or actor_type is null. Alert on both and report coverage per system weekly.False positives
Legacy systems cannot add the field. Track them as accepted gaps with a plan.
Catches 10 techniques
- TAM-A-ACT-001Acting as Someone Else
- TAM-A-ACT-006Agent Used to Steal Money or Value
- TAM-A-ACT-012Getting Data Out Through the Agent
- TAM-A-CVR-005Gaps in the Agent Paper Trail
- TAM-A-DRV-001Agent Left Running Alone
- TAM-A-DRV-008Staff-Side AI Helpers
- TAM-A-RCH-003Agents With Their Own Accounts
- TAM-A-RCH-006Borrowing a Person's Login
- TAM-A-RCH-013Tools Plugged Into the Agent
- TAM-A-STG-003Direct Instructions to the Agent