Skip to content
Back to skills

Security Auditor Skill

ASecurity

Run structured security audits with actionable remediation plans.

  • 32 stars
  • 0 votes
  • 0 copies
  • 16 views
  • Added February 6, 2026
securitybashnodesecurity

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add wrsmith108/claude-skill-security-auditor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Auditor Skill?

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

Security grade badge for Security Auditor Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wrsmith108-security-auditor-skill/badge)](https://www.skillsdirectory.com/skills/wrsmith108-security-auditor-skill)

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
# Security Auditor Skill

Run structured security audits with actionable remediation plans.

## Trigger Phrases
- "npm audit"
- "security vulnerability"
- "dependency vulnerability"
- "CVE"
- "security check"
- "audit dependencies"
- "check vulnerabilities"

## Description
This skill performs comprehensive security audits on npm projects, parsing vulnerability data and generating actionable remediation plans with prioritized fixes.

## Capabilities
- Execute `npm audit --json` and parse structured output
- Classify vulnerabilities by severity (critical, high, medium, low)
- Extract CVE identifiers, affected versions, and fix versions
- Distinguish direct vs transitive dependencies
- Generate markdown reports with remediation commands
- Support risk acceptance via `security-exceptions.json`
- Provide CI-friendly exit codes

## Usage

### Basic Audit
```bash
npx tsx scripts/index.ts
```

### JSON Output
```bash
npx tsx scripts/index.ts --json
```

### Fail on High+ Severity (for CI)
```bash
npx tsx scripts/index.ts --fail-on high
```

### Fail on Critical Only
```bash
npx tsx scripts/index.ts --fail-on critical
```

## Risk Acceptance

Create a `security-exceptions.json` file in your project root to accept known risks:

```json
{
  "exceptions": [
    {
      "id": "GHSA-xxxx-xxxx-xxxx",
      "reason": "Not exploitable in our usage context",
      "expires": "2025-06-01",
      "approvedBy": "security-team"
    }
  ]
}
```

## Exit Codes
- `0` - No vulnerabilities above threshold
- `1` - Vulnerabilities found above threshold (with `--fail-on`)
- `2` - Error running audit

## Requirements
- Node.js and npm installed
- Valid `package.json` in target directory
- Optional: `package-lock.json` for accurate audit

Files in this skill

  • SKILL.md1.7 KB
  • package.json838 B
  • scripts/audit.ts15 KB
  • scripts/index.ts3.2 KB

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.

View all in security →

Comments

Loading comments…

Newsletter

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