# npm audit

*noun*

say it: **“EN-pee-EM AW-dit”** **/ˌɛnˌpiˈɛm ˈɔdɪt/**

An npm command that checks a project's packages for known security problems and reports how serious each one is.

## What does **npm audit** do?

**npm audit** checks a project's installed packages against a list of known security holes and reports each one by severity. `npm audit fix` updates the packages it can, within your version ranges.

```bash
npm audit
# 1 high severity vulnerability
# To address all issues, run: npm audit fix
```

## In a sentence

- “Run **npm audit** before every release, then npm audit fix for what it can update safely.”
- “**npm audit** found a high-severity problem in an old copy of a package the upload code used.”

Level: Journeyman · [More Node.js terms at this level](https://www.ask-codey.com/glossary?category=nodejs&level=3)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/npm-audit
