DET-209 · agent · confidence High
Planting Traps for Agents
Seed fake credentials, files, records and tool endpoints that no legitimate agent should ever use, and alert on any touch.
Decoys give very clean signals. A fake API key in a wiki page, a decoy service account, a canary document in a retrieval index, or a bait MCP tool that no workflow calls should never be used. If something does use it, an agent has been steered off its job or its credentials were taken.
Place each decoy where an agent could plausibly find it: shared drives, vector indexes, memory stores, repos, tool registries. Record the owner and the expected access policy so a hit is easy to triage. Hits are high confidence because normal work never reaches them.
- Data sources
- Canary token serviceCloudTrailRetrieval index logsMCP server logsIdentity provider logs
- Platforms
- AI PlatformAWSSaaSIdentity
Logic
Create honey IAM keys, a canary file in each retrieval corpus, and a dummy MCP tool named like a high-value tool. Alert on any event where requestParameters or document_id matches the decoy list. Example: eventName=GetCallerIdentity AND userIdentity.accessKeyId IN (honey_keys). Page immediately and snapshot the run's context.
False positives
Vulnerability scanners and backup crawlers may touch decoys. Exclude known scanner identities.
Catches 10 techniques
- TAM-A-ACT-007Breaking Out of Its Box
- TAM-A-ACT-012Getting Data Out Through the Agent
- TAM-A-CVR-005Gaps in the Agent Paper Trail
- TAM-A-CVR-006Hiding in Normal-Looking Traffic
- TAM-A-RCH-002Agent's Way Out to the Internet
- 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-004Dormant Orders in Memory
- TAM-A-STG-007Hostile Text in Content the Agent Reads