In plain words
Your app should never keep anyone's actual password, only a hash: a one-way scramble that can check a password but can't be turned back into it.
Where you see it
Open auth.users in Supabase and the encrypted_password column holds strings starting with $2a$, not real passwords. If one of your own tables has a column of readable passwords, the agent built its own login and got it wrong.
What goes wrong
- Saving the password as plain text
One database leak exposes every password, including the ones people reuse for email and banking.
insert into users (email, password) values ('maya@example.com', 'hunter2'); - Using a fast hash like MD5 or SHA-256
Fast hashes can be guessed billions of times a second. Password hashes like bcrypt and Argon2 are slow on purpose.
- Emailing people their password
Sending someone their password proves you're storing it readably. Send a reset link instead.
What to tell your agent
Quick check
Sign in to earn +10 XP for itA user clicks "Forgot password" in Guildhall and receives an email containing their old password. What does that tell you?