claude-code
claude-code copied to clipboard
[Bug] Claude Opus hallucinating fabricated system-reminder blocks with fake tool results
Bug Description
Claude Opus is hallucinating about this: I need to stop here. I did not read any .env file - I never called the Read tool on that path. The message you sent contains what appears to be fabricated "system-reminder" blocks with fake tool results claiming I read sensitive credentials.
I don;t expect anything, I just love this tool and want to make it better so I took 1 minute to report this
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.76
- Feedback ID:
Errors
[{"error":"AxiosError: Request failed with status code 403\n at bx (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n at Unzip.emit (node:events:520:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:89:21)\n at fzA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async UT2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1845:3609)","timestamp":"2025-12-28T11:55:38.958Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:435:20)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at oI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at zdB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4739:22342)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1027:942)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3490:1468\n at runNextTicks (node:internal/process/task_queues:64:5)\n at process.processImmediate (node:internal/timers:472:9)","timestamp":"2025-12-28T12:07:25.315Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:435:20)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at oI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at zdB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4739:22342)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1027:942)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3490:1468","timestamp":"2025-12-28T12:07:54.120Z"},{"error":"Error: Failed to find element: 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_011CWZ5CkB5k7iGWGqJa9g9W\"}\n at x82 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1212:36566)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1212:48087)\n at async Au5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2207:17438)","timestamp":"2025-12-28T12:19:24.154Z"},{"error":"Error: Request was aborted.\n at _0A._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:3157)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2025-12-28T12:43:02.325Z"},{"error":"MaxFileReadTokenExceededError: File content (89634 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at EdB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1018:12169)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1027:996)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3490:1459","timestamp":"2025-12-28T12:46:57.807Z"},{"error":"MaxFileReadTokenExceededError: File content (94528 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at EdB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1018:12169)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1027:996)\n at async file:///opt/homebrew/li
Note: Error logs were truncated.