One ambiguous prompt, one destructive command.
An AI agent can cheerfully run rm -rf, curl | sh, npm install <random> or aws s3 rm, sometimes from a single typo, sometimes from a malicious instruction buried in context the model just ingested.
DarkGuard
AI coding agent governance
DarkGuard is the central governance solution for the AI coding agents on your development machines. Set fleet-wide allow, deny and ask rules for every shell command Claude Code, OpenCode, Codex, Copilot and VS Code try to run, and audit every attempt, on every endpoint, in real time.


Claude Code, OpenCode, Codex, Copilot and VS Code don't just suggest commands anymore; they execute them. With your developer's credentials. On your endpoints. Against your repositories. The controls to govern that haven't existed yet.
An AI agent can cheerfully run rm -rf, curl | sh, npm install <random> or aws s3 rm, sometimes from a single typo, sometimes from a malicious instruction buried in context the model just ingested.
Every AI coding tool ships its own permission file, configured per-laptop, per-developer, per-tool. There's no central place to say "engineering can install npm packages, but no one in finance can run apt." So nobody does.
Which machines run AI agents? Which agents tried what last week? Which were blocked, which slipped through? Most security teams genuinely cannot answer these questions today; there is no inventory and no log.
If an AI agent does the wrong thing, security teams need an audit trail to investigate against. Static policy documents don't satisfy NIS2, ISO 27001 or the EU AI Act either; regulators want runtime evidence of human oversight.
DarkGuard sits between your AI coding agents and your operating system. Every command they attempt is matched against the policy you set in a single console, and the verdict, plus a full audit record, lands on your security team's screen in real time.
Read-only commands, repo navigation, test runs and your team's pre-vetted tooling clear instantly and silently. Developers feel nothing.
git status · npm test · python -m pytest
For commands that aren't quite blocked but warrant a glance, a package install, a system change; DarkGuard escalates to a real person before the AI proceeds.
npm install <new package> · sudo apt install …
The dangerous patterns: destructive deletes, piped curls, package poisoning attempts, never reach the shell. The agent is told no, the event is logged, the machine is fine.
rm -rf /* · curl … | sh · aws s3 rm s3://prod
Set rules once in the console. Every endpoint picks them up automatically. No mass SSH, no per-machine drift.
Engineering can have a permissive ruleset. Finance can ban every package install. Contractors can have their own posture entirely.
One rule covers every install variant. npm install, npm i, yarn, pnpm, pip, apt, brew; DarkGuard expands them for you.
Every attempt: allowed, denied, asked, recorded with command, host, IP, service and timestamp. CSV export for SIEM ingestion is built in.
A continuously-scored 0-100 view of license health, rule coverage, agent liveness and governance, with a 12-item checklist auditors recognise.
A single lightweight agent for Windows, Linux and macOS. One-line installer. Self-updating. Revoke any endpoint in one click.
Four capabilities, one control plane - from the instant an AI agent proposes a command to the audit trail your compliance team signs off on.
DarkGuard sits inline with Claude Code, Copilot, Codex and the rest of your toolchain. Every shell command, file write and network call is judged against your policy before it can run - in single-digit milliseconds.
Express intent in plain glob and regex patterns. Rules cascade from organisation to team to repository, so a single deny on destructive commands protects every project at once.
Every verdict streams into a live dashboard. Spot the noisiest repositories, the most-blocked commands and unusual spikes before they ever become incidents.
DarkGuard governs every major AI coding agent and keeps an immutable, time-stamped record of every decision - mapped to the frameworks your auditors already ask about.
Watch DarkGuard intercept a Claude Code agent attempting destructive commands on a developer workstation, escalate the call to a human operator, and record the whole exchange, fleet-wide, in real time.
One-line installer. Windows, Linux, macOS. MDM-friendly.
Allow, deny or ask, by command, package, organisation or department.
Every attempt your AI coding agents make is matched against policy before it runs.
Auditor-ready evidence on demand, centralised.
Tell us what your engineers run and where, and we'll set up a private demo against a representative environment. A real human from DARKDATA will reply within one business day.