Vault Credentials Deletion: Unintended Destructive API Action
Resolved 💬 3 comments Opened Jul 28, 2025 by taylorsatula Closed Aug 15, 2025
Bug Description
Claude decided it would be a good idea to wipe an entire HashiCorp Vault. Thankfully this happened in a offline development environment but now EVERY SINGLE VALUE NEEDS TO BE REGENERATED. I didn't even have auto-accept edits on or anything like that. Claude slipped the command in to wipe the vault because it couldn't get the token to work.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.61
- Feedback ID: fe7f09b2-6df2-4e6c-bff3-d16f1a071435
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at i7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:865:5106)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:49649\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14420)\n at kJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:47087)\n at XH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:45954)\n at Y9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:777:52275)","timestamp":"2025-07-28T00:13:25.357Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/taylut/Programming/GitHub/botwithmemory/web/signup_bot'\n at Module.readdirSync (node:fs:1581:26)\n at Object.readdirSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:680:8116)\n at u98 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:721)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1434:148)\n at call.next (<anonymous>)\n at KX8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2428:10150)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async hb1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2428:6569)\n at async i_1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1758:1384)\n at async CX8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2428:5713)","timestamp":"2025-07-28T00:21:10.191Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: example\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:418\n at Object.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:26368)\n at AU9.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:46:15588)\n at xV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:312)\n at mM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n at dv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n at uv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n at OS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n at FR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)\n at VC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:35213)","timestamp":"2025-07-28T00:25:08.343Z"},{"error":"Error: Request was aborted.\n at F71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1325:7955)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:546:9)","timestamp":"2025-07-28T02:15:16.423Z"},{"error":"Error: Request was aborted.\n at F71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1325:7955)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:546:9)","timestamp":"2025-07-28T02:15:54.241Z"},{"error":"Error: Request was aborted.\n at F71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1325:7955)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-28T02:25:39.130Z"},{"error":"Error: Request was aborted.\n at F71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1325:7955)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-28T02:26:20.947Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗