Overview
This skill empowers Claude to automatically analyze your project's dependencies for security vulnerabilities, outdated packages, and license compliance issues. It uses the dependency-checker plugin to identify potential risks and provides insights for remediation.
How It Works
- Detecting Package Manager: The skill identifies the relevant package manager (npm, pip, composer, gem, go modules) based on the presence of manifest files (e.g., package.json, requirements.txt, composer.json).
- Scanning Dependencies: The skill utilizes the dependency-checker plugin to scan the identified dependencies against known vulnerability databases (CVEs), outdated package lists, and license information.
- Generating Report: The skill presents a comprehensive report summarizing the findings, including vulnerability summaries, detailed vulnerability information, outdated packages with recommended updates, and license compliance issues.
When to Use This Skill
This skill activates when you need to:
- Check a project for known security vulnerabilities in its dependencies.
- Identify outdated packages that may contain security flaws or performance issues.
- Ensure that the project's dependencies comply with licensing requirements.
Examples
Example 1: Identifying Vulnerabilities Before Deployment
User request: "Check dependencies for vulnerabilities before deploying to production."
The skill will:
- Detect the relevant package manager (e.g., npm).
- Scan the project's dependencies for known vulnerabilities using the dependency-checker plugin.
- Generate a report highlighting any identified vulnerabilities, their severity, and recommended fixes.
Example 2: Updating Outdated Packages
User request: "Scan for outdated packages and suggest updates."
The skill will:
- Detect the relevant package manager (e.g., pip).
- Scan the project's dependencies for outdated packages.
- Generate a report listing the outdated packages and their available updates, including major, minor, and patch releases.
Best Practices
- Regular Scanning: Schedule dependency checks regularly (e.g., weekly or monthly) to stay informed about new vulnerabilities and updates.
- Pre-Deployment Checks: Always run a dependency check before deploying any code to production to prevent introducing vulnerable dependencies.
- Review and Remediation: Carefully review the generated reports and take appropriate action to remediate identified vulnerabilities and update outdated packages.
Integration
This skill seamlessly integrates with other Claude Code tools, allowing you to use the identified vulnerabilities to guide further actions, such as automatically creating pull requests to update dependencies or generating security reports for compliance purposes.
Prerequisites
- Access to codebase and configuration files in {baseDir}/
- Security scanning tools installed as needed
- Understanding of security standards and best practices
- Permissions for security analysis operations
Instructions
- Identify security scan scope and targets
- Configure scanning parameters and thresholds
- Execute security analysis systematically
- Analyze findings for vulnerabilities and compliance gaps
- Prioritize issues by severity and impact
- Generate detailed security report with remediation steps
Output
- Security scan results with vulnerability details
- Compliance status reports by standard
- Prioritized list of security issues by severity
- Remediation recommendations with code examples
- Executive summary for stakeholders
Error Handling
If security scanning fails:
- Verify tool installation and configuration
- Check file and directory permissions
- Validate scan target paths
- Review tool-specific error messages
- Ensure network access for dependency checks
Resources
- Security standard documentation (OWASP, CWE, CVE)
- Compliance framework guidelines (GDPR, HIPAA, PCI-DSS)
- Security scanning tool documentation
- Vulnerability remediation best practices
1---2name: analyzing-dependencies3description: Check dependencies for known security vulnerabilities and outdated versions. Use when auditing third-party libraries. Trigger with 'check dependencies', 'scan for vulnerabilities', or 'audit packages'.4version: 1.0.05allowed-tools:6- Read7- Write8- Edit9- Grep10- Glob11- Bash(security:*)12- Bash(scan:*)13- Bash(audit:*)14license: MIT15---1617## Overview1819This skill empowers Claude to automatically analyze your project's dependencies for security vulnerabilities, outdated packages, and license compliance issues. It uses the dependency-checker plugin to identify potential risks and provides insights for remediation.2021## How It Works22231. **Detecting Package Manager**: The skill identifies the relevant package manager (npm, pip, composer, gem, go modules) based on the presence of manifest files (e.g., package.json, requirements.txt, composer.json).242. **Scanning Dependencies**: The skill utilizes the dependency-checker plugin to scan the identified dependencies against known vulnerability databases (CVEs), outdated package lists, and license information.253. **Generating Report**: The skill presents a comprehensive report summarizing the findings, including vulnerability summaries, detailed vulnerability information, outdated packages with recommended updates, and license compliance issues.2627## When to Use This Skill2829This skill activates when you need to:30- Check a project for known security vulnerabilities in its dependencies.31- Identify outdated packages that may contain security flaws or performance issues.32- Ensure that the project's dependencies comply with licensing requirements.3334## Examples3536### Example 1: Identifying Vulnerabilities Before Deployment3738User request: "Check dependencies for vulnerabilities before deploying to production."3940The skill will:411. Detect the relevant package manager (e.g., npm).422. Scan the project's dependencies for known vulnerabilities using the dependency-checker plugin.433. Generate a report highlighting any identified vulnerabilities, their severity, and recommended fixes.4445### Example 2: Updating Outdated Packages4647User request: "Scan for outdated packages and suggest updates."4849The skill will:501. Detect the relevant package manager (e.g., pip).512. Scan the project's dependencies for outdated packages.523. Generate a report listing the outdated packages and their available updates, including major, minor, and patch releases.5354## Best Practices5556- **Regular Scanning**: Schedule dependency checks regularly (e.g., weekly or monthly) to stay informed about new vulnerabilities and updates.57- **Pre-Deployment Checks**: Always run a dependency check before deploying any code to production to prevent introducing vulnerable dependencies.58- **Review and Remediation**: Carefully review the generated reports and take appropriate action to remediate identified vulnerabilities and update outdated packages.5960## Integration6162This skill seamlessly integrates with other Claude Code tools, allowing you to use the identified vulnerabilities to guide further actions, such as automatically creating pull requests to update dependencies or generating security reports for compliance purposes.6364## Prerequisites6566- Access to codebase and configuration files in {baseDir}/67- Security scanning tools installed as needed68- Understanding of security standards and best practices69- Permissions for security analysis operations7071## Instructions72731. Identify security scan scope and targets742. Configure scanning parameters and thresholds753. Execute security analysis systematically764. Analyze findings for vulnerabilities and compliance gaps775. Prioritize issues by severity and impact786. Generate detailed security report with remediation steps7980## Output8182- Security scan results with vulnerability details83- Compliance status reports by standard84- Prioritized list of security issues by severity85- Remediation recommendations with code examples86- Executive summary for stakeholders8788## Error Handling8990If security scanning fails:91- Verify tool installation and configuration92- Check file and directory permissions93- Validate scan target paths94- Review tool-specific error messages95- Ensure network access for dependency checks9697## Resources9899- Security standard documentation (OWASP, CWE, CVE)100- Compliance framework guidelines (GDPR, HIPAA, PCI-DSS)101- Security scanning tool documentation102- Vulnerability remediation best practices