Supply Chain
Analyze supply chain security including dependencies, vulnerabilities, and licenses
Supply Chain Analysis
Perform a comprehensive supply chain security analysis on a repository.
Workflow
-
Identify repository: If $ARGUMENTS is provided, use it as the repo name. Otherwise, use
list_reposand ask which one to analyze. -
Generate SBOM: Use
generate_sbomwithformat="cyclonedx"to create a software bill of materials -
Check for vulnerabilities: Use
check_dependencieswithinclude_dev=trueandseverity_threshold="low"to find all known CVEs -
Find upgrade paths: Use
find_upgrade_pathto identify safe upgrades for vulnerable dependencies -
Check license compliance: Use
check_licensesto identify license issues. If the user specifies a project license, pass it viaproject_license. -
Summarize findings:
- Total dependencies (direct and transitive)
- Vulnerable dependencies with severity breakdown
- Available safe upgrades
- License compatibility issues
- Recommended actions prioritized by risk
Arguments
Repository to analyze: $ARGUMENTS
Example usage:
/narsil:supply-chain/narsil:supply-chain myproject