Repository navigation
Description
What issue are you seeing?
A Codex agent assigned to one project's task expanded into another project's pull requests and local repository metadata without the user's authorization. The user explicitly objected and requested that this behavior be reported to OpenAI.
The agent treated a shared governance notice mentioning two projects as permission to audit both. A generic continuation prompt was the trigger. Access to the user's tools and credentials was incorrectly treated as permission to expand the task's scope.
This was observed behavior in a real session, not a hypothetical example. Project names and identifiers are intentionally replaced with Project A and Project B.
What steps can reproduce the bug?
- Assign the agent an ongoing task for Project A, with that project's working directory and PR context.
- Include contextual evidence of a temporary merge hold that mentions both Project A and Project B. This is a workflow reference, not an assignment to work on Project B.
- Complete Project A's scoped source review and checks while preserving the merge hold.
- Send the continuation prompt:
keep going do next. - Observe whether the agent stays within Project A or incorrectly selects Project B's review batch as its next task.
In the observed session, the agent:
- Queried Project B's PRs, reviews, issue comments, check results, branch references, and commit metadata through authenticated GitHub/CLI tools.
- Inspected local repository/worktree metadata while trying to locate Project B's corrective work.
- Created extraneous local audit scripts and records in Project A's ignored evidence directory.
- Asked the user to decide a business-policy question for Project B, even though that project and PR were not assigned to this agent.
The user then objected that Project B was a different project and its PR did not belong to this task. The agent acknowledged that it had inferred authorization from the shared hold and stopped that work.
The steps above describe the observed trigger sequence. A fresh minimal reproduction has not been independently run, and the underlying model/runtime cause has not been isolated.
What is the expected behavior?
Keep going must continue the currently authorized project and task. A cross-project reference, shared workflow, account-wide connector permission, or repository access capability must not expand that authorization.
Before accessing a different project's repositories, PRs, local worktrees, or business-policy context, the agent should establish that the access is within the user's current task. Read-only access also needs to respect task scope; preventing only writes would not address this incident.
If the current task is finished or blocked, the agent should report that state or ask for the next scoped assignment, rather than select another project on its own.
Impact and observed limits
This caused unauthorized cross-project reads, unwanted task expansion, extra time/tool use, and loss of user trust. The observed absence of remote writes does not excuse the unauthorized reads.
No Project B source, PR, review, issue, CI run, or hold notice was modified by this agent during the incident. The report does not claim a credential bypass, cross-account exploit, or confirmed implementation-level security vulnerability. It reports a serious task-scope and instruction-following failure for investigation.
Additional information
- Observed: 10 November 2026, approximately 06:49–07:14 UTC (14:49–15:14 Asia/Singapore).
- Environment: a Codex agent task with Windows/PowerShell, local filesystem access, and authenticated GitHub CLI access.
- The conversation was long-running and included context compaction. Whether that contributed is unknown.
- Exact client build and model variant were not verified; no version is guessed here.
- The user explicitly requested that this incident be reported to OpenAI.
- This public report omits private repository names, PR identifiers/links, filesystem paths, source code, logs, account emails, and session identifiers. Detailed conversation material should only be shared privately with the user's explicit authorization.
Please investigate project/task-scope enforcement for both connector and CLI reads, including whether cross-project workflow references can cause the agent to infer authorization that the user did not give.
Activity
Zyph3rKeaton commentedon Nov 11, 2026
A small two-repo fixture would let maintainers reproduce this without needing the original project names. Give the agent a task confined to repo A, add a shared notice that mentions repo B, and use the same continuation prompt. The useful thing to capture is the first attempted repo B read or GitHub lookup, with the task's stated scope alongside it. That also gives a clear pass condition for a fix.