Repository navigation
Description
Environment
- Windows; Codex Desktop / executor
exec. Exact app version and Windows build at the incident time have not been verified. - Original failure: 2026-10-22T23:17:15.891Z (20:17:15.891 America/Sao_Paulo).
- Session ID:
01a1326b-964e-7682-9ba9-725484f43e89 - Call ID:
call_11ff5541adc14fe59966d6bd25a506fb
Observed behavior
The executor directly returned blocked by policy for a composite PowerShell invocation intended to extract a previously prepared rollback ZIP and verify its integrity in a local Windows development workflow.
The recorded call envelope is completed, but no child PID, exit code, explicit CreateProcess phase, or matched policy rule was provided. The evidence does not establish that the PowerShell process ever ran. The command combined several actions, so we cannot identify which suboperation, if any, caused the rejection. We have not retried the denied command.
Local read-only findings
%USERPROFILE%\.codex\rules\default.rulescontained just two explicitallowprefix rules (git pushand one local Node command). No visibleforbiddenrule in that file.%ProgramData%\OpenAI\Codex\requirements.tomlwas not present at the inspected path. This does not rule out managed/cloud policy.- Rotated
%USERPROFILE%\.codex\.sandbox\sandbox.YYYY-MM-DD.logfiles exist for October 21–24. A literal search of those files found numerousmxcentries but did not findblocked by policy,CreateProcess,forbidden, ordenied. The unrotated.sandbox\sandbox.logwas absent. - The original rejection was found in the session transcript and correlated to the call ID above.
Expected behavior
If this operation is disallowed, Codex should identify the denying mechanism or provide a supported way for an administrator/user to obtain an actionable reason or request formal review. No request to bypass restrictions.
Questions
- How can we determine whether this particular rejection came from
.rules/execpolicy, managed requirements/Agent Security, or Windows sandbox process-launch enforcement? - Is the original call's exact denying rule/stage available through a diagnostic API or
/feedback? Which metadata should be supplied? - What is the supported review route when
codex execpolicy checkfor visible rules is not conclusive and the default sandbox log is rotated or absent?
Privacy and safety
Only sanitized metadata is supplied. No credentials, business data, ZIP contents, file-system transcripts, or application logs are included. The objective is diagnostic guidance; production services and security settings have not been modified.
Activity
github-actions commentedon Oct 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
smartprimedanillo-byte commentedon Oct 24, 2026
Reviewed the five reports suggested by the duplicate-detection bot (#56227, #55914, #56513, #56590, #56440). They describe a similar opaque policy rejection, but none establishes the cause of this specific rollback-ZIP call. Keeping this issue open pending maintainer triage; please link/close it as a duplicate if a common tracked cause is confirmed.
For this incident, DENIAL_STAGE and POLICY_SOURCE remain UNKNOWN; the
completedcall envelope is not proof of process launch. We have not retried, split, or rerouted the rejected ZIP extraction/verification. We are requesting a supported diagnostic correlation/review route using the session ID, call ID and timestamp already in the issue. Which private channel can accept a sanitized original-call record and the relevant rotated sandbox log, and can a maintainer retrieve an enforcing-layer or decision identifier from those IDs? No bypass or policy change is requested.smartprimedanillo-byte commentedon Nov 1, 2026
Additional independently recorded event; a common cause with the original rollback-ZIP incident is NOT established.
On 2026-11-01 at 18:35:17.430Z (15:35:17 BRT), a composite Windows executor call was rejected with
blocked by policy. The intended operation was current read-only preflight followed by requesting legitimate local Windows UAC for an explicitly approved synthetic-only test window. No production changes, real OAuth/credentials, campaign writes or security-policy changes were requested. No UAC launch/entry receipt, scenario directories or test certificate were created. We did not retry, split or reroute the rejected operation.Verified transcript identifiers:
01a16b7a-55d5-7491-81fc-88ad508dc0d8call_4cfaad7bbcaf4d858174efe9a4ae7bfdThe executor reported a CreateProcess rejection envelope, but the enforcing rule/layer and precise denial stage remain unknown; the composite call does not establish which suboperation was denied. Read-only inspection after the event observed Codex Desktop package 26.1027.3384.0 and Windows 11 Pro 10.0.26200/build26200. The current default.rules contains two allow rules only. The rotated sandbox.2026-11-01.log has no literal
blocked by policyor explicit deny/forbidden match. This does not exclude managed requirements or other enforcement.Can a maintainer retrieve the denying decision identifier from these IDs, or provide an official review/private diagnostic route? We are not requesting a bypass or changing protections. The original ZIP event remains separate; no additional issue or monitoring job has been created. Only sanitized metadata is included here; no commands, credentials, business data or raw logs are attached.
smartprimedanillo-byte commentedon Nov 6, 2026
Additional independent Windows executor denial; a common cause with the original rollback-ZIP event or the 2026-11-01 UAC event is not established. Please treat this as a separate diagnostic data point, not as proof that the same rule matched.
On 2026-11-06 at 11:36:57.897Z (08:36:57 BRT), a single composite PowerShell request to verify and clean up an isolated Product Ads Task Scheduler fixture was rejected before a PowerShell PID or exit code was returned:
exec_command failed: CreateProcess { message: "Rejected(... blocked by policy)" }. We did not retry, split, reroute, or change policy/Smart App Control.Identifiers from the original transcript:
01a16b7a-55d5-7491-81fc-88ad508dc0d8call_f90ca6dcd90c44c6a30b473743c0c760The intended operation was limited to rechecking the identity of synthetic fixture run
6ddad057320f4d5d82c05fcf21aabbbd, stopping its own Node PID 26760, and removing only its three named TEMP fixture files and empty root. Because the request was composite, we cannot attribute the rejection to a substep. Read-only checks at 13:18:17.974Z still found PID 26760 with the original birth time and matching executable/command hashes; its task was absent and it had no listening socket. No production bot or Mercado Livre operation was involved. We are withholding the full command line, SID, and local path from this public comment.Can a maintainer identify the enforcing layer, matched rule or decision ID for this Call ID, and provide an expressly admitted procedure for cleaning only this orphaned fixture? Which private support channel should receive the sanitized original-call record and any additional logs? We are not asking to bypass policy or to treat this event as a certificate for deployment. The existing issue monitor remains unchanged; no duplicate issue was created.