supply-chain-dependency-testing
Installation
SKILL.md
Supply-Chain & Dependency Testing
Most of the code you run is third-party. Test the inputs to your build as rigorously as your own code.
1. Know what you ship — SBOM
syft dir:. -o cyclonedx-json > sbom.cdx.json # source tree
syft myimage:1.2.3 -o spdx-json > sbom.spdx.json # container image
Store an SBOM per release; check it includes transitive and OS packages.
2. Scan for known vulnerabilities (SCA)
trivy fs --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --exit-code 1 .
grype sbom:sbom.cdx.json --fail-on high
osv-scanner --lockfile=package-lock.json
npm audit --omit=dev --audit-level=high ; pip-audit -r requirements.txt ; govulncheck ./...
Automate updates with Dependabot or Renovate (grouped PRs; auto-merge patch updates when CI is green).