The AIDR field guide. Agent security in plain words.
What AI Detection & Response is, how coding agents get attacked, and exactly what AIDR looks for. No forms, no gated PDFs.
What is AI Detection & Response?
AIDR is to AI agents what EDR is to laptops: continuous visibility into what they do, the power to stop a harmful action, and the evidence to investigate afterwards.
A coding agent is a new kind of actor on a developer machine. It reads files, runs shell commands, calls tools on MCP servers and fetches pages from the web, all with the developer’s own credentials and at machine speed.
Existing controls weren’t built for that. Endpoint security sees a shell command, but not the conversation that led to it. Code review sees the diff, but not the .env file the agent read along the way. And because an agent takes direction from text, a harmless-looking web page can turn into an instruction.
AI Detection & Response closes the gap by watching agents where their decisions turn into actions: the tool call. It has four jobs.
Respond
Stop a forbidden tool call before it runs, or hold it until the developer approves.
Detect
Review each session for risky behavior and name the technique behind it.
Investigate
Give analysts the transcript, the evidence and a place to record the verdict.
Govern
Know which AI tools, models and MCP servers are in use, and on which machines.
How agents get attacked
AIDR names every finding with one taxonomy: 10 tactics and 56 techniques. The 17 ADR techniques come from Uber’s open-source Agentic AI Detection and Response project; the AIDR ones are ours. The ID is on every alert, rule and inventory finding.
Each technique is mapped to the outside frameworks your auditors use: MITRE ATLAS and ATT&CK, the OWASP Top 10 for LLM and for Agentic Applications, NIST AI 600-1 and 100-2, the EU AI Act, the UK AI Code of Practice, Google SAIF and the MIT AI Risk Repository. In the console, coverage shows which techniques your rules stop, which detection sees and which the inventory finds. Items AIDR leaves out on purpose, such as an attacker’s own research or how a model is trained, are marked out of scope, with the reason.
Initial compromise 10 techniques
Getting instructions, code or components into the agent’s environment.
- ADR.T0001
- Insecure supply chain for agentic componentsA compromised dependency, plugin or model file that the agent relies on.
- ADR.T0002
- Indirect prompt injectionInstructions hidden in data the agent reads: a web page, an issue, a file.
- ADR.T0003
- Agentic control-flow hijackingChaining tool calls that are harmless one by one into a harmful workflow.
- ADR.T0006
- Tool rug pullA tool that passed review, then quietly changed what it does in an update.
- ADR.T0012
- Unvetted MCP server connectionAn agent connecting to an MCP server nobody reviewed.
- AIDR.T0101
- Direct prompt injection and jailbreaksSomeone with access to the prompt tells the model to ignore its instructions or safety training.
- AIDR.T0102
- Tool poisoningA tool’s description or responses carry hidden instructions for the model.
- AIDR.T0103
- Poisoned repository instructionsInstructions planted in files an agent reads as configuration, such as CLAUDE.md, AGENTS.md or a README.
- AIDR.T0104
- Hallucinated or typosquatted package installThe agent installs a dependency whose name it invented or misspelled.
- AIDR.T0105
- Agent clickbait and crafted assistant linksLinks and pages built for an agent to follow, or links that open an assistant with a malicious prompt filled in.
Execution 5 techniques
Running code or commands through the agent.
- ADR.T0004
- Abuse of the agent’s code interpreterGetting the agent to run malicious code through its own execution tool.
- ADR.T0005
- Insecure output handlingOutput that harms a downstream system that trusts it, such as injected script.
- AIDR.T0106
- Unsafe shell commandPiping a download into a shell, running decoded text, sudo, world-writable files, privileged containers.
- AIDR.T0107
- Sandbox or host escapeLeaving the boundary the agent was given: the container, the sandbox or the workspace.
- AIDR.T0108
- Persistence via hooks, startup files or scheduled jobsMaking something run again later: shell startup files, git hooks, cron, systemd, the AI tool’s own hooks.
Permission & identity abuse 5 techniques
Using or widening access beyond the task.
- ADR.T0007
- Exploitation of excessive tool permissionsA tool with broader access than it needs, turned against the systems behind it.
- ADR.T0008
- Agent identity spoofingStolen or forged agent credentials, used to inherit the agent’s permissions.
- AIDR.T0109
- Human-approval bypassAuto-approve modes, allow-lists widened to everything, or so many prompts that nobody reads them.
- AIDR.T0110
- Delegated privilege escalationA less trusted party gets a more privileged agent or tool to act for it.
- AIDR.T0111
- Human-agent trust exploitationThe agent talks a person into approving something harmful, with false urgency or confident wrong reasons.
Credential access 3 techniques
Secrets reaching the agent or the model.
- AIDR.T0112
- Secrets read by agentCredential material the task didn’t need: .env files, cloud credentials, SSH and GPG keys, kubeconfigs.
- AIDR.T0113
- Credentials from agent or MCP configurationAPI keys kept in plain text in AI tool and MCP server configuration.
- AIDR.T0114
- Secrets exposed in prompts, transcripts or codeTokens pasted into a prompt, returned into a transcript, or written into files that get committed.
Discovery 2 techniques
Mapping the agent and what it can reach.
- AIDR.T0115
- System prompt and agent configuration discoveryExtracting the system prompt, tool definitions or configuration to learn the guardrails.
- AIDR.T0116
- Environment and resource enumeration via agentMapping what the agent can reach: cloud roles, hosts, repositories, databases, other agents.
Security control bypass 7 techniques
Slipping past the checks that should catch it.
- ADR.T0009
- Tool shadowingA malicious MCP server defining a tool with the same name as a trusted one.
- ADR.T0010
- Tool hallucination manipulationConvincing the agent that a tool which doesn’t exist is real.
- ADR.T0011
- Malicious agent collusionAgents that look harmless alone, coordinating to get around controls.
- AIDR.T0117
- Prompt obfuscationInstructions hidden from people but read by the model: encodings, invisible Unicode, text in images.
- AIDR.T0118
- Delayed or triggered instructionsInjected instructions that wait for a keyword, a date or a task, so the harm happens elsewhere.
- AIDR.T0119
- Disabling security controls or audit trailRemoving hooks, skipping commit checks, clearing logs, stopping security tools.
- AIDR.T0138
- Remote access channel opened via agentA tunnel, reverse shell or SSH forward that opens a way in or out around the firewall.
Reasoning & data manipulation 7 techniques
Corrupting what the agent knows or believes.
- ADR.T0013
- Semantic data poisoningSubtly corrupted sources that skew the agent’s decisions over time.
- ADR.T0014
- Long-term goal hijackingSlowly steering an agent’s memory or goals across many interactions.
- ADR.T0015
- Temporal data attackManipulating the timing or order of tool results rather than their content.
- AIDR.T0120
- Memory and context poisoningFalse content written into an agent’s memory or notes, so later sessions trust it.
- AIDR.T0121
- Self-replicating promptAn injected prompt that copies itself into new content, so it spreads to every agent that reads it.
- AIDR.T0122
- Model or training-data poisoningA model trained on manipulated data, or altered after training, that carries a backdoor.
- AIDR.T0123
- Misinformation and overrelianceConfident but wrong output, such as invented APIs or insecure code, that people act on unchecked.
Exfiltration 5 techniques
Data leaving through the agent.
- AIDR.T0124
- Exfiltration via agent tool callData leaving through a tool the agent may use: an HTTP request, a fetch, a git push, a message.
- AIDR.T0125
- Exfiltration via rendered outputA markdown image or link whose URL carries data, sent when the client renders it.
- AIDR.T0126
- Sensitive data sent to an external AI providerCode or customer data sent to a provider nobody approved for that data.
- AIDR.T0127
- Model extraction and privacy attacksQuerying a model to recover its training data or to replicate it.
- AIDR.T0139
- Data collection and staging via agentFar more data than the task needs, gathered in one place: an archived home directory, a whole-database dump.
Operational impact 5 techniques
Harm to systems, data and budgets.
- ADR.T0016
- Agent-facilitated resource exhaustionUsing the agent to flood internal systems with work.
- ADR.T0017
- Model-layer denial of servicePrompts built to make the model burn a disproportionate amount of compute.
- AIDR.T0128
- Destructive action via agentRecursive deletes, force pushes over shared history, dropped tables, infrastructure teardown.
- AIDR.T0129
- Cascading failure across agents or pipelinesOne agent’s mistake spreading through CI, deployments or other agents that trust its output.
- AIDR.T0130
- Cost harvesting and denial of walletRunning up model or cloud spend with stolen keys, loops of expensive calls or token-heavy prompts.
Governance & compliance 7 techniques
AI use the organization hasn’t approved or can’t account for.
- AIDR.T0131
- Shadow AIAI tools, models, extensions or MCP servers in use that nobody reviewed or approved.
- AIDR.T0132
- Exposed or misconfigured AI serviceMCP servers listening on every interface, local model servers without authentication.
- AIDR.T0133
- Personal data processed without basisPersonal data sent to a model without a lawful basis or the safeguards the organization promised.
- AIDR.T0134
- Untraceable agent actionsActions with no record tying them to a person, an agent and an approval.
- AIDR.T0135
- Rogue agentAn agent acting outside its mandate: unapproved means, hidden actions, ignoring a stop.
- AIDR.T0136
- Insecure inter-agent protocol useAgents talking without authentication or integrity checks, so messages can be forged.
- AIDR.T0137
- Unverified model provenanceModels whose origin, license and integrity are unknown, including files that run code when loaded.
What the rule packs stop
The library holds 129 blocking rules in 9 packs. 40 block outright. The other 89 ask the developer first, because a force push or a DROP TABLE is sometimes exactly the job.
You adopt rules by copying them into your policy, then edit them like your own. When the library changes, the console shows the difference and nothing updates until you accept it. Every rule ships with examples that are run through the real engine before each release.
Credentials and secrets
Token and password files, GPG and keychain secrets, commands that print access tokens or fetch secrets from a manager, Terraform state, browser cookies and logins, private keys, and API keys written into files.
~/.netrcgh auth tokenterraform.tfstategpg --export-secret-keysvault kv get
Sensitive files protection
Keeps SSH keys and cloud credentials from being read, asks before .env files are read, and guards the files that give persistent access: authorized_keys, shell startup files and system configuration under /etc.
~/.ssh/id_rsa~/.aws/credentials.env~/.ssh/authorized_keys~/.bashrc
Destructive operations
Data loss and teardown: SQL drops and mass deletes, recursive deletes of system directories, disk wipes, destructive git commands, cluster and cloud deletes, container and database cleanup, and infrastructure destroy.
DROP TABLEgit reset --hardkubectl delete nsterraform destroydocker volume prune
Data exfiltration and network access
Uploads to paste sites and request catchers, tunnels and raw sockets, curl and scp uploads, archives of home directories, whole-database dumps, pushes to unfamiliar git remotes, the cloud metadata service, and fetches by bare IP address.
0x0.stwebhook.sitengrok httptar czf x.tgz ~/.ssh169.254.169.254
Dangerous shell patterns
Commands that run unreviewed code, destroy data or widen access: piping downloads into a shell, recursive deletes of a home or root directory, forced git pushes, sudo, world-writable files, privileged containers and infrastructure teardown.
curl … | shbase64 -d | shrm -rf ~git push --forcechmod -R 777
Supply chain and untrusted code
Package installs from unusual registries, indexes and URLs, downloads run as code, programs started from /tmp, scripts that load code from other sites, and publishing packages or images.
pip install --index-urlnpm i git+https://…/tmp/a.outnpx -ynpm publish
Persistence and privilege escalation
Cron, launchd and systemd changes, sudoers and ssh configuration, new local and cloud accounts, setuid bits, kernel modules, reverse shells, cryptominers and docker mounts that hand the host to a container.
crontab -e/etc/sudoersLD_PRELOADdocker run -v /:/hostnc -e /bin/sh
Agent self-protection
Edits to the agent’s own permission settings, instructions and MCP servers, stopping AIDR, editor and git hooks that run code later, CI configuration, hijacked binaries and risky GitHub administration.
.claude/settings.json.mcp.json.git/hooks/pre-commitgit commit --no-verifysystemctl stop aidr-engine
Defense evasion and log tampering
Deleting system logs and shell history, switching off the firewall, auditing, SELinux or macOS protections, and killing security tools.
history -cjournalctl --vacuum-timesetenforce 0pkill falco
Session review has its own built-in checks in the platform, run on every transcript in under 5 ms: destructive commands, secret access, piped installers, exfiltration, prompt injection and calls to MCP servers that aren’t in your registry.
Glossary
The words you’ll meet in the AIDR console, and what each one means.
- Machine
- A developer workstation or server with the AIDR engine installed.
- Engine
- The AIDR service on a machine. It decides tool calls from your signed policy, redacts, and sends records.
- Broker
- An optional relay you run in your network. Machines talk only to it; it can pause uploads but can’t read them.
- Host group
- A set of machines with their own rules and settings. When groups disagree, the stricter setting wins.
- Session
- One conversation between a developer and an agent, as a transcript.
- Tool call
- One action inside a session: a command, a file read or edit, an MCP tool.
- Blocking rule
- A rule the engine enforces before a tool runs. It either blocks the call or asks the developer.
- Live decision
- A tool call your policy blocked or asked about, recorded as it happened. Routine allows aren’t stored.
- Exception
- A narrow carve-out from a rule, with a reason, a hit count and an optional end date.
- Detection
- One tier’s verdict on a session: rules, triage or reasoning.
- Alert
- A finding for an analyst, with severity, priority and evidence.
- Case
- Related alerts grouped together, with notes and a closing verdict.
- Severity and priority
- Critical to info, derived from confidence, tactic and technique; priority P0–P3 sets the response target.
- Verdict
- An analyst’s label: true positive, false positive, benign or inconclusive.
- AI asset
- An AI tool, model, MCP server or service in use, with its status: discovered, sanctioned, tolerated, blocked.
- Scan
- A read-only look at a machine for AI tools: names and versions, never file contents.
- Drift
- A change to an agent’s setup on a machine, such as a new MCP server or hook.
- Enrollment token
- The one-time token that binds a machine to your tenant.
Get started
Enroll one machine, adopt one rule pack, and watch the next matching call get stopped.