{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "xiaoduoya-codex-with-chatgpt--keep-secrets-out-of-chatgpt-reviews",
 "repo": "XiaoDuoYa/codex-with-chatgpt",
 "repo_url": "https://github.com/XiaoDuoYa/codex-with-chatgpt",
 "repo_slug": "xiaoduoya-codex-with-chatgpt",
 "title": "Keep .env and key files out of ChatGPT reviews",
 "page_title": "How to keep .env and key files out of ChatGPT reviews with Codex with ChatGPT",
 "summary": "Use the default sensitive-file rules plus your own .c2cignore patterns to protect secrets.",
 "who": "A developer working in a repo with .env files, keys, or credentials who wants ChatGPT reviews without exposing those files.",
 "problem": "Reviews could expose secrets if the bridge can read them, and the default rules may not cover every file type your project uses.",
 "outcome": "Sensitive files stay out of ChatGPT's reach, and your own project-specific patterns are added to the rules.",
 "steps": [
  "Confirm the default rules: `.env*`, keys, SSH, and credentials are denied, and `.env.example` is allowed.",
  "Add your own patterns for other sensitive files to `.c2cignore` in the workspace root.",
  "Run `c2c status` to confirm the bridge is running for this workspace.",
  "Run `c2c doctor` to check the setup. (inferred, check the README)",
  "Ask Codex to use Codex with ChatGPT to review a file, and confirm that no ignored file is read."
 ],
 "agent_prompt": "In the workspace at <workspace path>, add the pattern <pattern> to .c2cignore, then run c2c status and c2c doctor and report their output. Confirm that the sensitive-file rules still deny .env files.",
 "agents": [
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README lists the default denied file types but does not describe the exact .c2cignore syntax, so check the docs before you rely on a complex pattern.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 20 or newer",
  "git",
  "cloudflared (the Codex Skill installs it for you)",
  "A ChatGPT Plus or Pro subscription for the web app",
  "Codex, with the ability to install a Codex Skill"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Your own .c2cignore patterns are only as complete as the ones you write, so review them before sharing any repo with ChatGPT."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/xiaoduoya-codex-with-chatgpt/keep-secrets-out-of-chatgpt-reviews/",
 "md": "https://dedupedai.com/use-cases/xiaoduoya-codex-with-chatgpt/keep-secrets-out-of-chatgpt-reviews/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/xiaoduoya-codex-with-chatgpt--keep-secrets-out-of-chatgpt-reviews.json",
 "api_version": "v1"
}
