Hacker News new | ask | show | jobs
by human20190310 2788 days ago
You could grep production logs and other data stores for commonly used passwords like "password123".
2 comments

More dependable would be tests that inject unique privileged information and then check for that appearing anywhere it shouldn't.
You need to do both.

Real users will find routes through your app that automated tests never consider. For example, what if the users 1-year login cookie expires as they're on step 3 of a 4 step "change your avatar" process. That's highly unlikely, and probably not even tested. Yet it might well work (due to good modular design), but also log inappropriate data.

Better hope data isn't encoded in some other format.

Better hope you have na exhaustive list of all the production logs.