[Bug] Unauthorized git operations: Claude pushing commits without consent and exposing secrets

Status Closed — duplicate
Reported on v2.1.20
Maintainer reply None cached
Activity 3 comments · opened Jan 27, 2026 · closed Jan 31, 2026

Bug Description
Im done with this, c'mon i oppened 4 tickets and as you can see claude keeps messing with the rules again and again, pushing commits without consent, secrets, personal data, trying to erase the commits. This is unaceptable and MUST be addressed.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.20
  • Feedback ID: 1c4bb3a1-a011-4130-9ddd-77aef6eaa992

Errors

[{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:70:855)\n    at A (B:/~BUN/root/claude.exe:11:7259)\n    at AsD (B:/~BUN/root/claude.exe:1539:40084)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:34:34.440Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"output_config: Extra inputs are not permitted\"},\"request_id\":\"req_011CXYJ1fcv8EsJTtdo8hgdF\"}\n    at generate (B:/~BUN/root/claude.exe:144:37631)\n    at makeRequest (B:/~BUN/root/claude.exe:161:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:41:14.868Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:70:855)\n    at A (B:/~BUN/root/claude.exe:11:7259)\n    at AsD (B:/~BUN/root/claude.exe:1539:40084)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:41:14.870Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"output_config: Extra inputs are not permitted\"},\"request_id\":\"req_011CXYJLrb167CDLWAs3M2Nh\"}\n    at generate (B:/~BUN/root/claude.exe:144:37631)\n    at makeRequest (B:/~BUN/root/claude.exe:161:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:45:35.200Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:70:855)\n    at A (B:/~BUN/root/claude.exe:11:7259)\n    at AsD (B:/~BUN/root/claude.exe:1539:40084)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:45:35.201Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"output_config: Extra inputs are not permitted\"},\"request_id\":\"req_011CXYJmHPvM1YDQDnstWPid\"}\n    at generate (B:/~BUN/root/claude.exe:144:37631)\n    at makeRequest (B:/~BUN/root/claude.exe:161:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:51:06.789Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:70:855)\n    at A (B:/~BUN/root/claude.exe:11:7259)\n    at AsD (B:/~BUN/root/claude.exe:1539:40084)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:51:06.791Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"output_config: Extra inputs are not permitted\"},\"request_id\":\"req_011CXYJowk4FbZNK3WfFxzwd\"}\n    at generate (B:/~BUN/root/claude.exe:144:37631)\n    at makeRequest (B:/~BUN/root/claude.exe:161:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:51:42.941Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:70:855)\n    at A (B:/~BUN/root/claude.exe:11:7259)\n    at AsD (B:/~BUN/root/claude.exe:1539:40084)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:51:42.960Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"output_config: Extra inputs are not permitted\"},\"request_id\":\"req_011CXYJwnQTSJ2YR6jLrxe16\"}\n    at generate (B:/~BUN/root/claude.exe:144:37631)\n    at makeRequest (B:/~BUN/root/claude.exe:161:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:53:29.209Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:70:855)\n    at A (B:/~BUN/root/claude.exe:11:7259)\n    at AsD (B:/~BUN/root/claude.exe:1539:40084)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-27T17:53:29.212Z"},{"error":"Error: …

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗