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