AI coding agent governance for the public sector
DarkControl AIDR: EDR & Compliance for AI Agents
See how DarkControlAI protects government and public-sector teams from uncontrolled AI coding agents: enforcing policy across sensitive development environments and producing the runtime evidence required by national cyber-resilience mandates.
Proud to be part of the OpenAI Partner Network and a registered member of the Claude Partner Network.
| Timestamp | Hostname | Service | Command | Action |
|---|---|---|---|---|
| 14:32:07 | eng-mbp-014 | Claude Code | git push origin feature/auth-refresh | Allowed |
| 14:32:05 | eng-mbp-014 | Claude Code | npm test -- --coverage | Allowed |
| 14:31:58 | data-ws-031 | Codex | pip install pandas-profiling | Asked: Allowed |
| 14:31:44 | ci-runner-03 | OpenCode | curl -fsSL https://get.example.sh | sh | Denied |
| 14:31:40 | eng-mbp-022 | Cursor | terraform plan -out=tfplan | Allowed |
| 14:31:19 | fin-ws-221 | Claude Code | cat ~/.aws/credentials | Denied |
| 14:31:02 | eng-lnx-007 | Grok Build | rm -rf ./build ../shared/releases | Denied |
| 14:30:51 | data-ws-031 | Codex | sudo apt install postgresql-client | Asked: Denied |
| 14:30:37 | eng-mbp-009 | Antigravity | git status | Allowed |
Works with







- OpenClaw
In the public sector, an AI coding agent is an unaccredited operator.
Claude Code, OpenCode, Codex, Copilot, Cursor, Google Antigravity and Grok Build now execute commands on civil servants' workstations, against systems holding citizen data, social-benefits records and critical-service code. No accreditation regime currently covers what those AIs are doing in the shell.
One prompt, one undocumented action on accredited infrastructure. An AI can install an unvetted package, alter a config in production, or scp data off an accredited host, on a single helpful suggestion. Sovereign-data regulators will not accept "the AI decided".
Per-machine settings don't scale. 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.
No fleet-wide visibility. Anywhere. 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.
NIS2 and ENS expect runtime control, not paper. National cyber-resilience mandates increasingly require demonstrable, real-time oversight of AI tooling on essential-service infrastructure. DarkControlAI produces it, down to the command, the host and the named human who approved.
Allow. Deny. Ask. Audited.
DarkControl sits between the AI agent and the operating system. Each action is compared with your policy before it runs and receives one of three verdicts, which is recorded in the console with the command, the machine and the tool.
| Allow | Read-only commands, test runs and the tooling your team has already vetted run immediately, and the developer sees no difference. |
git statusnpm testpython -m pytest |
|---|---|---|
| Ask | Installing a new package or changing the system waits until a person approves it at the keyboard. |
npm install <new-package>sudo apt install …git push --force |
| Deny | Destructive deletes, scripts piped into a shell and reads of credential files are blocked before they execute. The agent is refused and the attempt is logged. |
rm -rf /*curl … | shaws s3 rm s3://prod --recursive |
One central policy, resolved for each machine.
A policy groups command, file and package rules. You can assign it to the whole organisation, a department, a group of endpoints or one machine, and the console works out which rules apply on each device, giving priority to the most specific assignment.
Balanced engineering baseline
Priority 20 · Assigned to Engineering (department) · Enabled| Kind | Rule | Services | Action |
|---|---|---|---|
| Command | *rm -rf* | All services | Deny |
| Command | *curl*|*sh* | All services | Deny |
| Command | git push --force* | All services | Ask |
| File | **/.env* · Read & write | Claude Code, OpenCode, Codex | Deny |
| File | **/.ssh/** · Read | Claude Code, OpenCode, Codex | Deny |
| Package | npm · Every package from manager | All services | Ask |
| Command | git * | All services | Allow |
Test before you enforce
A new rule can be tested against the commands your agents ran over the last 90 days, so you know what it would have stopped.
Tools, models and network
The same system decides which AI tools and models each department may use, and which network destinations agents may reach.
Temporary exceptions
When someone needs a denied command for a legitimate change, an administrator lifts that rule on that machine for between fifteen minutes and three days, and records the reason. More about policy.
When an agent keeps pushing against policy, the console responds on its own.
A workflow connects a trigger to conditions and actions. The one shown here fires when a machine collects ten denied commands in five minutes. It suspends AI tool use on that machine for four hours, tells the security team in Microsoft Teams and sends the event to the SIEM.
| Run history | Matched | Outcome |
|---|---|---|
| Today 14:31 | eng-lnx-007 · 12 denials | Quarantined · notified |
| Today 09:05 | No endpoint over threshold | No action |
Triggers
Spikes in denied commands, tampering with policy files, credentials seen in a session, spikes in token usage and machines that stop checking in.
Before it goes live
Every workflow keeps its versions and can be given a dry run that shows what it would have done without doing it. How workflows work.
Emergency freeze
If something goes wrong, an administrator uses a single control to stop the AI agents in the whole organisation, in one or more departments or in an endpoint group, for an hour, four hours, a day or until it is lifted. People see the reason in their tool.
Seven days in watch-only mode
Reserve a private DarkControl instance and see exactly what your AI agents are doing, on up to ten devices and with nothing blocked.
The console views on this page are illustrative and show sample data.