SpinTheMic
Pro

Interview practice question

Passwords appear in logs

Backend Engineering · Auth and Security · Beginner

You find user passwords and tokens appearing in your application logs. What do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Stop logging them (fix code).
  • Redact/mask in logging layer.
  • Purge affected logs.
  • Rotate exposed tokens; consider password resets.
  • Restrict log access.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics