Web Security · Junior · Question 73 of 75

What does npm audit do?

Explanation

It reports known CVEs in your dependency tree and suggests fixed versions. It can't detect new or hidden malicious code.

Further reading

Problem with a question

Web Security · Junior · question 73

Test yourself

Take the Web Security · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz