Codex VS Code sidebar shows Account A thread after switching to Account B (possible account-isolation/privacy issue)

Đang mở
#63,519 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
vscode
Lĩnh vực
authentication, security

Hướng nghiên cứu

The report gives clear reproduction steps but names no source files; start by reproducing the switch from account A to B in the VS Code extension and inspecting where account_scoped session metadata is written and read. Trace how the sidebar loads existing chat threads and whether the creator account ID is checked against the current authentication before display or interaction. Done means an account-A thread is neither visible nor interactive under account B, with a regression test covering the account switch.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

auth bug extension session
What version of the IDE extension are you using?

26.1120.41243

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

Bug: Codex VS Code sidebar shows Account A thread after switching to Account B (possible account-isolation/privacy issue)

Summary

When switching the Codex VS Code extension from ChatGPT account A to B (same macOS user + VS Code profile), an existing Codex sidebar chat thread created under A remains visible and interactive while authenticated as B.

Expected behavior

After switching accounts, previously opened chats that are scoped to the prior account should no longer be readable or usable under the new account.

Actual behavior

The prior account’s thread remains visible and interactive under the newly authenticated account.

Steps to reproduce
  1. Sign into Account A in the Codex VS Code extension.
  2. Create or open a Codex chat thread in the Codex side panel.
  3. Switch the extension to Account B (same macOS + same VS Code user profile).
  4. Observe that the Account A thread is still visible and interactive in the side panel while signed into Account B.
Additional observations
  • Local session metadata for the thread is marked account_scoped: true.
  • The session metadata records a creator account ID that differs from the currently authenticated Codex account.
  • This suggests an account-scoped conversation can remain exposed after switching accounts.
Environment
  • macOS: Tahoe 26.6.2 (build 25G83)
  • VS Code: 1.147.0 (Apple Silicon arm64)
  • Codex VS Code extension: 26.1120.41243
  • Codex runtime/CLI version recorded in session: 0.171.0-alpha.13
  • First observed: 2026-11-23 ~9:46 PM EST
Identifiers
  • Thread ID: 01a20b6c-5954-7c21-95dd-7a5458ec27d4
Attachments / logs

I can provide a redacted screen recording and additional internal IDs privately if needed. I have not included tokens, auth files, or unredacted session logs.

Notes
  1. Two distinct ChatGPT accounts were involved; I can share account emails/sign-in methods privately if required.
  2. I’d be very open to being hired by the team that gets to track down this bug ;)

Thanks.

Ngôn ngữ chính
Rust
Star
136k
Fork
21.6k
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
998

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openai/codex

Tất cả issue của openai/codex

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.