Rank, 14 days: 139 on the Claude Code sheet
2 people reported
All time, since Oct 13.
OAuth token removed from subprocesses
“Claude Code removes CLAUDE_CODE_OAUTH_TOKEN from the environment of the shells its Bash tool runs, although CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is not set.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/12236/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
OAuth token missing from subprocess environments without scrub enabled. Bash tool shells, subagents, hooks and MCP servers lack the variable although the parent process has it; a nested claude -p falls back to the stored /login credential.
Is this your bug?
File my report- Where
- Bash tool
- Versions
- 2.1.296 to 2.1.321
- Platforms
- Linux, macOS
- How bad
- Breaks a normal workflow.