TAM-A-DRV-002 · Agent · Drive: Why it happens

Agents Started by an Event

An agent that wakes up when something happens, like a click, a webhook or a batch job, instead of when a person asks it to.

Event-driven agents run because a trigger fired: a form was submitted, a ticket arrived, a payment webhook landed or a nightly batch started. The person or system that caused the trigger may have no idea what the agent will then do.

That gap matters. Anyone who can cause the event can influence the agent, sometimes without any account at all. A public form, an inbound email or a spoofed webhook becomes a way to start work with the agent's permissions.

It is hard to spot because the audit trail often shows only the agent acting, not the outside input that woke it and shaped what it did.

What it looks like

  • A support-ticket agent triggers on every new ticket, and an attacker files one that tells it to export the customer table.
  • A GitHub issue webhook starts a coding agent that opens a PR containing the issue author's payload.
  • A nightly batch agent processes a poisoned CSV and emails results to an address inside the file.

Variants (3)

TAM-A-DRV-002.1Wakes Up for Batch Jobs+

The agent processes a queue or file set on a schedule.

Batches give the agent large amounts of untrusted data in one go, so one bad record can steer many actions. Failures are often noticed late. Check input sources, batch sizes, per-item error handling and whether results are reviewed before they land in production. Alert on batches that suddenly grow or arrive from a new source.

TAM-A-DRV-002.2Wakes Up on a Webhook+

An outside system sends an HTTP event that starts the agent.

Anyone who can forge or replay the webhook can steer the agent. Missing signature checks and shared secrets make this easy. Review webhook auth, source IPs, replay protection, and whether payload fields flow straight into the agent's instructions. Compare webhook volume against the real events at the sending system.

TAM-A-DRV-002.3Wakes Up on User Action+

A person doing something ordinary, like saving a file or posting a comment, starts the agent.

The user may not know an agent is listening. The agent may also act with broader rights than the user holds. Compare the agent's privileges to the triggering user's, and look for actions the user could not have done themselves. Review which everyday actions are wired to agent runs.

Detections (5)

Controls (5)