If someone copied your user table tonight, what would they get?

If your app stores passwords properly, they get a pile of values that are very hard to turn back into passwords. If it stores them badly, they get a list of every user's real password, and people reuse passwords, so the damage spreads to other sites too.

Why it matters with AI-built apps

Most AI builders use a managed login service, and then you are fine. But if your builder wrote its own login code, or you added a custom table of users, it may have taken a shortcut: plain text, a fast hash like MD5 or SHA-256 with no salt, or a home-made scheme. The app works the same either way, so you never see the difference.

How to check your own app

  1. Find out how login works in your project. Is it a managed service (such as your auth provider), or code in your own repo?
  2. If it is your own code, open the sign-up function and see what is written to the database. Is the password stored as typed, or run through a function first?
  3. Look at the function name. Good choices are argon2, scrypt or bcrypt. Weak choices are plain text, MD5, SHA-1 and a single round of SHA-256.
  4. Look in a test user's row in your database. A long random-looking string that starts with a marker such as $argon2 or $2b$ is a good sign. A short value that matches the password's length is not.
  5. Check your logs and error tracking. Are passwords written there when a login fails?

What to look for

  • A column named password that holds readable text.
  • A general-purpose hash function used instead of a password hashing function.
  • No per-user salt, or one shared salt for everybody.
  • Password values in logs, analytics or error reports.
  • A "send me my password" feature. If the app can email you your password, it stores it in a readable form.

How to fix it

  • Use your auth provider's built-in login if you can. It is the safest option.
  • If you must store passwords yourself, use argon2id, scrypt or bcrypt through a well-known library. Never write your own.
  • When a user next signs in, re-hash their password with the new method and replace the old value.
  • Remove passwords from logs and error reports.
  • Replace "email me my password" with a reset link that expires.

A prompt you can paste into your AI builder

"Show me exactly how passwords are stored in this project. If we use our own login code, replace it with a managed auth provider or with argon2id through a maintained library. Never log passwords or send them by email. Add a migration that re-hashes old passwords at next sign-in, and a reset-link flow in place of any feature that reveals a password."

What a scanner can and cannot tell you

An outside scan of your public pages cannot see your user table or your login code, and it does not sign in. How passwords are stored is something only a look inside your project can answer.

I work on ProofForge. The free scan covers what a visitor can see and says plainly what it could not check.

Check your own app from the outside, free. Run the free ProofForge scan on your live URL. No account needed for the first scan. It looks at your public site the way a stranger would and says pass, fail or inconclusive, so you know what is confirmed and what it could not see. One-time reports start at $9: see pricing. Building with an AI agent? There is an MCP server so it can check before it deploys.