[BUG] Potencial leakage between enterprise account and consumer usage in the same network
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I currently have an enterprise account associated with the company email and I have a pro account associated with a personal email. I don't use these accounts in the same computer, the enterprise one is only accessed on a Mac and used for work stuff and the personal one I use on my personal desktop.
This has happened some other times but I couldn't figure out the pattern. Usually, I finish off work and then start my desktop up and work on a personal project and tho it could have happened before I didn't feel the session hit the limit so quick as I was doing light work. Yesterday, I was doing some late testing for work and at the same time doing more intensive work on my personal project, and both accounts hit the limit at the same time.
Today I decided to do a test, while working I started up my desktop and right after I resumed the session I checked the usage and it was filling up just being idle.
Mac is over Wi-Fi and desktop is through cable.
Additional variables found while writing this bug
On Mac I use VS Code terminal.
On desktop I use Zed.
Both are linked to the same Github account.
Mac uses company's org.
Desktop uses my personal organisation.
Mac (Enterprise account)
<img width="1076" height="250" alt="Image" src="https://github.com/user-attachments/assets/8fa2a1b8-e20f-41a8-8f2d-72b061a1b85e" />
Desktop (Pro account)
<img width="1132" height="315" alt="Image" src="https://github.com/user-attachments/assets/8960ea74-74ce-4938-a355-783ab872409c" />
<img width="1132" height="307" alt="Image" src="https://github.com/user-attachments/assets/56a11279-c667-4c00-99fc-d442b48cce0a" />
<img width="1128" height="309" alt="Image" src="https://github.com/user-attachments/assets/2a91e9e2-8637-4d0a-a060-61c4c70c840a" />
What Should Happen?
Different sessions on different computers over the same internet network using the same github account in different organisations shouldn't share the same tokens usage
Error Messages/Logs
Steps to Reproduce
- Same network
- Mac with enterprise account over Wi-Fi (running on VS Code terminal linked to the company's organisation)
- Desktop with Pro account (different email / billing) through Ethernet cable (running on Zed) using the same github account but linked to another organisation with a free plan
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.210
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_