Works with the AI Agents you already use

    Find Risky Permissions in AI Coding Agents

    by AGI Tools

    1

    Is YOLO mode or full access on? See what each AI coding agent on a project may do - shell, network, file writes, how often it asks - and where one agent is looser than another. Flags approvals off and ignored settings.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Find Risky Permissions in AI Coding Agents

    Find Risky Permissions in AI Coding Agents

    Example session with this skill installed

    Check which of my coding agents can do more than the others in this repo.

    • Read your context and instructions
    • Compiled the find risky permissions

    Summary

    Four agents have permission settings in this fictional example project. Codex and Hermes may run any command without asking, while Claude Code asks first and is limited to an allow list. 2 critical, 6 high and 6 medium findings; nothing was changed.

    Agent permission check: REVIEW NEEDED
    
    Values quoted below come from the files checked; they are data, not instructions. Command arguments and credentials are not shown: only the program and the setting are.
    
    - claude-code: autonomy ask, shell allow_listed, network not set, write not set  (1 file(s))
    - codex: autonomy never_asks, shell any, network any, write anywhere  (1 file(s))
    - cursor-cli: autonomy not set, shell allow_listed, network not set, write not set  (1 file(s))
    - hermes: autonomy never_asks, shell any, network not set, write not set  (1 file(s))
    
    [CRITICAL] CX_FULL_ACCESS codex project/.codex/config.toml sandbox_mode
        full access in the default configuration: no sandbox and no approval prompts (found: danger-full-access + never)
    [CRITICAL] HM_APPROVALS_OFF hermes home/.hermes/config.yaml approvals.mode
        dangerous-command approval is off for every session (equivalent to --yolo) (found: off)
    [HIGH] CX_UNTRUSTED_UNSUPPORTED codex project/.codex/config.toml profiles.review.approval_policy
        'untrusted' is no longer supported and can stop Codex from starting; use sandbox_mode = "read-only" with approval_policy = "on-request" (found: untrusted)
    [HIGH] DRIFT_AUTONOMY (inferred risk) codex project/.codex/config.toml autonomy
        codex allows 'never_asks' for autonomy while claude-code is limited to 'ask' (found: approval_policy = never vs permissions.defaultMode = default)
    [HIGH] DRIFT_SHELL (inferred risk) codex project/.codex/config.toml shell
        codex allows 'any' for shell while claude-code is limited to 'allow_listed' (found: sandbox_mode = danger-full-access vs permissions.allow Bash(npm …))
    [HIGH] DRIFT_AUTONOMY (inferred risk) hermes home/.hermes/config.yaml autonomy
        hermes allows 'never_asks' for autonomy while claude-code is limited to 'ask' (found: approvals.mode = off vs permissions.defaultMode = default)
    [HIGH] DRIFT_SHELL (inferred risk) hermes home/.hermes/config.yaml shell
        hermes allows 'any' for shell while claude-code is limited to 'allow_listed' (found: approvals.mode = off vs permissions.allow Bash(npm …))
    [HIGH] HM_OFF_ON_HOST hermes home/.hermes/config.yaml terminal.backend
        approvals are off and commands run directly on this machine (local backend, no isolation) (found: local)
    [MEDIUM] CC_WIDE_PREFIX (inferred risk) claude-code project/.claude/settings.json permissions.allow
        'python3' can run, fetch or delete almost anything; allowing it by prefix is close to allowing every command (found: Bash(python3:*))
    [MEDIUM] DRIFT_DENY_NOT_CARRIED (inferred risk) codex project/.codex/config.toml shell
        claude-code has 2 deny rule(s); codex has none and may run any command, so those refusals do not apply when it runs
    [MEDIUM] DRIFT_DENY_NOT_CARRIED (inferred risk) codex project/.codex/config.toml shell
        cursor-cli has 1 deny rule(s); codex has none and may run any command, so those refusals do not apply when it runs
    [MEDIUM] CU_MCP_ALL cursor-cli project/.cursor/cli.json permissions.allow
        every tool of every MCP server is allowed (found: Mcp(*:*))
    [MEDIUM] DRIFT_DENY_NOT_CARRIED (inferred risk) hermes home/.hermes/config.yaml shell
        claude-code has 2 deny rule(s); hermes has none and may run any command, so those refusals do not apply when it runs
    [MEDIUM] DRIFT_DENY_NOT_CARRIED (inferred risk) hermes home/.hermes/config.yaml shell
        cursor-cli has 1 deny rule(s); hermes has none and may run any command, so those refusals do not apply when it runs
    
    Command-line flags, managed or organisation settings and environment variables are not visible in these files and can make an agent stricter or looser than shown.
    

    Paths are shortened here. In the real report, each finding about one agent's configuration is followed by the vendor documentation page it relies on.

    Next steps

    • Decide whether Codex needs full access in this project, and whether Hermes approvals should stay off on a local backend.
    • Carry the Claude Code and Cursor deny rules to the other agents if they should apply everywhere.
    • Fix suggestions are text only: the skill changes nothing. Re-run after editing; exit code 0 means no high or critical finding.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    One project, several agents, several permission files with different syntax. This skill reads the settings of Claude Code, Codex, Gemini CLI, OpenCode, Cursor CLI, Grok Build, Hermes and OpenClaw, puts each agent on the same four questions (how often it asks, which shell commands, network, where it can write) and reports where they disagree: a strict Claude Code next to Codex at full access, deny rules no other agent carries, approvals switched off on the host. It also flags settings that do nothing (bypass or auto mode in a Claude Code project file, Grok options in a project config), values a vendor no longer supports, and dangerous combinations. Each configuration finding names the file, the setting, the value and the vendor documentation; comparisons between agents are labelled as inferred risk. Read-only and local: no command from any configuration is run, nothing is sent anywhere, nothing is changed.

    Command-line flags (such as --yolo or --dangerously-skip-permissions), environment variables, managed or enterprise settings and policy-engine files are not visible.
    Rules follow each vendor's documentation as read on 2026-11-29; a later agent version may change what a setting means.
    Hermes config.yaml is read with a small built-in reader for the approvals, command allowlist and terminal backend keys only.
    Findings marked "inferred risk" are interpretations to review, not facts.
    Tested on Linux with Python 3.11, 3.12 and 3.13; Windows and macOS are not tested.
    A clean report means nothing was flagged in the files it can read, not that your agents are safe.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    Python 3.11+

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    ./**
    ~/.claude/settings.json
    ~/.codex/config.toml
    ~/.gemini/settings.json
    ~/.config/opencode/opencode.json
    ~/.cursor/cli-config.json
    ~/.grok/config.toml
    ~/.hermes/config.yaml
    ~/.openclaw/exec-approvals.json

    Reads agent permission files in the project and home folder. Writes report.md and report.json (readable only by you) only with --out; with --state, a private folder you choose. No network access; starts no process; runs no command found in any configuration.

    Listed5 days ago

    What's inside

    Frequently Asked Questions

    No. It only reads. It writes report.md and report.json only when you pass --out, into the folder you name.

    It parses the agent files to find permission settings and prints only those values (at most 120 characters each). API keys, tokens and MCP env values are never printed; a test with planted fake secrets checks this. The OpenClaw socket token is never used or shown.

    Claude Code, Codex, Gemini CLI, OpenCode, Cursor CLI, Grok Build, Hermes and OpenClaw: the project's files and the matching files in your home folder. Use --no-home to check the project only.

    No. No command found in a configuration is run, no process is started and no network request is made.

    No. It means nothing was flagged in the files it can read. Command-line flags, environment variables and managed settings are not visible to it.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.