Skip to content
Back to skills

Npm Audit

ASecurity

Audit npm dependencies for security and updates

  • 43 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
securitybashsecurity

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add baekenough/oh-my-customcode --skill npm-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Npm Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Npm Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/baekenough-npm-audit/badge)](https://www.skillsdirectory.com/skills/baekenough-npm-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omcustom:npm-audit
description: Audit npm dependencies for security and updates
scope: package
argument-hint: "[--fix] [--production]"
user-invocable: true
---

# NPM Audit Skill

Audit npm dependencies for security vulnerabilities and outdated packages.

## Options

```
--fix            Automatically fix vulnerabilities where possible
--production     Only audit production dependencies
--json           Output in JSON format
```

## Workflow

```
1. Run npm audit for security vulnerabilities
2. Analyze vulnerability severity
3. Check for outdated dependencies
4. Generate health report
5. Suggest remediation steps
```

## Output Format

### Success
```
[NPM Audit] package-name

Security:
  Critical: 0
  High: 0
  Moderate: 2
  Low: 1

Outdated:
  Major updates: 3
  Minor updates: 5
  Patch updates: 12

Status: Needs attention (2 moderate vulnerabilities)

Recommendations:
  1. npm update lodash
  2. npm update axios
```

### Failure
```
[NPM Audit] Failed

Error: {error_message}
Hint: Ensure package-lock.json exists
```

## Examples

```bash
# Full dependency audit with report
npm-audit

# Audit and fix vulnerabilities
npm-audit --fix

# Audit only production dependencies
npm-audit --production
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.