Scoopfeeds — Intelligent news, curated.
computer-science

A way to exclude sensitive files issue still open for OpenAI Codex

Hacker News · Jun 28, 2026, 12:27 PM · Also reported by 1 other source

There was an error while loading. Please reload this page.

openai / codex Public Notifications You must be signed in to change notification settings Fork 14k Star 94.2k Code Issues 5k+ Pull requests 379 Discussions Actions Security and quality 1 Insights Additional navigation options Code Issues Pull requests Discussions Actions Security and quality Insights. A way to exclude sensitive files #2847New issue Copy link New issue Copy link Open Open A way to exclude sensitive files#2847Copy link LabelsenhancementNew feature or requestNew feature or requestsandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxingDescriptionmkusakaopened on Aug 28, 2025Issue body actionsWhat feature would you like to see? A mechanism to explicitly mark files/paths that the agent must not read or send to the model, at both repository and global levels (e.g., a repo-local .codexignore plus a global ignore file). Example: keep node_modules/ searchable for implementation checks, but never read or send .env, .env.*, .pem, id_, .aws/, .ssh/. The configuration should be deterministic and shareable across the team/repo, and also support user defaults, rather than relying on project documentation or conventions. Are you interested in implementing this feature? Yes — I can contribute and tests. Additional information Related: #205. That issue surfaced two primary use cases: preventing sensitive data from being sent to the model and excluding large/irrelevant files. The issue was closed in favor of a Rust (codex-rs) implementation, but as of 2025-08-28 a comparable feature does not appear to exist in codex-rs. I’d like to restart the discussion and converge on a design.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories

Also covered by

Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop