Node.js · Senior · Question 31 of 75

Which measure helps most against malicious package versions (supply-chain attacks)?

Explanation

Attackers publish compromised versions of popular packages. Delaying updates, reviewing diffs of new versions and npm provenance reduce the risk.

Further reading

Problem with a question

Node.js · Senior · question 31

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz