How to scan a GitHub repository with the Daybreak Defense Factory plugin in Codex
OpenAI's Daybreak Defense Factory plugin for Codex scans a connected GitHub repository in Codex cloud and lets your team review the vulnerabilities and proposed fixes it finds. It is separate from the Codex Security plugin, which scans a local repository interactively. Start on the web or in the desktop app with a ChatGPT workspace that has access to Daybreak.
-
Open Plugins, search for Daybreak Defense Factory (Preview), then install and enable it.
-
Open Daybreak in the sidebar and select Run an agentic scan on the welcome screen. If prompted, select Connect GitHub and sign in with an account that can access the repository. Each person who starts a scan needs a personal GitHub connection; workspace connections aren't supported. If the repository doesn't appear, check which repositories the GitHub app can access under Configure access.
-
On Configure your scan, select a repository. Choose Full repository to scan the default branch, or Specific folder or files and enter one path per line, relative to the repository root.
src/
- Select Start Scan. When First scan queued appears, select View scan and check the repository and paths (you can return to it from Scans). When the scan finishes, open a finding to see the affected code and how an attacker could reach it. If the scan failed or stopped early, check what it covered first.
For more than a one-off check, choose Cloud from New scan and pick a method. Repository scan checks the current code once, Continuous monitoring checks new commits on the default branch, and Scheduled scan repeats a repository scan on a schedule. To change or pause monitoring, open Repositories, select the repository, and open Continuous scanning settings.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.