DET-184 · agent · confidence Medium

Checking a Run Stayed Inside Its Approved Scope

Compare everything an agent run touched with the systems, data and tools approved for that run.

Each run should have a stated boundary: which systems, tenants, data classes, tools and time window. This detection captures that scope at the start and checks every read, write and outbound call against it. For orchestrated runs with many workers, it checks each worker and the combined total.

Alert when the run goes outside scope, even by one record. Also look at aggregate reach: ten workers each touching a few extra systems may together exceed what was approved. Scope violations make clean investigation starting points because the boundary is explicit.

Data sources
Agent trace storeTool broker logsCloud control-plane logsDatabase audit logsOrchestrator logs
Platforms
AI PlatformAWSSaaS

Logic

Store scope as {systems, tenants, data_classes, tools, window}. For each event in run_id: flag if system not in scope.systems, tenant not in scope.tenants, tool not in scope.tools, or ts outside window. Also sum distinct tenants and systems per orchestrator run and compare to declared maximums.

False positives

Scope definitions are often too tight at first. Review alerts for scope gaps and tighten gradually.

Catches 7 techniques