Q76: What does `npm audit` do?

npm audit checks configured dependency packages against known vulnerability databases and generates reports describing security risks and remediation paths.

Key Takeaways
  • Scans installed dependencies for security vulnerabilities.

  • Generates vulnerability reports and automated fix actions.

Knowledge Check

Which command attempts to automatically update vulnerable dependencies?