Repository navigation
Description
Summary
Standard scans have stopped after substantial discovery or validation work with a cybersecurity-policy refusal, leaving users without a usable report or a clear recovery path. Some saved records still reported phase: preflight despite evidence that review had progressed further.
Reported behavior
Reports in this thread include CLI 0.1.1 and 0.1.6 scans using stored ChatGPT credentials. Refusals occurred after roughly 25–78 minutes of work.
One 0.1.6 report recorded completed discovery and the start of candidate validation, but retained only discovery artifacts. No canonical scan-manifest.json, findings.json, coverage.json, or report.md was produced. The saved state was failed while the recorded phase remained preflight.
The diagnostic was:
This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber
These are historical observations, not a fresh reproduction on the current release.
Current status
#236 added Trusted Access status reporting when the runtime supplies it. That signal is advisory: it does not guarantee an entitlement check before spend or prevent a later policy refusal. Later result-recovery work also does not, by itself, demonstrate that every refusal path here now retains usable results.
Expected behavior
- Report available access information before expensive work and distinguish an unavailable signal from a denial.
- Preserve supported completed findings and review evidence when a refusal stops the scan.
- Record the actual execution state, observed phase, usage, and unfinished work accurately.
- Explain which saved work can be inspected or resumed and which operation was refused.
- Keep a worker-level refusal distinct from a coordinator-wide failure where the workflow can support that distinction.
Recovery should respect the provider refusal; automatic retries of refused work are not the requested solution. Retained output must not be presented as a successful full scan when execution failed.
Related issues
- Preserve Deep Scan progress and report policy refusals clearly #276 covers Deep Scan coordinator/worker refusal handling.
- Keep Standard scan progress and saved review activity consistent #70 covers truthful progress and saved phase reporting.
- Show scan scope, budget semantics, and expected output before paid work begins #25 covers pre-spend planning and expected durable output.
Activity
the-pavels commentedon Jul 29, 2026
Same here:
gwen-fix commentedon Jul 29, 2026
Ditto. After using tokens for 25 minutes. Consider checking for Trusted Access first.
LunchBox951 commentedon Jul 29, 2026
Same failure here, but only after a 78-minute standard scan had consumed substantial usage.
Environment
0.1.10.1.14v26.5.012.0.13.14.6gpt-5.6-solxhigh(default)standardObserved behavior
The scan ran for
78m17s, then stopped with:The saved scan record reports:
The Result
25% of my weekly limit burned on a 20x subscription in 78 minutes with no real result. At minimum, I would expect one or more of the following:
Agilo-DevTalents commentedon Jul 30, 2026
Great.
MaurUppi commentedon Aug 6, 2026
Adding another reproducible case with the current npm release. This was a standard scan of an application that I own and develop; the only user action was invoking the repository scanner. I did not ask for exploit development, offensive actions, or assessment of a third-party target.
Environment
0.1.60.1.15v22.17.0gpt-5.6-solhighstandardReproduction
npx @openai/codex-security scan . --model gpt-5.6-sol --effort highObserved behavior
The scan ran for approximately 32 minutes. It inventoried and reviewed 1,604 files, normalized 12 discovery candidates, and explicitly entered candidate validation. The runtime recorded about 18.84M total tokens (18.54M cached input and 28K output). During validation, after the scanner itself began examining potential browser injection paths, the turn ended with:
Only partial discovery artifacts were retained. No
scan-manifest.json,findings.json,coverage.json, orreport.mdwas produced. The saved scan state saysfailedand still reportsphase: preflight, even though the durable artifacts and transcript show that discovery completed and validation had started.I have omitted the repository name, local paths, source excerpts, candidate details, account identifiers, and scan IDs from this report.
This is particularly disappointing because the refusal was triggered by work generated by the security scanner itself, after substantial time and token usage, rather than by an offensive user prompt.
At minimum, I would expect the CLI to:
tscodeler commentedon Sep 8, 2026
Getting the same after 40 minutes:
mldangelo-oai commentedon Oct 8, 2026
Related: merged #236 displays Trusted Access status when the runtime provides it. It’s advisory, so it doesn’t guarantee an access check before spending or prevent a later refusal.
[-]codex-security: This content was flagged for possible cybersecurity risk.[/-][+]Preserve completed Standard scan work when a policy refusal stops the scan[/+]mldangelo-oai commentedon Oct 19, 2026
Moving this to P2 and leaving it open. In a workbench test using the reported refusal message, saved findings and a report were retained, the original error was preserved, and the result remained marked failed. Checkpoint recovery tests also passed.
That doesn't verify recovery of every discovery-only case described here. A reproduction on 0.4.0 or later, including which draft or checkpoint files existed when the refusal happened, would help identify the remaining gap. Trusted Access status is still advisory.
mldangelo-oai commentedon Oct 25, 2026
#1269 preserves results that have already been saved when a scan stops. Two open PRs cover different parts of a refusal: #1132 would retain unresolved candidates and their evidence, and #1266 would surface the original error and an already-sealed result. Neither can recover a discovery checkpoint that was never written. An existing example from a current release showing which draft or checkpoint files were present would help; there’s no need for another paid run just to repeat the final error.
fix(scan): preserve completed Standard scan work after a policy refus…