openai / openai/codex-plugin-cc

Codex plugin bypasses project-level Claude Code permission settings (deny rules in .claude/settings.json)

Open
#75 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
33.3k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Title: Codex plugin ignores .claude/settings.json deny permissions

Body:

Description

The Codex plugin (codex@openai-codex) does not respect the project-level
permission deny rules defined in .claude/settings.json.

Steps to Reproduce

  1. Add a deny rule for a file in the project's .claude/settings.json:

    {
      "permissions": {
        "deny": [
          "Read(pom.xml)"
        ]
      }
    }
    
    
  2. Try to read the file directly via Claude Code → correctly blocked

  3. Try to read the same file via /codex:rescue → file is read without restriction

Expected Behavior

The Codex plugin should respect the same permission rules that Claude Code enforces.
Deny rules in .claude/settings.json should apply to all plugins equally.

Actual Behavior

The Codex plugin bypasses the deny rules and reads files that are explicitly blocked.

Why This Matters

Project-level deny rules may exist to protect sensitive configuration files
(e.g., DB credentials, internal endpoints). A plugin that silently bypasses
these rules creates a security gap.

Environment

  • Claude Code with codex@openai-codex plugin enabled
  • Project-level .claude/settings.json with permissions.deny rules

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with a deny rule in .claude/settings.json, comparing direct Claude Code access with /codex:rescue. Then trace how the Codex plugin handles that entry point and permission checks. Done means the same deny rule blocks the file when accessed through the plugin, with regression coverage for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.