SpyBara
Go Premium

Documentation 2026-08-05 19:00 UTC to 2026-08-06 23:58 UTC

11 files changed +285 −43. View all changes and history on the product overview
2026
Mon 31 19:59 Sat 29 07:02 Fri 28 23:02 Thu 27 21:01 Wed 26 23:58 Tue 25 19:59 Mon 24 22:00 Fri 21 19:59 Thu 20 23:59 Wed 19 22:57 Tue 18 13:01 Mon 17 23:58 Sat 15 01:01 Fri 14 22:00 Thu 13 22:59 Wed 12 19:59 Tue 11 22:59 Mon 10 22:00 Sat 8 03:02 Fri 7 18:59 Thu 6 23:58 Wed 5 19:00 Tue 4 22:00 Mon 3 23:00 Sun 2 21:00
Details

199 bedrock: "available",199 bedrock: "available",

200 },200 },

201 },201 },

202 {

203 name: "Codex Security CLI",

204 href: "/codex/security/cli",

205 availability: {

206 bedrock: "available",

207 },

208 },

202 {209 {

203 name: "IDE extension",210 name: "IDE extension",

204 href: "/codex/ide",211 href: "/codex/ide",


260 {267 {

261 title: "Local features",268 title: "Local features",

262 features: [269 features: [

270 {

271 name: "Codex Security plugin and local scans",

272 shortName: "Codex Security plugin",

273 href: "/codex/security/plugin",

274 availability: {

275 bedrock: "available",

276 },

277 },

263 {278 {

264 name: "Local code review with `/review`",279 name: "Local code review with `/review`",

265 shortName: "Local code review",280 shortName: "Local code review",


577 },592 },

578 },593 },

579 {594 {

580 name: "Codex Security for connected GitHub repositories",595 name: "Codex Security cloud for connected GitHub repositories",

581 shortName: "Codex Security",596 shortName: "Codex Security cloud",

582 href: "/codex/security",597 href: "/codex/security/setup",

583 availability: {598 availability: {

584 bedrock: "unavailable",599 bedrock: "unavailable",

585 },600 },


602 id="codex-plan-plugin-limits"617 id="codex-plan-plugin-limits"

603 className="not-prose mt-1 text-sm text-secondary"618 className="not-prose mt-1 text-sm text-secondary"

604 >619 >

605 <sup>†</sup> Local plugin bundles are supported when their capabilities do620 <sup>†</sup> Local plugin bundles and OpenAI-curated plugins that don't

606 not require ChatGPT authentication. OpenAI-curated plugin discovery and621 require ChatGPT authentication, including Codex Security, are available.

607 features that depend on connectors or cloud-hosted sharing aren't622 Plugins that require ChatGPT authentication, connectors, or cloud-hosted

608 available.623 sharing aren't available.

609 624

610 625 

611</ToggleSection>626</ToggleSection>

app/features.md +7 −0

Details

26 href: "/codex/projects",26 href: "/codex/projects",

27 icon: "folder",27 icon: "folder",

28 },28 },

29 {

30 title: "Codex Remote",

31 description:

32 "Start tasks, approve actions, and review work from your phone.",

33 href: "/codex/remote",

34 icon: "connect",

35 },

29 {36 {

30 title: "Sites",37 title: "Sites",

31 description:38 description:

Details

1# Codex code review in GitHub1# Review GitHub pull requests with Codex

2 2 

3> For the complete documentation index, see [llms.txt](https://learn.chatgpt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.3> For the complete documentation index, see [llms.txt](https://learn.chatgpt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.

4 4 

5Use Codex code review to get another high-signal review pass on GitHub pull5Use Codex code review to get another high-signal review pass on GitHub pull

6requests. Codex reviews the pull request diff, follows your repository guidance,6requests. Codex reviews the pull request diff, follows your repository guidance,

7and posts a standard GitHub code review focused on serious issues.7and posts a standard GitHub code review focused on serious issues. Security

8Review, available in research preview, provides a more in-depth review of

9potential security issues in a pull request.

8 10 

9<YouTubeEmbed11<YouTubeEmbed

10 title="Codex code review walkthrough"12 title="Codex code review walkthrough"


24 26 

25## Set up Codex code review27## Set up Codex code review

26 28 

29To configure automatic reviews, you need a connected GitHub repository and

30GitHub push or admin permission for its settings.

31 

271. Set up [Codex cloud](https://learn.chatgpt.com/docs/cloud).321. Set up [Codex cloud](https://learn.chatgpt.com/docs/cloud).

282. Go to [Codex settings](https://chatgpt.com/codex/settings/code-review).332. Go to [Codex settings](https://chatgpt.com/codex/settings/code-review).

293. Turn on **Code review** for your repository.343. Turn on **Code review** for your repository.


122 127 

123For a one-off focus, add it to your pull request comment:128For a one-off focus, add it to your pull request comment:

124 129 

125`@codex review for security regressions`130`@codex review for issues in the database migration`

131 

132## Security Review

133 

134Security Review is an additional review for customers that want to

135pay particular attention to security issues in pull requests. It goes deeper

136than Code Review on security-specific risks by analyzing the pull request diff,

137supporting repository context, and configured threat models or security

138guidance.

139 

140Code Review can also identify security-related issues as part of its general

141review, so you may see occasional overlap between Code Review and Security

142Review findings.

143 

144### Set up Security Review

145 

146For more detailed setup instructions and configuration options, see [Security

147Review](https://learn.chatgpt.com/docs/security/security-review).

148 

1491. Set up [Codex cloud](https://learn.chatgpt.com/docs/cloud).

1502. Go to [Codex settings](https://chatgpt.com/codex/settings/code-review).

1513. Under **Repository preferences**, choose which pull requests get Security

152 Review and when it runs. Select **Whenever code review runs** to run it

153 alongside Code Review.

154 

155### Request a Security Review

156 

157To request a Security Review manually, add this comment to a pull request:

158 

159`@codex security review`

160 

161Codex reacts while the review is running, then posts security findings directly

162on the pull request. Open the associated Codex task and select the **Security

163Report** tab to view the full report.

126 164 

127## Act on review findings165## Act on review findings

128 166 

remote.md +65 −0 created

Details

1# Codex Remote

2 

3> For the complete documentation index, see [llms.txt](https://learn.chatgpt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.

4 

5## Start, guide, and review coding tasks from your phone

6 

7Follow progress, approve actions, and send instructions from your phone. Codex runs each task on your connected computer.

8 

9Use the ChatGPT mobile app with a connected Mac or Windows PC. Availability depends on rollout and your workspace settings.

10 

11> Illustration: Interactive Codex Remote mobile app showing connected computers, tasks, conversations, approvals, and changed files

12 

13### Start here

14 

15- [Set up Remote](#set-up-remote)

16- [Remote connections guide](https://learn.chatgpt.com/docs/remote-connections)

17 

18## Codex Remote advantages

19 

20- **Start tasks from your phone:** Choose a connected computer and project, describe the task, and let Codex get to work.

21- **Guide work as it happens:** Open a task, follow its progress, and send new instructions without returning to your desk.

22- **Approve requested actions:** Review requested commands and actions before Codex continues on your connected computer.

23- **Review the result:** Inspect responses, changed files, diffs, and test results, then decide what happens next.

24 

25## Get started with Remote

26 

27Connect your computer, approve access, and start your first task.

28 

291. **Start setup on your computer.** Open the ChatGPT desktop app on your Mac or Windows PC. Go to **Settings** > **Connections** > **Control this Mac or PC** and select **Set up** or **Add**. Approve remote access and complete any requested verification.

302. **Scan the QR code.** Scan the code with your phone, sign in to the same ChatGPT account and workspace, and approve the connection. Only connect devices you own and trust.

313. **Start working from your phone.** Open **Remote** in the ChatGPT mobile app, choose your connected computer, and start a new task or continue an existing one. Keep your computer awake and online.

32 

33## Keep work moving from anywhere

34 

35Start, approve, and review tasks from your phone. Your connected computer runs the work under your organization’s security policies.

36 

37### 1. See tasks running on your computer

38 

39Follow active tasks across connected computers, pick up existing conversations, and see when your input is needed.

40 

41> Illustration: Codex Remote task list showing active tasks on a connected computer

42 

43### 2. Approve requests

44 

45Review commands and requested actions before Codex continues working on your connected computer.

46 

47> Illustration: Codex Remote approval request for a terminal command

48 

49### 3. Review changed code

50 

51Inspect changed files and diffs from your phone before deciding what happens next.

52 

53> Illustration: Codex Remote changed-files review with code differences

54 

55### 4. Start new tasks

56 

57Choose a connected computer and project, describe the task, and let Codex get to work.

58 

59> Illustration: Codex Remote new-task composer for a connected computer

60 

61## Explore setup and security

62 

63Learn about computer requirements, device management, permissions, and troubleshooting.

64 

65[Read the Remote connections guide](https://learn.chatgpt.com/docs/remote-connections)

Details

78 78 

791. Start Remote setup.791. Start Remote setup.

80 80 

81 Open the app on the host and select **Set up Remote** in the sidebar.81 Open the ChatGPT desktop app on the host. Go to **Settings** >

82 **Connections** > **Control this Mac or PC**, then select **Set up** or

83 **Add**. Approve remote access and complete any requested verification.

82 84 

832. Scan the QR code.852. Scan the QR code.

84 86 


94 96 

954. Review host settings.974. Review host settings.

96 98 

97 In the app on the host, use **Settings > Connections** to manage connected99 In the app on the host, use **Settings** > **Connections** to manage connected

98 devices. You can also choose whether to keep the computer awake, enable100 devices. You can also choose whether to keep the computer awake, enable

99 Computer Use, or install the Chrome extension.101 Computer Use, or install the Chrome extension.

100 102 

security.md +1 −0

Details

117- [Codex Security CLI FAQ](https://learn.chatgpt.com/docs/security/cli/faq) answers common questions about scans, findings, coverage, and costs.117- [Codex Security CLI FAQ](https://learn.chatgpt.com/docs/security/cli/faq) answers common questions about scans, findings, coverage, and costs.

118- [Codex Security TypeScript SDK](https://learn.chatgpt.com/docs/security/sdk) explains how to run scans from an application or developer tool.118- [Codex Security TypeScript SDK](https://learn.chatgpt.com/docs/security/sdk) explains how to run scans from an application or developer tool.

119- [Codex Security cloud setup](https://learn.chatgpt.com/docs/security/setup) details setup, scanning, and findings review.119- [Codex Security cloud setup](https://learn.chatgpt.com/docs/security/setup) details setup, scanning, and findings review.

120- [Security Review](https://learn.chatgpt.com/docs/security/security-review) explains how to run in-depth security reviews on GitHub pull requests.

120- [Improving the threat model](https://learn.chatgpt.com/docs/security/threat-model) explains how to tune scope, entry points, and criticality assumptions.121- [Improving the threat model](https://learn.chatgpt.com/docs/security/threat-model) explains how to tune scope, entry points, and criticality assumptions.

121- [Codex Security cloud FAQ](https://learn.chatgpt.com/docs/security/faq) covers common cloud product questions.122- [Codex Security cloud FAQ](https://learn.chatgpt.com/docs/security/faq) covers common cloud product questions.

Details

95 href: "/codex/security/setup",95 href: "/codex/security/setup",

96 icon: "storage",96 icon: "storage",

97 },97 },

98 {

99 title: "Security Review",

100 description: "Run in-depth security reviews on GitHub pull requests.",

101 href: "/codex/security/security-review",

102 icon: "shieldCheck",

103 },

98 {104 {

99 title: "Threat model",105 title: "Threat model",

100 description: "Review and improve the threat model for your codebase.",106 description: "Review and improve the threat model for your codebase.",

security/cli.md +4 −24

Details

26npm install @openai/codex-security26npm install @openai/codex-security

27```27```

28 28 

29Check the installed version:

30 

31```bash

32npx @openai/codex-security --version

33```

34 

35List the available commands:29List the available commands:

36 30 

37```bash31```bash

38npx @openai/codex-security --help32npx @openai/codex-security --help

39```33```

40 34 

41Use `npx @openai/codex-security scan --help` or35See also [CLI reference](https://learn.chatgpt.com/docs/security/cli/reference).

42`npx @openai/codex-security export --help` for complete command help. The

43[CLI reference](https://learn.chatgpt.com/docs/security/cli/reference) covers each argument, output

44format, and exit code.

45 36 

46## Sign in37## Sign in

47 38 


63export OPENAI_API_KEY="<your-api-key>"54export OPENAI_API_KEY="<your-api-key>"

64```55```

65 56 

66Keep API keys in your shell or secret manager. Codex Security can also reuse an57For AWS credentials, see [Amazon Bedrock

67existing file-backed Codex sign-in. When both a stored ChatGPT sign-in and an58setup](https://learn.chatgpt.com/docs/security/cli/reference#use-amazon-bedrock).

68environment API key are available, interactive scans with text output ask

69which to use. CI, JSON and JSONL scans, and other unattended scans use the

70API key by default.

71 59 

72To use your ChatGPT sign-in when an API key is also set, select it explicitly:60To use your ChatGPT sign-in when an API key is also set, select it explicitly:

73 61 


81npx @openai/codex-security scan . --auth api-key69npx @openai/codex-security scan . --auth api-key

82```70```

83 71 

84To make your stored sign-in the automatic default, unset both environment API

85keys:

86 

87```bash

88unset OPENAI_API_KEY CODEX_API_KEY

89```

90 

91Depending on your account and repository, full-repository scans may also72Depending on your account and repository, full-repository scans may also

92require [Trusted Access for Cyber](https://chatgpt.com/cyber). Signing in or73require [Trusted Access for Cyber](https://chatgpt.com/cyber).

93setting an API key doesn't grant that access.

94 74 

95## Prepare a scan75## Prepare a scan

96 76 

Details

113 113 

114```text114```text

115usage: codex-security scan [-h] [--auth {auto,chatgpt,api-key}]115usage: codex-security scan [-h] [--auth {auto,chatgpt,api-key}]

116 [--provider {openai,openrouter,fireworks,amazon-bedrock}]

116 [--path PATH | --diff BASE | --working-tree]117 [--path PATH | --diff BASE | --working-tree]

117 [--head HEAD] [--base BASE]118 [--head HEAD] [--base BASE]

118 [--knowledge-base PATH]119 [--knowledge-base PATH]


122 [--archive-existing]123 [--archive-existing]

123 [--plugin-path PATH] [--python PATH]124 [--plugin-path PATH] [--python PATH]

124 [--codex KEY=VALUE] [--fail-on-severity LEVEL]125 [--codex KEY=VALUE] [--fail-on-severity LEVEL]

125 [--max-cost USD] [--dry-run]126 [--max-cost USD] [--dry-run] [--verbose]

126 [--json] [--format {toon,json,yaml,jsonl}]127 [--json] [--format {toon,json,yaml,jsonl}]

127 [--full-output] [repository]128 [--full-output] [repository]

128```129```


152To make stored credentials the automatic default, run153To make stored credentials the automatic default, run

153`unset OPENAI_API_KEY CODEX_API_KEY`.154`unset OPENAI_API_KEY CODEX_API_KEY`.

154 155 

156### Use Amazon Bedrock

157 

158Select Amazon Bedrock with `--provider amazon-bedrock` and specify an explicit

159Bedrock model with `--model`:

160 

161```bash

162npx @openai/codex-security scan . \

163 --provider amazon-bedrock \

164 --model openai.gpt-5.6-sol

165```

166 

167Set `AWS_REGION` and authenticate with `AWS_BEARER_TOKEN_BEDROCK`, standard AWS

168access keys, an AWS profile, web identity, container credentials, or the

169default AWS credential chain. Bedrock scans use AWS credentials instead of

170`--auth`, ChatGPT sign-in, or an OpenAI API key. Both `scan` and `bulk-scan`

171support `--provider`.

172 

155### Select the scan target173### Select the scan target

156 174 

157Choose one target type for each scan.175Choose one target type for each scan.


230| `--fail-on-severity LEVEL` | Return exit `1` when a completed scan reports a finding at or above `critical`, `high`, `medium`, or `low`. |248| `--fail-on-severity LEVEL` | Return exit `1` when a completed scan reports a finding at or above `critical`, `high`, `medium`, or `low`. |

231| `--max-cost USD` | Stop a scan when its estimated model cost exceeds the specified USD amount. |249| `--max-cost USD` | Stop a scan when its estimated model cost exceeds the specified USD amount. |

232| `--dry-run` | Check the repository, target, output directory, and Codex configuration without starting a scan. |250| `--dry-run` | Check the repository, target, output directory, and Codex configuration without starting a scan. |

251| `--verbose` | Print redacted lifecycle, authentication, progress, and cost diagnostics to stderr. |

233| `--json` | Print manifest, findings, coverage, paths, and turn metadata as one JSON document. |252| `--json` | Print manifest, findings, coverage, paths, and turn metadata as one JSON document. |

234| `--format FORMAT` | Print the complete scan result as `toon`, `json`, `yaml`, or `jsonl`. |253| `--format FORMAT` | Print the complete scan result as `toon`, `json`, `yaml`, or `jsonl`. |

235| `--full-output` | Print the complete result using the default structured output format. |254| `--full-output` | Print the complete result using the default structured output format. |


287Codex configuration value.306Codex configuration value.

288 307 

289| Argument | Description |308| Argument | Description |

290| ------------------------------------------ | -------------------------------------------------------------------------------------------------------- |309| --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |

291| `--auth {auto,chatgpt,api-key}` | Select the scan credentials. The default is `auto`. |310| `--auth {auto,chatgpt,api-key}` | Select the scan credentials. The default is `auto`. |

292| `--model MODEL` | Select the OpenAI model. The default is `gpt-5.6-sol`. |311| `--provider {openai,openrouter,fireworks,amazon-bedrock}` | Select the inference provider. The default is `openai`. |

312| `--model MODEL` | Select the model. The default is `gpt-5.6-sol`. Required with `--provider amazon-bedrock`. |

293| `--effort {minimal,low,medium,high,xhigh}` | Select the model's reasoning effort. The default is `xhigh`. |313| `--effort {minimal,low,medium,high,xhigh}` | Select the model's reasoning effort. The default is `xhigh`. |

294| `--plugin-path PATH` | Use a Codex Security plugin directory or ZIP to override the bundled plugin. |314| `--plugin-path PATH` | Use a Codex Security plugin directory or ZIP to override the bundled plugin. |

295| `--python PATH` | Select the Python interpreter for the plugin runtime. |315| `--python PATH` | Select the Python interpreter for the plugin runtime. |


337```text357```text

338usage: codex-security bulk-scan [input] [--output-dir DIR]358usage: codex-security bulk-scan [input] [--output-dir DIR]

339 [--workers N] [--mode {standard,deep}]359 [--workers N] [--mode {standard,deep}]

360 [--provider {openai,openrouter,fireworks,amazon-bedrock}]

340 [--model MODEL]361 [--model MODEL]

341 [--effort {minimal,low,medium,high,xhigh}]362 [--effort {minimal,low,medium,high,xhigh}]

342 [--max-attempts N] [--plugin-path PATH]363 [--max-attempts N] [--plugin-path PATH]


618without writing the complete scan result to stdout. Request `--json`,639without writing the complete scan result to stdout. Request `--json`,

619`--format`, or `--full-output` to send structured scan results to stdout.640`--format`, or `--full-output` to send structured scan results to stdout.

620 641 

642### Verbose diagnostics

643 

644Add `--verbose` to print redacted lifecycle, authentication, progress, and cost

645diagnostics to stderr:

646 

647```bash

648npx @openai/codex-security scan . --verbose

649```

650 

651Set `CODEX_SECURITY_LOG_LEVEL=debug` to enable the same diagnostics without the

652flag. `LOG_LEVEL=debug` also enables diagnostics when

653`CODEX_SECURITY_LOG_LEVEL` is unset.

654 

655These logging controls apply only to the CLI. Credentials and provider

656identifiers remain redacted, and structured scan results remain on stdout.

657 

621### Completion summary658### Completion summary

622 659 

623A completed scan writes its finding count, severity breakdown, coverage,660A completed scan writes its finding count, severity breakdown, coverage,


721 758 

722Set `OPENAI_API_KEY` or `CODEX_API_KEY`, sign in with759Set `OPENAI_API_KEY` or `CODEX_API_KEY`, sign in with

723`npx @openai/codex-security login`, or use an existing file-backed Codex760`npx @openai/codex-security login`, or use an existing file-backed Codex

724sign-in.761sign-in. For Amazon Bedrock, use a Bedrock API key or the standard AWS

762credential chain instead.

725 763 

726For credential selection, see [Select scan764For credential selection, see [Select scan

727authentication](#select-scan-authentication).765authentication](#select-scan-authentication).

security/sdk.md +7 −3

Details

24npm install @openai/codex-security24npm install @openai/codex-security

25```25```

26 26 

27Before starting a scan, set `OPENAI_API_KEY` or `CODEX_API_KEY`, or use an27Before starting a scan, set `OPENAI_API_KEY` or `CODEX_API_KEY`, use an

28existing file-backed Codex sign-in.28existing file-backed Codex sign-in, or [configure Amazon

29Bedrock](#configure-the-runtime-and-credentials) with AWS credentials and

30explicit `model_provider` and `model` overrides.

29 31 

30For best results, use an account verified for [Trusted Access for32For best results, use an account verified for [Trusted Access for

31Cyber](https://chatgpt.com/cyber). Signing in or providing an API key does not33Cyber](https://chatgpt.com/cyber). Signing in or providing an API key does not


351plugin interpreter. `codexOverrides` merges supported values into the isolated353plugin interpreter. `codexOverrides` merges supported values into the isolated

352Codex configuration. Scans use `gpt-5.6-sol` with extra-high reasoning effort354Codex configuration. Scans use `gpt-5.6-sol` with extra-high reasoning effort

353by default. Set `model` and `model_reasoning_effort` in `codexOverrides` to use355by default. Set `model` and `model_reasoning_effort` in `codexOverrides` to use

354a different model or reasoning effort.356a different model or reasoning effort. To use [Amazon

357Bedrock](https://learn.chatgpt.com/docs/security/cli/reference#use-amazon-bedrock), set

358`model_provider` and `model` in `codexOverrides`.

355 359 

356The client also exposes supported authentication methods:360The client also exposes supported authentication methods:

357 361 

security/security-review.md +86 −0 created

Details

1# Security Review

2 

3> For the complete documentation index, see [llms.txt](https://learn.chatgpt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.

4 

5Security Review is available in research preview.

6It is available to ChatGPT Enterprise, Business, Edu, and Pro customers; it is

7not available on Plus. During the introductory period, Security Review does not

8consume ChatGPT credits. Usage limits may apply.

9 

10Security Review is an additional review for customers that want to

11pay particular attention to security issues in pull requests.

12 

13Security Review goes deeper than [Code

14Review](https://learn.chatgpt.com/docs/third-party/github) on security-specific risks by analyzing the

15pull request diff, supporting repository context, and configured threat models

16or security guidance. Code Review can also identify security-related issues as

17part of its general review, so you may see occasional overlap between findings.

18 

19## Before you start

20 

21To configure automatic Security Review, you need:

22 

23- Security Review research preview access for your workspace

24- [Codex cloud](https://learn.chatgpt.com/docs/cloud) set up with a connected GitHub repository

25- GitHub push or admin permission for the repository settings

26 

27An existing Codex Security scan is optional.

28 

29## Configure Security Review

30 

311. Go to [Codex settings](https://chatgpt.com/codex/settings/code-review).

322. Under **Repository preferences**, choose which pull requests get Security

33 Review:

34 - **Follow personal** lets each contributor opt in with their personal

35 Security Review settings.

36 - **Review all PRs** applies to every pull request in the repository.

37 - **Review team PRs**, when available, applies to pull requests opened by

38 members of your ChatGPT workspace, not members of a GitHub team.

393. Choose when Security Review runs:

40 - **On PR open** runs independently when a pull request is opened.

41 - **Every push** runs independently after new commits are pushed.

42 - **Whenever code review runs** requires Code Review and runs Security Review

43 alongside it.

44 

45## Add threat-model context

46 

47You can configure a threat model to give Codex context about your application's

48assets, trust boundaries, security assumptions, and repository-specific risks.

49If the repository has an existing Codex Security scan configuration, you can use

50its threat model. Otherwise, provide the path to a threat model file checked

51into the repository. If you do not specify a source, Codex regenerates the

52threat model for every review.

53 

54## Set reporting thresholds

55 

56By default, automatic Security Reviews report **High** and **Critical**

57findings, while manually requested reviews report **Medium**, **High**, and

58**Critical** findings. You can change the minimum severity independently for

59automatic and manual reviews, and add path-based overrides.

60 

61Findings posted to a pull request inherit that pull request's GitHub

62visibility. Anyone who can view the pull request can view those findings,

63including on public repositories or pull requests from contributors outside

64your workspace. Choose reporting thresholds carefully for repositories where

65pull request comments may be broadly visible. The reporting threshold controls

66what Codex posts to GitHub; the full Security Review report remains in Codex.

67 

68## Request a Security Review

69 

70To request a Security Review manually, add this comment to a pull request:

71 

72`@codex security review`

73 

74Codex reacts while the review is running, then posts findings that meet your

75manual reporting threshold directly on the pull request. Open the associated

76Codex task and select the **Security Report** tab to view the full report,

77including severity, attack path, supporting evidence, validation, and

78remediation guidance. If no issues meet the reporting threshold, Codex does not

79post findings to the pull request.

80 

81## Related docs

82 

83- [Review GitHub pull requests with Codex](https://learn.chatgpt.com/docs/third-party/github) explains Code Review and the GitHub integration.

84- [Codex Security](https://learn.chatgpt.com/docs/security) gives the product overview.

85- [Codex Security cloud setup](https://learn.chatgpt.com/docs/security/setup) explains repository scans and findings review.

86- [Improving the threat model](https://learn.chatgpt.com/docs/security/threat-model) explains how to tune repository context.