vuln-dependency

Identify known CVEs, dependency confusion risks, and outdated packages in project dependencies.

Updated Jun 23, 2024
One-click install
npx skills add https://github.com/n4igme/randscript --skill vuln-dependency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vuln-dependency
Source: https://github.com/n4igme/randscript/tree/main/llm/skills/scode/vuln-dependency
Command: npx skills add https://github.com/n4igme/randscript --skill vuln-dependency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the detection of vulnerable dependencies and supply chain risks across a project's dependency graph, helping security teams identify exploitable weaknesses before they are weaponized.

Core Features & Use Cases

  • Scan for known CVEs in direct and transitive dependencies for Node.js, Python, Java, and other ecosystems.
  • Detect dependency confusion risks by validating registry configurations and namespace scoping.
  • Append findings to ./assessment/vulnerabilities.md for audit trails and remediation planning.
  • Use case: conduct security audits during bug bounty programs to centralize vulnerability reporting.

Quick Start

Run vuln-dependency to scan your project for vulnerable dependencies and append findings to ./assessment/vulnerabilities.md.

Frequently Asked Questions about vuln-dependency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan project dependencies for known CVEs across different ecosystems?

To scan project dependencies for known CVEs, the skill parses manifest files like package.json, requirements.txt, and pom.xml to perform security audits and risk assessment across Node.js, Python, and Java ecosystems. It identifies direct and transitive dependency vulnerabilities.

What is dependency confusion and how can I detect it in my project?

Dependency confusion is a supply chain risk where packages are pulled from unauthorized registries. The skill detects dependency confusion by validating registry configurations and namespace scoping during the manifest discovery and audit check processes.

Can I audit vulnerable dependencies in both Node.js and Java projects?

Yes, you can audit vulnerable dependencies in Node.js and Java projects. The skill is applicable to projects across multiple ecosystems with manifest files, parsing the dependency tree to report known CVEs and outdated packages.

How do I generate an audit trail for security vulnerabilities found in my dependencies?

To generate an audit trail for security vulnerabilities, the skill appends findings to ./assessment/vulnerabilities.md. This centralizes vulnerability reporting and risk assessment results for remediation planning and bug bounty programs.

Does dependency vulnerability scanning work with transitive dependencies?

Yes, dependency vulnerability scanning works with transitive dependencies. The skill performs dependency tree parsing to identify and report known CVEs and supply chain risks hidden deep within the project dependency graph.

What is the best way to find outdated packages and supply chain risks during a security audit?

The best way to find outdated packages and supply chain risks is running an automated dependency scan. The skill identifies outdated packages, validates registry configurations, and reports exploitable weaknesses before they are weaponized.