AI Security · Oct 14, 2026 · 4 min read
AI detection and response isn't block or allow. It's steer.
Antivirus blocked. EDR flagged anomalies. AI detection and response has to read intent, and its best response is steering the agent, not stopping it.
- #ai-security
- #agents
- #detection
- #edr
AI SecurityAI detection and response is a brand-new category, and we're still arguing about what it is and where it fits. CrowdStrike has started calling it AIDR and pitching it as what comes after EDR. Other vendors are using the label too.
Most definitions so far describe what to watch: prompts, tool calls, MCP traffic. They don't say much about how to decide something went wrong, or what to do about it. I think I've worked out what that should look like. It isn't a smarter antivirus or an EDR with an LLM bolted on. It answers a different question and gives a different kind of response.
The best way to explain it is to start with what came before.
Antivirus: yes or no
Antivirus was simple. A file was either bad or it wasn't. Block or allow, deny or accept. Policy was binary: a list of what's bad and a rule to stop it.
EDR: is this process weird?
EDR moved the question from "is this file bad?" to "is this behavior anomalous?" It watches processes, builds a baseline, adds some machine learning, and flags what doesn't fit. It still blocks and allows, but now it detects too, and someone triages the alert.
Policy in EDR is mostly exceptions. You tune out the noisy-but-legit stuff so the real anomalies stand out.
AIDR: did the agent do what the human meant?
AI agents break both models. An agent can do something harmful without any malicious file or strange process. Every tool call can look normal, and the agent can still be doing the wrong thing.
That's because there's a human behind every agent, and that human had an intent. The detection question isn't "is this bad?" or "is this anomalous?" It's:
Did the agent act on the user's intent?
OWASP's Top 10 for Agentic Applications puts this risk at number one: Agent Goal Hijack (ASI01), where content the agent reads pulls it away from its objective.
If the agent drifted, the follow-up question is what drives your response:
What caused the drift?
- A skill that carried instructions the user never saw?
- An MCP server that returned something the agent took as a command? This is already a known attack. In MCP tool poisoning, first documented by Invariant Labs in 2025, hidden instructions sit in a tool's description. The user never sees them, but the model reads every word.
- A file on the machine (a README, a config, a web page) that redirected it?
Knowing the source of the drift tells you what to fix. You disable the skill, remove the MCP server, or quarantine the file. Without it, all you have is an alert that says "the agent did something weird."
Block, allow, ask, and why that isn't enough
On the response side, the obvious move is to copy EDR: block, allow, and add a third option, ask the human.
Those three have a place. But agents move fast. If every borderline action stops and waits for a person to click "approve," you've rebuilt alert fatigue as a permission prompt. People start clicking yes without reading, or they turn the control off. Either way, security loses.
The fourth option: steer
Most of the time, an agent that's drifting from policy isn't malicious. It just doesn't know the policy. So tell it.
Agent platforms have hooks: points where you can inspect what the agent is about to do and inject context before it does it. Use them to put the policy right into the agent's context at the moment it matters.
Two examples:
- The agent needs a credential. Without guidance, it might scrape the host: environment variables, dotfiles, anything that looks like a key. Instead, the hook sees it heading that way and injects: "Corporate policy is to pull secrets from the secrets manager. Here's how." The agent takes the approved path, and the user's task still gets done.
- The agent needs Google Drive. Instead of an improvised workaround, the hook injects: "The approved way to connect to Google Drive is through this MCP server. Here's how to set it up."
Nothing got blocked and nobody had to click approve. The workflow kept moving, and it moved through the paved road instead of around it.
This isn't hypothetical. In Claude Code, a PreToolUse hook can answer allow, deny, ask, or defer. Or it can skip the verdict entirely and hand the agent context:
{
"hookSpecificOutput": {
"hookEventName": "PreToolUse",
"additionalContext": "Policy: secrets come from the secrets manager, not .env files or shell history. Use the secrets manager CLI instead."
}
}The agent reads that before its next move. That's the whole steering mechanism.
One honest caveat: steering is advisory. The model can ignore it. So steer by default, and keep a hard deny for the lines that can't be crossed.
A new way to define policy
Put the three side by side:
| Antivirus | EDR | AIDR | |
|---|---|---|---|
| Detects | Known-bad files | Anomalous behavior | Drift from user intent |
| Policy is | Binary | Exceptions | Guidance you deploy to the agent |
| Response | Block / allow | Block / allow / alert | Block / allow / ask / steer |
With antivirus you write policy as a verdict. With EDR you write policy as tuning. With AI detection and response, you write policy as knowledge, and you deploy it to the agent so it can follow the policy itself.
Blocking is still there for the actually malicious cases. But the default response should be the one that keeps humans and agents moving in the right direction, and steering does that.
I'll follow this with a deeper look at the detection side: how you'd actually trace an intent deviation back to the skill, MCP server, or file that caused it.