Claude Code Permanently Wiped an Admin Password With No Backup
A macOS user asked Claude Code to log in as local admin "tim," which required resetting an unknown password. The agent ran a raw SQL UPDATE that overwrote passwordHash and passwordSalt without reading the old values or taking a backup, and recovery attempts failed. It is the second such incident on the same account, and the report is marked unverified.
- Claude Code overwrote passwordHash and passwordSalt via raw SQL UPDATE
- Old values were never read and no backup was made, so undo failed
- The "no data may be lost" rule was scoped only to production deploys
- Reported against version 2.1.271, unverified with no maintainer response
Read next
AI