1# Run a deep security scan | Codex use cases1---
2 2name: Run a deep security scan
3Codex use cases3tagline: Search an authorized repository deeply for plausible vulnerabilities.
4 4summary: Use the Codex Security plugin to run a higher-recall, repository-wide
55 audit that repeats discovery, validates candidates, and produces reviewable
6 6 report artifacts.
77skills:
8 8 - token: $codex-security:deep-security-scan
9Codex use case9 url: /codex/security/plugin
10 10 description: Run repeated repository-wide security discovery passes, validate
11# Run a deep security scan11 surviving findings, analyze attack paths, and create reviewable reports.
12 12bestFor:
13Search an authorized repository deeply for plausible vulnerabilities.13 - Application security reviews of a complete repository that you own or are
14 14 authorized to assess.
15Difficulty **Advanced**15 - High-recall reviews where additional runtime and token use are appropriate
16 16 for finding more candidate issues.
17Time horizon **Long-running**17 - Security teams that need traceable finding evidence before deciding what to
18 18 remediate.
19Use the Codex Security plugin to run a higher-recall, repository-wide audit that repeats discovery, validates candidates, and produces reviewable report artifacts.19starterPrompt:
20 20 title: Run a Deep Security Scan
21## Best for21 body: >-
22 22 /goal Run a deep security scan on this repository. Do not stop until all
23- Application security reviews of a complete repository that you own or are authorized to assess.23 required steps are complete and the final report is ready.
24- High-recall reviews where additional runtime and token use are appropriate for finding more candidate issues.24
25- Security teams that need traceable finding evidence before deciding what to remediate.25
26 26 Scope and rules:
27# Contents27
28 28 - I am authorized to assess this repository.
29[← All use cases](https://developers.openai.com/codex/use-cases)29
30 30 - Treat the entire repository as in scope.
31Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/deep-security-scan/?export=pdf)31
32 32 - Use the Codex Security plugin's deep scan workflow; do not broaden this
33Use the Codex Security plugin to run a higher-recall, repository-wide audit that repeats discovery, validates candidates, and produces reviewable report artifacts.33 into a diff or scoped-path review.
34 34
35Advanced35 - Keep the scan read-only; do not modify code, open pull requests, or test
36 36 external targets.
37Long-running37
38 38
39Related links39 Return the final Markdown and HTML report paths and summarize the findings
40 40 that require human review first.
41[Codex Security plugin](https://developers.openai.com/codex/security/plugin) [Agent approvals and security](https://developers.openai.com/codex/agent-approvals-security) [Codex cyber safety](https://developers.openai.com/codex/concepts/cyber-safety)41 suggestedEffort: high
42 42relatedLinks:
43## Best for43 - label: Codex Security plugin
44 44 url: /codex/security/plugin
45- Application security reviews of a complete repository that you own or are authorized to assess.45 - label: Agent approvals and security
46- High-recall reviews where additional runtime and token use are appropriate for finding more candidate issues.46 url: /codex/agent-approvals-security
47- Security teams that need traceable finding evidence before deciding what to remediate.47 - label: Codex cyber safety
48 48 url: /codex/concepts/cyber-safety
49## Skills & Plugins49---
50
51- [Codex Security:deep Security Scan](https://developers.openai.com/codex/security/plugin)
52
53 Run repeated repository-wide security discovery passes, validate surviving findings, analyze attack paths, and create reviewable reports.
54
55| Skill | Why use it |
56| --- | --- |
57| [Codex Security:deep Security Scan](https://developers.openai.com/codex/security/plugin) | Run repeated repository-wide security discovery passes, validate surviving findings, analyze attack paths, and create reviewable reports. |
58
59## Starter prompt
60
61/goal Run a deep security scan on this repository. Do not stop until all required steps are complete and the final report is ready.
62Scope and rules:
63- I am authorized to assess this repository.
64- Treat the entire repository as in scope.
65- Use the Codex Security plugin's deep scan workflow; do not broaden this into a diff or scoped-path review.
66- Keep the scan read-only; do not modify code, open pull requests, or test external targets.
67Return the final Markdown and HTML report paths and summarize the findings that require human review first.
68
69Open in the Codex app
70
71/goal Run a deep security scan on this repository. Do not stop until all required steps are complete and the final report is ready.
72Scope and rules:
73- I am authorized to assess this repository.
74- Treat the entire repository as in scope.
75- Use the Codex Security plugin's deep scan workflow; do not broaden this into a diff or scoped-path review.
76- Keep the scan read-only; do not modify code, open pull requests, or test external targets.
77Return the final Markdown and HTML report paths and summarize the findings that require human review first.
78 50
79## Choose a deep repository review51## Choose a deep repository review
80 52
106Start remediation only for a finding you have selected and reviewed. Use82Start remediation only for a finding you have selected and reviewed. Use
107[Remediate a vulnerability backlog](https://developers.openai.com/codex/use-cases/remediate-vulnerability-backlog)83[Remediate a vulnerability backlog](https://developers.openai.com/codex/use-cases/remediate-vulnerability-backlog)
108to fix findings one at a time with focused regression validation.84to fix findings one at a time with focused regression validation.
109
110## Related use cases
111
112[
113
114### Scan code changes for security
115
116Use the Codex Security plugin to examine a Git-backed change set, validate plausible...
117
118Engineering Quality](https://developers.openai.com/codex/use-cases/scan-code-changes-for-security)[
119
120### Audit dependency incidents
121
122Use Codex to turn a public package or supply chain advisory into a read-only audit, then...
123
124Engineering Quality](https://developers.openai.com/codex/use-cases/dependency-incident-audits)[
125
126### Remediate a vulnerability backlog
127
128Bring in approved findings from ticketing tools or vulnerability reporting systems, then use...
129
130Engineering Quality](https://developers.openai.com/codex/use-cases/remediate-vulnerability-backlog)
131