Skip to content
ln-762-dependency-audit logo

Dependency Audit

ln-762-dependency-audit

Audits project dependencies for vulnerabilities. Multi-ecosystem support (npm, .NET, Python, Go). CVSS-based severity classification.

SKILL.md

Full skill instructions

Dependency Audit

Audits project dependencies for known security vulnerabilities across multiple package ecosystems.

Purpose & Scope

  • Detect vulnerable dependencies using ecosystem-specific tools
  • Support multiple ecosystems: npm, NuGet, pip, Go modules, Bundler, Cargo
  • Classify vulnerabilities by severity (Critical/​High/​Medium/​Low)
  • Provide fix recommendations with safe auto-fix guidance
  • Return normalized report to parent orchestrator (ln-760)

When to Use

  • During project bootstrap (via ln-760-security-setup)
  • CI/​CD pipeline security checks
  • Pre-release security validation
  • Regular scheduled audits

Workflow

Phase 1: Ecosystem Detection

Step 1: Detect Package Managers

  • Check for package.json / package-lock.json (npm)
  • Check for *.csproj / packages.config (.NET)
  • Check for requirements.txt / Pipfile / pyproject.toml (Python)
  • Check for go.mod (Go)
  • Check for Gemfile (Ruby), Cargo.toml (Rust), composer.json (PHP)

Step 2: Check Tool Availability

  • For each detected ecosystem, verify audit tool is available
  • If tool missing: log warning, skip ecosystem (do not fail)

Phase 2: Audit Execution

Step 1: Run Ecosystem Audits

  • Execute audit command for each detected ecosystem
  • Prefer JSON output for parsing (see references/​audit_commands.md)
  • Run audits in parallel where possible

Step 2: Parse Results

  • Normalize findings to common format: package, version, vulnerability ID, severity
  • Extract CVSS score if available

Phase 3: Report Generation

Step 1: Severity Classification

  • Map CVSS scores to severity per references/​severity_mapping.md
  • Critical: CVSS 9.0-10.0
  • High: CVSS 7.0-8.9
  • Medium: CVSS 4.0-6.9
  • Low: CVSS 0.1-3.9

Step 2: Group and Sort

  • Group by ecosystem
  • Sort by severity (Critical first)
  • Include vulnerability count summary

Step 3: Build Report

  • Include package name, current version, fixed version
  • Include vulnerability ID (CVE/​GHSA/​OSV)
  • Do NOT include exploit details

Phase 4: Fix Recommendations

Step 1: Classify Fix Type

  • Patch update (safe auto-fix)
  • Minor update (usually safe)
  • Major update (manual review required)
  • No fix available (document and monitor)

Step 2: Generate Recommendations

  • For each vulnerability: suggest fix command
  • Flag breaking changes if major version bump
  • Note if fix requires code changes

Step 3: Return Results

  • Return structured report to orchestrator
  • Include summary: packages audited, vulnerabilities found, by severity

Critical Rules

  1. Never auto-fix major versions - may introduce breaking changes
  2. Verify lock file integrity - regenerate if corrupted
  3. Respect severity thresholds - per environment (see references/​severity_mapping.md)
  4. Document unfixable vulns - add to known issues with review date
  5. No exploit code - report IDs only, not exploitation details

Definition of Done

  • All detected ecosystems audited
  • Findings classified by severity with CVSS mapping
  • Fix recommendations provided (safe vs manual)
  • Report in normalized format returned
  • Critical vulnerabilities prominently flagged
  • Lock file integrity verified

Reference Files

FilePurpose
references/​audit_commands.mdEcosystem-specific audit commands
references/​severity_mapping.mdCVSS to severity level mapping
references/​ci_integration_guide.mdCI/​CD integration guidance

Version: 2.0.0 Last Updated: 2026-01-10

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View