
10 Actions Your EDR May Allow an AI Coding Agent to Perform
EDR asks “is this malicious?” Coding agents require “is this action allowed for this actor?” Ten high-impact actions that often pass threat detection unchanged.
10 Actions Your EDR May Allow an AI Coding Agent to Perform
CrowdStrike, Microsoft Defender, and other EDR/XDR platforms are essential — they are optimized for threat detection and response. Autonomous coding agents introduce a different question: authorization for legitimate software performing unintended actions.
Below are ten actions commonly allowed in enterprise environments because the process is trusted, the user is trusted, or the behavior matches developer activity — even when the autonomous actor should not perform them.
The list
- Read
~/.ssh/id_ed25519— Trusted IDE or terminal child process; no malware signature. - Export AWS credentials from
~/.aws/credentials— Same user context as daily work. - Run
curlto an unknown external host with repo context in headers — Looks like debugging. - Invoke MCP tool that wraps local shell — Parent process chain appears normal.
- Bulk read
.envandsecrets.yamlacross monorepo — File access under developer ACLs. - Run
kubectl deleteagainst a production namespace — Authorized kubeconfig on laptop. - Clone an internal repo to /tmp and archive — Git operations are baseline dev activity.
- Modify CI configuration to add exfiltration step — Commit looks like automation improvement.
- Disable local security agent (attempt) — May alert eventually; agent retry loops differ from ransomware TTPs.
- Spawn subprocess with inherited environment — Full env includes tokens the agent did not need for the task.
Why EDR is not the wrong tool — it is the wrong question
| Control plane | Question |
|---|---|
| EDR / XDR | Is this process or behavior malicious? |
| AI agent control | Is this action allowed for this autonomous actor on this resource now? |
Both belong in the program. Conflating them leaves a gap exactly where coding agents operate: fast, legitimate, over-privileged actions.
What security teams do instead
- Keep EDR for threat workflows.
- Add execution enforcement at action time: ALLOW / BLOCK / AUDIT with human vs agent attribution.
- Start with Audit Mode to see which of the ten show up in ordinary sprint work.
Compare control models: /comparison. Measure exposure: /offers/ai-agent-exposure-assessment.