npm-security

Community

Harden and audit Node dependency security

Authortheodrosyimer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many JavaScript projects are vulnerable to supply chain attacks, unsafe install scripts, lockfile tampering, and insecure publishing practices. This Skill helps developers and maintainers discover those risks in their repository configuration and provides actionable remediation steps to reduce attack surface and secure CI/publishing pipelines.

Core Features & Use Cases

  • Dual-mode operation: run a project audit that inspects package.json, lockfiles, CI configs and environment files, or use the reference mode to get best-practice guidance on a specific security topic.
  • Comprehensive checks: detects package manager, verifies postinstall script policies, enforces release cooldowns, validates lockfile integrity, ensures deterministic installs, flags blind upgrade scripts, recommends security tooling (npq, sfw), scans for plaintext secrets, and reviews publishing controls like provenance and OIDC.
  • Actionable fixes: for every failed check the Skill supplies the exact config snippet or command to fix the issue and suggests CI integration steps for automated enforcement.
  • Use cases: auditing a monorepo before onboarding contributors, vetting a new dependency before installation, hardening CI publish workflows, or adding lockfile validation to pipeline checks.

Quick Start

Audit this project's npm security posture and return a pass/fail checklist with specific fix commands for each failing item.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: npm-security
Download link: https://github.com/theodrosyimer/.dotfiles/archive/main.zip#npm-security

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.