{
  "manifest_version": "1",
  "slug": "codex-security",
  "title": "Codex Security",
  "headline": "Scan your repositories with Codex Security every night",
  "description": "Run OpenAI's Codex Security scanner every night on an exe.dev VM: code from the GitHub integration, models from the LLM integration, new findings by email.",
  "category": "security",
  "tags": [
    "codex security",
    "openai codex security",
    "ai security scanner",
    "sast",
    "vulnerability scanning",
    "threat model",
    "appsec",
    "nightly scan",
    "bulk scan",
    "security review"
  ],
  "url": "https://exe.dev/deploy/codex-security",
  "markdown_url": "https://exe.dev/deploy/codex-security.md",
  "upstream": {
    "website": "https://learn.chatgpt.com/docs/security/cli",
    "source": "https://github.com/openai/codex-security",
    "docs": "https://github.com/openai/codex-security/blob/main/sdk/typescript/docs/cli.md",
    "license": "Apache-2.0"
  },
  "example_vm_name": "my-codex-security",
  "time": "10 minutes",
  "stack": [
    {
      "name": "Codex Security",
      "detail": "ghcr.io/openai/codex-security:0.10.0 in Docker",
      "data": "~/security/results"
    },
    {
      "name": "Nightly scan",
      "detail": "nightly-scan.sh, run by the codex-security-scan systemd timer",
      "data": "~/security/repos.txt, ~/security/scan.env"
    }
  ],
  "access": [
    {
      "url": "ssh my-codex-security.exe.xyz",
      "who": "private",
      "what": "the list of repositories, settings, reports, and logs"
    }
  ],
  "delivers": [
    "Docker on every boot and the Codex Security 0.10.0 image pulled",
    "`~/security/nightly-scan.sh`, which scans the repositories in `~/security/repos.txt` through exe.dev's LLM integration, with no model key on the VM",
    "A systemd timer, `codex-security-scan.timer`, that runs it every night around 03:00 UTC and emails you the new findings",
    "A test run of the script that ends with `Nothing to scan.`"
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe.dev/new?prompt=Set%20up%20Codex%20Security%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe.dev%2Fdeploy%2Fcodex-security.md%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-codex-security.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-codex-security.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Docker%20on%20every%20boot%20and%20the%20Codex%20Security%200.10.0%20image%20pulled%0A-%20%60~%2Fsecurity%2Fnightly-scan.sh%60%2C%20which%20scans%20the%20repositories%20in%20%60~%2Fsecurity%2Frepos.txt%60%20through%20exe.dev%27s%20LLM%20integration%2C%20with%20no%20model%20key%20on%20the%20VM%0A-%20A%20systemd%20timer%2C%20%60codex-security-scan.timer%60%2C%20that%20runs%20it%20every%20night%20around%2003%3A00%20UTC%20and%20emails%20you%20the%20new%20findings%0A-%20A%20test%20run%20of%20the%20script%20that%20ends%20with%20%60Nothing%20to%20scan.%60%0A%0ARun%20the%20commands%20in%20%22Install%20by%20hand%22%2C%20in%20order%2C%20and%20the%20check%20at%20its%0Aend.%20Don%27t%20add%20repositories%20to%20%60~%2Fsecurity%2Frepos.txt%60%20and%20don%27t%20start%20a%0Ascan%3A%20the%20repositories%20need%20GitHub%20integrations%2C%20which%20the%20owner%20adds%0Afrom%20their%20computer.%20Finish%20by%20telling%20the%20owner%20to%20follow%20%22Choose%20the%0Arepositories%22.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "terminal": "curl -fsSL https://exe.dev/deploy/codex-security/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up Codex Security on this VM by following the exe.dev recipe at https://exe.dev/deploy/codex-security.md from top to bottom.\n\nThe recipe's example VM name is my-codex-security. This VM's name is the output of `hostname`: use it wherever the recipe writes my-codex-security. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- Docker on every boot and the Codex Security 0.10.0 image pulled\n- `~/security/nightly-scan.sh`, which scans the repositories in `~/security/repos.txt` through exe.dev's LLM integration, with no model key on the VM\n- A systemd timer, `codex-security-scan.timer`, that runs it every night around 03:00 UTC and emails you the new findings\n- A test run of the script that ends with `Nothing to scan.`\n\nRun the commands in \"Install by hand\", in order, and the check at its\nend. Don't add repositories to `~/security/repos.txt` and don't start a\nscan: the repositories need GitHub integrations, which the owner adds\nfrom their computer. Finish by telling the owner to follow \"Choose the\nrepositories\".\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe.dev/deploy/codex-security/prompt.txt"
  },
  "updated": "2026-11-16",
  "verified": "2026-11-16",
  "related": [
    "open-code-review",
    "pr-agent",
    "shannon",
    "codex",
    "agent-secrets",
    "n8n-2"
  ],
  "alternatives": [
    "GitHub CodeQL",
    "Snyk Code",
    "Semgrep"
  ],
  "files": [
    "https://exe.dev/deploy/codex-security/nightly-scan.sh"
  ]
}
