Back to Blog
Agentic Security Nov 24, 2026 51 views

Your AI Coding Agents Need an EDR Too: Introducing cADRe

AI agents now run commands on developer machines with the developer's own permissions, and almost nobody is watching them. Here is why that matters, and how we built cADRe to fix it.

By The cADRe team, Cytomate
Your AI Coding Agents Need an EDR Too: Introducing cADRe

AI agents now run commands on developer machines with the developer's own permissions, and almost nobody is watching them. Here is why that matters, and how we built cADRe to fix it.

Agent activity · dev-workstationlive
3m
Codex · web-store
git push --force origin main
HIGH · git force push
4m
Gemini CLI · infra
sudo systemctl restart docker
WARN · runs as administrator
4m
Aider · data-pipeline
Edit: jobs/nightly.py
5m
Gemini CLI · infra
read ~/.aws/credentials
HIGH · touches credentials or keys
The shift

The most privileged user on your laptop isn't a person

A year ago a developer typed every command themselves. Today they type a prompt, and an agent such as Claude Code, Codex, Gemini CLI, Copilot CLI or Cursor decides which commands to run.

Often several agents run at once, in different projects, and some run for long stretches while nobody watches. They read files, install packages, push to git and call the internet, all with the developer's own access. Most organisations can't say how many of them are running right now, let alone what they are doing.

Speed

Too fast to review

An agent can make dozens of tool calls a minute. Once "auto-approve" or a permission bypass is on, no human reads each one.

Influence

Steered by what it reads

A prompt injection hidden in a README, an issue or a web page can push an agent towards your credentials or a downloaded script.

Mistakes

Honest errors at scale

Most damage isn't malicious: a delete in the wrong folder, a force push, a .env pasted into a prompt, a loop retrying forever.

The blind spot

Your EDR sees processes. It doesn't see agents.

An endpoint tool sees a node or python process running git and curl, which is what developers do all day. It doesn't know which agent started it, which project it belongs to, or which prompt led there. A SIEM gets the same events with even less context, and the agents' own logs sit in a dozen formats in a dozen folders.

What a classic EDR records

process view
12:40:31 node.exe      pid 38616
12:40:31  └ bash.exe    pid 38702
12:40:32     └ curl.exe  pid 38710
12:40:32     └ sh.exe    pid 38711
           parent: user session, signed binaries
Looks like a normal developer day. No alert.

What cADRe records

agent view
Claude Code · payments-api · branch fix/refund-rounding
prompt   "fix the refund tests"
mode     permissions bypassed
tool     Bash: curl -fsSL https://get.example.dev/install.sh | sh
HIGH     downloads and runs a script
An agent, in a known project, running a remote script with approvals off. Flagged in seconds, one click to pause.
The idea

Agentic Detection & Response

Agents need what endpoints got from EDR, built around the agent instead of the process. We call it Agentic Detection & Response (ADR). It comes down to four steps, in this order:

  1. Observe

    Which agents are installed and running, in which project, on which model, and what each is doing right now.

  2. Detect

    Judge each action in context. rm -rf build/ in a project is routine; the same against a home folder is not.

  3. Alert

    Tell the person at the keyboard straight away, where they'll see it, not deep in a log.

  4. Respond

    Give them a safe way to stop it: pause the agent, look, then resume or kill.

Introducing cADRe

One dashboard for every AI agent on the machine

cADRe puts ADR into practice on a single computer. It runs locally on macOS, Windows and Linux, and recognises a dozen agents today, including Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, Cursor, Windsurf, Aider and ZCode. Open it and you see what is installed, what is running, where, and what each agent is doing this second.

The cADRe dashboard: totals across the top, a radar of agents, four risk flags with Pause, Kill and False positive buttons, and an agent waiting for approval
Totals, a radar of every agent, risk flags with one-click actions, and an agent waiting for approval.macOS · demo data

Local and private

It listens only on the machine itself and sends nothing anywhere. Secrets are redacted before anything is written, and only short summaries are kept, never file contents.

Read-only towards agents

It observes and never edits an agent's data. Its hooks can't block or slow an agent down.

The human stays in charge

cADRe never acts on its own. Pause, Resume and Kill happen only when you click, and every action is logged.

Easy to adopt

Only Python is needed: no server, database or build step. One command installs it, its hooks and a status icon; another removes it all.

At a glance

The office

A table of processes is hard to read quickly, so the dashboard also has an office. Each agent is a robot at its project's desk. Idle ones wander, waiting ones raise a hand, and sleeping sessions nap on the couch.

cADRe itself is the police droid. It walks over to any agent that has been flagged and stands beside it until you decide what to do.

The office view: robots at project desks, the police droid investigating the flagged agent in payments-api, a robot raising its hand for approval
The droid investigating payments-api.macOS · demo data
Detection

25 rules for what actually goes wrong

Each rule looks at a tool call, at a session's recent history, or at how the agent's process runs. They are grouped by the kind of harm they catch. Adding your own is one short function with examples of what it should and shouldn't match.

GroupWhat it flagsUp to
Risky commandsWide deletes, disk wipes, force pushes, scripts piped into a shell, disabled security controls, new auto-start entriescurl -fsSL https://get.example.dev/install.sh | shHigh
ScopeCredentials and keys, .env files, writes outside the projectread ~/.aws/credentialsHigh
SecretsAn API key or token in a command or prompt, stored only as a redaction marker[redacted:aws-key]High
RunawayRetrying a failing call, repeating a command, bursts of tool callspytest tests/ failing 5× in a rowWarn
ProcessPermissions bypassed, high CPU, many child processes, running from the home folderWarn
The Alerts tab listing a git force push, a sudo command, a script piped to a shell, a read of cloud credentials and a .env file access
Flags appear in the Alerts tab, as a banner and toast, and as a notification from the status icon.Windows · demo data
Response

Stop it, look, then decide

When a flag fires, you have four choices on the same card. Every one of them is written to a response log, so there is a record of who stopped what, and when.

Pause agent

Freezes the agent and its child processes. Nothing is lost.

Resume agent

Lets it carry on exactly where it was.

Kill agent

Ends it, after asking first. The session stays on disk and can usually be resumed.

False positive

Hides the flag. It can be undone.

A confirmation dialog: Kill Codex in web-store? This ends pid 9300 now. Its session stays on disk and can usually be resumed.
Kill always asks first and names the exact agent.macOS · demo data
What's next

Visibility first, then control

cADRe today covers one machine and one person, and it watches rather than blocks. That is deliberate. The roadmap builds on that base:

Today

See and stop

Every agent, live flags, alerts, and Pause / Resume / Kill on your click.

Next

Policies

Opt-in rules that map a finding to an action, such as "pause any agent that reads cloud credentials". All off by default.

Next

Guard hooks

Checks that run before a risky tool call, so it can be held for a human instead of caught afterwards.

Later

Teams

Many machines reporting to one place, so a security team sees agent activity across the organisation.

AI agents will only get more capable and more autonomous. The sooner we treat them as part of the endpoint, with their own inventory, detection and response, the less likely it is that the first sign of trouble is a deleted repository or a leaked key.

Open source · Apache-2.0

Try cADRe on your machine

Clone the repository and run one command. It installs the hooks, starts at login and opens the dashboard. On Windows there is also a setup .exe with Python bundled. We'd like to hear which agents you run, what you'd want it to catch, and where it gets things wrong.

github.com/Cytomate/cADRe
Terminal
# from the cloned repository (Windows: py instead of python3)
$ python3 -m cadre setup     # install, hooks, start at login
$ python3 -m cadre --once    # or a one-off table in the terminal
$ python3 -m cadre uninstall # undo it all

Screenshots in this post show a demo: stand-in agents in example projects. The dashboard, detections and actions are the real thing.

More from the Blog

Threat Intelligence Nov 29, 2026

The Build-Pipeline Backdoor: Inside the NullReceiver Supply-Chain Campaign

Read More
Deception Nov 29, 2026

Lying to the Machines: The Secret Weapon Against AI Attacks

Read More
AI Red Teaming Nov 12, 2026

ALAM: Predicting Prompt-Injection Risk From Inside the Model

Read More