Find risky settings in coding agents.

Scan permissions, sandboxes, and integrations in Codex, Claude Code, OpenCode, and Pi. Review findings across your fleet in a dashboard you host.

Example scan

Source file .codex/config.toml

sandbox_mode = "danger-full-access"
High severityCDX-001

Filesystem sandbox disabled

This setting disables the filesystem sandbox. Review whether workspace-write gives the agent enough access.

Supported harnesses

  • Codex
  • Claude Code
  • OpenCode
  • Pi

See what gets flagged

Each finding shows the source file, the setting, and a suggested fix. Examples below use synthetic configuration.

CodexReview

Interactive approvals disabled

approval_policy = "never"

Codex won’t ask for approval before actions. Review whether this fits the workflow. The finding is high severity if the same file also disables the filesystem sandbox.

CDX-002 · .codex/config.toml
Claude CodeHigh

Broad shell permission

"allow": ["Bash(*)"]

A broad allow rule can cover the entire shell tool. Scope approvals to intended operations and verify the merged permissions.

CLD-002 · .claude/settings.json
OpenCodeHigh

Blanket shell allow rule

"action": "shell",
"resource": "*",
"effect": "allow"

The rule allows shell operations across all resources. Review later rules and managed policies, then narrow the allow rule.

OPC-001 · opencode.jsonc

Know what your fleet checked

Compare scanned sources against expected coverage. Use the last complete scan to spot stale collectors and sort findings by severity.

Review evidence
Record whether a finding applies at runtime and link the verification to a ticket.
Monitor changes
Replay finding events and check for high-severity findings or stale collectors.
Fleet coverageSynthetic example
CollectorStateScanned / expectedLast complete scan
Build runnerComplete3 / 38 min ago
Dev laptopPartial2 / 327 min ago
Test workspaceEmpty0 / 3Never
Offline runnerStale3 / 32 days ago

Clone the repo and run a pilot.

Clone Harness Audit on GitHub and run the local fleet demo with Python 3.11 or later. Open http://127.0.0.1:8090 to see two sample collectors.

Ready to enroll real devices? Choose Cloudflare Workers and D1 or the self-hosted fleet.

Local fleet demo
git clone https://github.com/akumar0205/Harness-Audit.git
cd Harness-Audit
python3 -m fleet.server demo