Video in progress

Strong Middle 🤝 Soft skills

If you find a serious bug or a security hole in another team's service, what do you do?

I quickly check the impact, then write to the service owner with evidence and reproduction steps. If it's a security issue, I report it through a private channel, not an open one, and tell the security team right away. I don't quietly fix it myself.

📖 Answer

Say that while integrating you notice that another team's /api/users/{id} endpoint doesn't check the token owner, so any user can fetch another person's profile (an IDOR).

My order of steps:

  1. First I confirm it, without breaking anything: once, in a test environment, with my own test accounts. "Trying out" other people's data on prod isn't needed and is legally risky too.
  2. I don't post a security hole in a general Slack channel. I write directly to the security team or the lead of the service owner; there's often a separate ticket type for this.
  3. The message has everything: which endpoint, what request, what came back, what was expected, roughly how big the impact is. No blame: "I saw this during integration, can you check it?"
  4. After two days I ask about the status. If a serious issue goes unanswered, I escalate through my own lead.

If it's an ordinary bug (not security), I can offer to fix it with a PR, but with their review, because the service is theirs and they know the context.

In an interview, they expect two mistakes here: walking past it with "not mine", or heroically fixing it yourself and telling nobody. Both are wrong.