Learning resourcesReviewed · OpenAI

Recommended configuration for AI cybersecurity workflows

Recommended configuration is a security guide for teams using AI agents in cybersecurity work, but its safeguards depend on controls the team must configure and enforce. It explains Codex permissions, action review, environment isolation, credential protection, monitoring and cleanup, with additional guidance for custom agent systems.

Researched 24 Nov 2026

In short.

Recommended configuration is a hardening guide for developers and security teams using AI agents, but approved model access and automated review do not establish a secure environment on their own. It connects Codex permission profiles and Auto-review with independent network restrictions, credential protection, monitoring and cleanup. The recommendations primarily address higher-risk cybersecurity work. The page provides configuration examples and explains important enforcement gaps; their runtime behavior and security effectiveness have not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the complete captured page at [https://learn.chatgpt.com/docs/cyber-safety/recommended-configuration.md], including its examples, warnings and references to separate controls. Linked pages, the documentation index, repository files and external notices are excluded. The page states no license, pricing or publication date. No commands, configuration examples, models or security controls were executed or tested.

The overview

Resource identity

The page is titled Recommended configuration and appears in the ChatGPT cybersecurity documentation at [https://learn.chatgpt.com/docs/cyber-safety/recommended-configuration.md]. It is guidance for configuring AI cybersecurity environments, with specific instructions for Codex and additional considerations for custom agent systems.

Its recommendations primarily address Daybreak Red workflows, autonomous security testing, and work involving production systems, sensitive data or external tools. It says existing organizational security practices may be sufficient for most Daybreak Blue workflows.

Practical assessment

The guide is useful for understanding which controls must surround an AI agent before it handles sensitive security work. Its strongest practical detail is the explanation of enforcement gaps: network access settings do not necessarily enforce a destination allowlist, and actions inside an allowed boundary do not automatically receive review.

It requires readers to translate recommendations into their own infrastructure and authorization rules. The page does not demonstrate that its example configuration provides complete containment, and no configuration was executed or tested.

Who it serves

The main audience is security engineers, developers operating Codex, and administrators responsible for agent permissions and monitoring. Developers building agents with the Responses API, Agents SDK or another execution system also receive guidance on reviewing tool actions.

Beginners can use it to understand why model safeguards, isolation and human approval serve different purposes. Applying the examples requires familiarity with configuration files, filesystem permissions, network controls and the systems being authorized.

What the guide covers

The page covers isolated environments, documented targets and time limits, least-privilege permissions, restricted network access, protected credentials, sensitive-action review, independent monitoring, emergency shutdown and cleanup. For higher-risk work, it recommends a fresh environment for each attempt and destruction afterward.

Its Codex examples cover a workspace permission profile, file exclusions, an approved network destination and a command rule that requests review. It also explains that custom agent systems need their own checks immediately before tool execution.

Using it

Requirements and dependencies

Applying the guide requires an approved scope identifying systems, tools, actions, time limits, data handling, stop conditions and decisions requiring a person. The team also needs control over its execution environment, identities, networking and monitoring.

For Codex Auto-review, the page requires an interactive approval policy such as on-request, approvals_reviewer set to auto_review, and an enforceable sandbox or permission-profile boundary. Account availability and organization policy affect the desktop app's automatic permission-mode changes. A minimum supported Codex version and model-access eligibility are not established.

How the safeguards work

The approach combines several independent controls. Isolation limits what the agent can reach; permissions constrain files and tools; review evaluates proposed actions that require approval; external monitoring records activity and detects failures. The guide recommends stopping work when an essential control fails.

Auto-review evaluates eligible approval requests before execution. A command targeting an allowed destination can remain inside the permission boundary without triggering review, so sensitive commands may need explicit prompt rules. Trusted Access governs approved model access but does not configure these environmental restrictions.

Custom tools and external agent systems do not automatically receive Codex Auto-review protection. The page also distinguishes product-side controls from API cybersecurity checks, which can return cyber_policy errors.

Configuration approach

The guide starts with an isolated lab and a documented scope. Its example defines a cyber-lab permission profile extending workspace permissions, enables network_proxy, restricts destinations, and denies access to matching environment and PEM files. It warns against combining permission profiles with legacy sandbox_mode settings.

It then describes adding command rules under ~/.codex/rules/ and restarting Codex so selected sensitive commands request review. Equivalent controls are needed for other commands and MCP tools. Web search, apps, connectors, browser activity and cloud execution have separate controls that must also match the approved scope.

Credentials should be supplied through a separate broker using short-lived, narrowly scoped access. Monitoring and emergency controls should remain outside the agent's control, with credential revocation and environment cleanup planned before work begins.

Example explained

The page's illustrative configuration permits network access to [https://lab.example.com] while restricting workspace file access. The address is a placeholder for an explicitly approved target. The network_proxy feature is essential to enforcing the domain restriction; network.enabled alone permits direct network access without enforcing that allowlist.

A separate example makes curl commands request approval. With Auto-review configured, matching commands go to the reviewer before execution, including requests to an allowed target. Actions requiring a person's decision still need explicit human approval. These examples have not been run.

Assessment & evidence

Important limitations

The example's filesystem scan depth is three levels. The page warns that deeper sensitive files may require a greater depth or exact deny paths. Approved hosts resolving to private addresses are blocked by default unless the relevant private-network access is explicitly configured.

Full Access removes the sandbox boundary Auto-review depends on. An approval policy of never can also leave sensitive actions without an approval request. Neither an application warning nor successful model selection restores missing environmental controls.

The page does not establish containment effectiveness, false approval rates, performance overhead or compatibility across Codex versions and deployment environments. Indirect connections through tools, redirects and downstream services also require enforcement.

Why the approach matters

The guide assumes the model, tools or connected systems could be compromised. Under that assumption, keeping credentials, monitoring and shutdown controls outside the agent's reach reduces dependence on the agent following instructions correctly.

Its distinction between permission boundaries and action review is especially useful: permission determines what an agent can reach, while review assesses a proposed action. The page supports using both, with people accountable for sensitive decisions. It does not quantify how much protection this combination provides.

Approaches within the guide

For most Daybreak Blue workflows, the page suggests that existing organizational access controls, credential protection and review practices may suffice. Higher-risk work receives stronger recommendations for disposable environments and independent enforcement.

For custom agent systems, the described approach is to implement review at the tool-execution boundary and route ambiguous or high-risk actions to a person. The page does not compare competing products or provide evidence for ranking other security guides.

Evidence and confidence

The evidence consists of the complete selected documentation page, including its TOML permission example, command-rule example and warnings about enforcement gaps. It supports describing the recommendations and stated product behavior, but contains no benchmark or demonstrated security evaluation.

Linked documentation, the reviewer-policy implementation and API guidance were outside the selected scope. Their contents and consistency with this page are unknown. Runtime behavior and the effectiveness of the proposed controls remain unassessed.

Access & freshness

Costs

The selected page does not state prices for models, Codex access, Auto-review or API usage. These costs are unknown from the available evidence.

The recommendations also involve infrastructure and operational work, including isolated compute, networking, credential brokering, monitoring and human oversight. The page provides no budget, deployment estimate or staffing requirement.

Rights and authorization

The selected page does not state a license or redistribution terms for its text and configuration examples. Permission to redistribute those materials is unknown from this evidence.

The guide requires authorization for the systems and actions involved in a cybersecurity engagement. Approved model access does not itself authorize access to a target or expand the permitted scope.

Freshness and version limits

The supplied capture is dated 2026-11-24 at 20:57:51.109 UTC. The page itself does not establish a publication date, last-update date or minimum compatible Codex version.

Its reviewer-policy link references rust-v0.167.0; that identifies the linked reference and does not establish a version requirement for the configuration examples. Availability of desktop permission modes depends on account access and organization policy, so applicability should be checked against the intended installation.

Suggested next steps

Use the guide to map an authorized engagement to concrete controls: identify approved targets and actions, choose the least-privilege environment, and establish independent network enforcement, credential handling, review and monitoring.

Before sensitive work, verify filesystem and network boundaries across connected tools and downstream services. Confirm which actions require a person and how failed controls stop execution. Afterward, revoke temporary credentials, terminate background processes, remove persistent access and verify cleanup before acting on validated findings.

Evidence for this report

selected-page.txtselected · checked 2026-11-24