Repository navigation
Description
This is a documentation and compatibility question, not a reproduced vulnerability report. No second-user installation, sandbox test or service change has been performed.
Context: Store package OpenAI.Codex 26.1027.3384.0 ARM64. We are assessing whether the entire desktop client and its helpers can run in a separate standard Windows profile while preserving an existing user's installation and private resources. Both profiles would encounter the same package-family machine service.
Public source reviewed at f58acd6:
- Service caller checks bind the pipe client process/package and impersonated user token.
- package_lifecycle::register_authenticated_user rejects a different registered owner/home; runtime_ownership::admit_owner also requires matching owner/home/family.
- service_identity.rs describes package-scoped service/pipe naming with shared sandbox accounts.
- Registered Core admission requires the service's installed package version; service-unavailable handling refuses helper fallback in that mode.
Sources:
codex/codex-rs/windows-sandbox-service/src/package_lifecycle.rs
Lines 87 to 109 in f58acd6
| pub(crate) fn register_authenticated_user( | |
| &self, | |
| mut record: InstallationRecord, | |
| user_token: OwnedHandle, | |
| ) -> Result<InstallationRecord> { | |
| let mut active = self.installation.borrow_mut(); | |
| let previous = match active.as_ref() { | |
| Some(installation) => Some(installation.record.clone()), | |
| None => crate::installation_record::load()?, | |
| }; | |
| if let Some(previous) = previous { | |
| // A missing watcher does not retire its owner; other clients can use elevated setup. | |
| ensure!( | |
| previous.user_sid == record.user_sid && previous.codex_home == record.codex_home, | |
| crate::ipc::ServiceUnavailable( | |
| "installation is already registered to a different owner or home" | |
| ) | |
| ); | |
| record.desktop_installation = previous | |
| .desktop_installation | |
| .or(record.desktop_installation); | |
| } | |
| record = crate::installation_record::save(record)?; |
codex/codex-rs/windows-sandbox-rs/src/runtime_ownership.rs
Lines 114 to 129 in f58acd6
| pub fn admit_owner(&self, owner: &InstallationRecord, family: &str) -> Result<()> { | |
| ensure!( | |
| self.user_sid == owner.user_sid | |
| && self.codex_home == owner.codex_home | |
| && self.runtime()?.package_family.eq_ignore_ascii_case(family), | |
| "registered sandbox resources belong to a different owner or package" | |
| ); | |
| ensure!( | |
| self.runtime()?.retiring.is_none() | |
| && self | |
| .runtime()? | |
| .accounts | |
| .iter() | |
| .all(|account| !account.cleanup_logon_pending), | |
| "registered sandbox cleanup must finish before provisioning" | |
| ); |
#45542
We have not established that this source revision is the revision shipped in the package above. Generic MSIX per-user registration and command sandbox documentation do not answer the whole-client question. Existing public reports #46370 and #53132 describe installation/update failures; we are not asserting their causes or fixes apply to this build.
Please clarify the following, with version-specific documentation or source references where available:
Q1. Version provenance and supported topology
For Store package OpenAI.Codex 26.1027.3384.0 ARM64, which public service/Core revision and runtime mode are shipped, and is using two independent standard Windows profiles on one device with the same package-family LocalSystem service a supported topology? Please identify the supported versions and any written security/support contract.
Q2. Owner admission and privileged operations
Public package_lifecycle::register_authenticated_user and InstallationRecord::admit_owner require one matching owner SID/home, while registered Core refuses helper fallback. What is the supported result when a second user provisions or launches the client while another owner is registered, and which safeguards ensure no ownership takeover, account rotation, legacy fallback or unintended LocalSystem operation occurs?
Q3. Resource confidentiality and path safety
With shared managed sandbox accounts, what enforced boundary separates each interactive user's configuration, credentials, runtime/profile state, sessions, logs and generated files, including privileged pathname/leaf-file operations, and what assurance applies to resources belonging to another user?
Q4. Concurrent lifecycle
Are concurrent interactive sessions and fast user switching supported, and how are requests, setup locks, shared accounts and cleanup kept safe when one user logs off, uninstalls or reinstalls while the other remains active?
Q5. Registration and elevation effects
When the current package is already staged and registered to one user, what exact supported steps make it available to a second standard user, which require administrator approval, and can those steps replace/reconfigure/restart the existing service or alter the first user's package registration or sandbox ownership?
Q6. Update continuity
For in-app, Store and managed updates, what is the shared service stop/replace/restart sequence and cross-user coordination policy, including pending requests, active commands, deferred registration and safe failure when any session still runs the old package?
Q7. Version and channel coexistence
Can two profiles independently retain different package versions or separate Codex channels with this machine service and shared sandbox accounts, and what supported compatibility or rejection rules prevent either profile from forcing changes on the other?
Q8. Failure recovery and rollback
In light of issues #46370 and #53132, what supported non-destructive recovery and rollback procedure restores all prior user registrations, service state, runtime accounts/ownership and local data after second-user registration or an interrupted update, and which affected/fixed versions are confirmed?
Q9. Whole-client helper boundaries
Which desktop, app-server, terminal, browser/native-host, local MCP and connector components execute outside the requesting profile or reuse another profile's sessions, and what separately enforced controls are required for a dedicated profile to exclude another user's protected local evidence and connected resources?
Desired outcome: a supported/unsupported determination for this exact two-user topology, the shipped source/runtime mapping, and a documented preparation/update/recovery boundary that protects the original user's installation. If unsupported, please say whether another officially supported isolation topology is required.
No private logs, local paths, account identifiers, credentials or internal evidence are attached. We are not requesting permission to bypass the single-owner guard or use community service/registry workarounds.
Activity