{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-dependency-audit-48784389c114","title":"Audit Dependencies for Security Vulnerabilities","summary":"Identify and resolve security vulnerabilities in project dependencies using tools like pnpm or npm audit. Receive a report of vulnerabilities and steps to fix them, improving application security.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-dependency-audit-48784389c114","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-dependency-audit-48784389c114","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-dependency-audit-48784389c114.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-dependency-audit-48784389c114\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running the audit, ensure the project has a lock file (e.g., pnpm-lock.yaml or package-lock.json) committed to version control. The first deliverable is a list of vulnerabilities with severity levels and suggested fixes.","instructions":"---\nname: dependency-audit\ndescription: \"Use when reviewing a project's security posture, setting up CI pipelines, or responding to a reported vulnerability in a dependency.\"\nmetadata:\n  category: security\n  priority: high\n  difficulty: beginner\n  estimatedTime: \"15\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/security\/dependency-audit\n---\n\n# Audit dependencies for known vulnerabilities\n\nThird-party packages are the most common attack surface in modern web applications. The 2021 Log4Shell incident, the 2022 node-ipc supply-chain attack, and countless npm package hijackings demonstrate that a single vulnerable transitive dependency can compromise every application that depends on it. Automated, continuous scanning drastically reduces the window between a CVE being published and your team being aware of it.\n\n## Quick Reference\n\n- Run pnpm audit (or npm audit) before every production deployment\n- Integrate automated dependency scanning in CI (GitHub Dependabot or Snyk)\n- Treat critical and high severity findings as release blockers\n- Pin transitive dependencies with a lock file committed to version control\n\n## Check\n\nCheck the project's dependencies for known security vulnerabilities using the package manager audit command.\n\n## Fix\n\nUpgrade, patch, or replace vulnerable dependencies and configure automated scanning in the CI pipeline.\n\n## Explain\n\nExplain how supply-chain attacks work and why dependency auditing is a critical part of modern application security.\n\n## Code Review\n\nReview the lock file and package.json for unpinned version ranges, abandoned packages, and any packages flagged in recent CVE databases.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/security\/dependency-audit\n","use_cases":["Reviewing a project's security posture before deployment","Setting up CI pipelines with automated dependency scanning","Responding to a reported vulnerability in a dependency"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/dependency-audit\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:51:40.000000Z","updated_at":"2026-11-23T04:54:56.000000Z","seo_title":"Audit dependencies for security vulnerabilities","seo_description":"Use pnpm or npm audit to find and fix security vulnerabilities in project dependencies. Improve application security with automated dependency scanning.","seo_keywords":["dependency audit security","npm audit vulnerabilities","pnpm security scan","dependency vulnerability check","security audit for dependencies"]}}