Back to Blog

    Security

    Daybreak in Codex: what Swiss teams should settle first

    With the Daybreak plugin, Codex searches your code for vulnerabilities, ranks the findings and proposes patches. We say which teams should run a pilot, what works without an application and what is still open for Switzerland.

    December 1, 20266 min read
    Marcel Haas

    Marcel Haas

    Solution Architect, CEO

    marcel.haas@cnext.ch
    In this article

    We would try the Daybreak plugin in Codex in a pilot on a repository without personal data and compare the findings with the existing scanner. The plugin searches code for vulnerabilities, ranks the findings by impact and puts patches up for review; according to OpenAI the standard scan needs no application. We would scan confidential code only once OpenAI confirms that data residency covers the scans. In our reading it does not cover today's preview.

    A Monday morning with the plugin

    A software company in Aargau maintains a specialist application for municipalities. The developer installs the Daybreak plugin in the Codex app, clicks "Try in chat", picks the project folder and sends the prepared scan prompt. Codex reads the code and presents the findings, ranked by impact.

    One finding concerns an export that takes file names from the request without checking them. Codex prepares a patch, the developer reads it, adds a test and opens the pull request herself. What goes into the code is decided by the team in review.

    What the plugin does

    OpenAI describes the procedure on the Daybreak page in a few steps. Scan the code, rank findings by impact, merge duplicates and filter suspected false positives. Then check whether a finding can be exploited, prepare a patch and test whether it closes the gap. What the team learns along the way, Codex records in AGENTS.md and SECURITY.md.

    For connected GitHub repositories there are also cloud scans with Codex Security, which OpenAI calls Defense Factory. There OpenAI describes validation in more detail: Codex Security tries to reproduce a suspected vulnerability in an isolated environment before it appears in the report. It does not change the code on its own. It proposes a patch, and the team decides what goes into production.

    According to OpenAI, findings from existing tools can be brought into Daybreak; for Codex Security OpenAI names Wiz, Snyk Open Source and Endor Labs among others. Besides the Codex app, the scan runs on the command line and in CI pipelines such as GitHub Actions.

    What works without an application and what does not

    Daybreak has two access tiers that OpenAI reviews separately. Daybreak Blue makes models refuse less often in defensive security work. Daybreak Red opens specialised cyber models and, according to OpenAI, is open only to approved companies, after a company check and with enforced SSO. Since 1 September 2026 individuals need hardware security keys.

    "Daybreak Red Team" is something else: a feature in the plugin that attacks authorised applications to check whether a finding can be exploited. It also requires approved access. For the standard scan OpenAI writes: "No approvals are required to start using the Daybreak plugin."

    One condition affects service providers. According to OpenAI, approved Daybreak access is for the organisation's internal use only and may not be opened to customers or third parties; for outward-facing offerings OpenAI points to a separate partner programme. The organisation that owns the application therefore applies for access itself.

    What we recommend

    Your situationWhat we would doWhat we advise against for now
    Development on ChatGPT Business, Enterprise or Edu with Codex, code without personal dataPilot the standard scan on one repository, compare findings with the existing scanner, secure every patch with a test of your ownAccepting patches without review and without a test, even if the finding counts as validated
    Repository with production test data, keys or data under professional secrecyClean up first: secrets into a vault, synthetic test data, then scanHanding such a repository to a preview service while it is open whether data residency covers it
    Your own web applications that you want to check for exploitabilityApply for Daybreak Blue, and for Red only when Blue is not enough, as OpenAI itself recommendsUsing Daybreak Red Team on systems without written authorisation
    ChatGPT Plus or no Codex in the companyRun the scan from a Business or Enterprise workspaceUsing a private account for company code

    Availability in Switzerland

    As of 1 December 2026, checked against the Daybreak page, OpenAI's help articles and the data residency articles.

    ItemStatus according to OpenAIIn Switzerland
    Codex and ChatGPTAvailableYes, Switzerland is on the country list for ChatGPT and the API
    Daybreak plugin with standard scanCodex Security is a research preview for ChatGPT Enterprise, Edu, Business and Pro; usable without an applicationNot confirmed. OpenAI names neither countries nor a restriction for the plugin
    Daybreak BlueOn applicationNot confirmed. OpenAI writes that Daybreak is not available in every region and names no countries
    Daybreak Red and Daybreak Red TeamOn application, approved companies onlyNot confirmed, as for Blue
    Data residency "Europe (EEA + Switzerland)" for Enterprise and EduCodex is listed as a feature; OpenAI excludes features that are not generally availableFor Codex yes. For Codex Security as a research preview, in our reading, no
    Storage location Europe for ChatGPT BusinessStorage only, no processing in the region; a copy of every prompt and response is kept in the US for a limited timeStorage in Europe including Switzerland, processing open

    For Swiss organisations the fifth row matters most. As long as Codex Security is a preview, the data residency commitment, in our reading, does not cover the scans. The code Codex reads and the reports listing vulnerabilities are confidential. Keep the reports in private storage only, and settle location and retention with OpenAI before a repository with confidential code is scanned. How we map data classes at OpenAI is described in our guide to OpenAI data boundaries.

    Limits

    OpenAI gives no release date for the Daybreak plugin. Dated are the extension of the Codex Security plugin on 22 June 2026 and the Blue and Red tiers on 10 August 2026. The developer documentation still speaks of the "Codex Security plugin", and Defense Factory is called a feature of the plugin in one place and a plugin of its own in another. "No approvals" also stands next to the note that scans require Codex Security access.

    According to OpenAI, a scan without findings does not rule out every vulnerability. The figures on the Daybreak page, such as a proposed patch after 18 minutes at Block, were reported by the customers themselves. The legal assessment of processing abroad belongs with your data protection advisers.

    Next step

    Which repository would you scan first? Send us the language, the size and the kind of data in it. You get our view on whether it suits a pilot, what needs cleaning up first and how the findings reach your existing process. How we work with Codex and other coding agents is described on our agentic engineering page. I look forward to the conversation.

    Marcel Haas, CEO CNEXT

    Sources: OpenAI, Daybreak and Get started with the Daybreak plugin. OpenAI, Daybreak: Tools for securing every organization in the world, 22 June 2026. OpenAI, Expanding Daybreak as the cyber defense window narrows, 10 August 2026. OpenAI Help Center, Codex Security, Daybreak Trusted Access, Daybreak Trusted Access troubleshooting, data residency for ChatGPT, where ChatGPT Business content is stored and supported countries. ChatGPT Learn, Skills and plugins and Scanner imports. All facts checked on 1 December 2026.

    OpenAISecurityAgentic EngineeringDatenschutzSchweiz
    Teilen:

    AI tools may have supported the creation of this article. CNEXT is responsible for the published content. Product features and prices can change; check the linked primary sources for current details.

    Marcel Haas

    Marcel Haas

    Solution Architect, CEO

    6x Microsoft Applied Skills

    Assess a repository for a pilot

    We check whether your repository suits a Daybreak pilot and what needs cleaning up first.