claude-code
claude-code copied to clipboard
[Bug] Unauthorized git push to main branch without user confirmation
Bug Description I never asked Claude to push to main and it merged a working branch without asking
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.34
- Feedback ID: edbce10d-8cce-4948-b314-7ffdd9368e64
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at PD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4413)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4141\n at Array.map (<anonymous>)\n at gC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4132)\n at YSQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1752:6597)\n at rw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:98:19414)\n at yt (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:42806)\n at x9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38347)\n at Np (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38275)\n at J$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38129)","timestamp":"2025-11-06T11:50:17.064Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at PD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4413)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4141\n at Array.map (<anonymous>)\n at gC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4132)\n at YSQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1752:6597)\n at rw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:98:19414)\n at yt (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:42806)\n at x9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38347)\n at Np (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38275)\n at J$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38129)","timestamp":"2025-11-06T11:50:17.757Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at PD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4413)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4141\n at Array.map (<anonymous>)\n at gC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1054:4132)\n at YSQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1752:6597)\n at rw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:98:19414)\n at yt (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:42806)\n at x9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38347)\n at Np (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38275)\n at J$ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:100:38129)","timestamp":"2025-11-06T11:50:48.972Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth token has expired. Please obtain a new token or refresh your existing token.\"},\"request_id\":\"req_011CUrkPAEdREhVttRxUrh5x\"}\n at L4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:428:26169)\n at q_.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:707:2117)\n at q_.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:707:5341)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async FrA.model (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3523:14692)\n at async FrA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2026:39781)\n at async xa2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3523:14846)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3523:8667\n at async Y00 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3523:1970)\n at async D6A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3523:8637)","timestamp":"2025-11-06T13:54:22.435Z"},{"error":"FaA: Failed to install new version of claude: npm error code ECONNRESET\nnpm error syscall read\nnpm error errno -54\nnpm error network read ECONNRESET\nnpm error network This is a problem related to network connectivity.\nnpm error network In most cases you are behind a proxy or have bad network settings.\nnpm error network\nnpm erro
Note: Error logs were truncated.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.