SpinTheMic
Pro

Interview practice question

A malicious version of your published package appeared

Cloud & DevOps · DevSecOps · Experienced

An attacker took over a maintainer account and published a malicious version of your company's open-source package on npm. How do you respond?

What a strong answer covers

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

  • Unpublish/deprecate malicious version; contact registry.
  • Secure accounts: reset, MFA, revoke tokens.
  • Notify users; advisory with affected versions.
  • Publish clean version.
  • Trusted publishing, provenance, MFA enforcement.
Practise this topic

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

See all topics