Supply Chain Audit
A command for analysis workflows.
Before you use this component
This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.
Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.
Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.
- Source publisher
- Claude Code Templates
- Creator supplied by source
- Not listed in source
- Pinned source version
- a344359459263d73d8948651c789244093c02e4e
- License evidence
- LICENSE
Source preview
cli-tool/components/commands/analysis/supply-chain-audit.md
# /supply-chain-audit Audit a project for software supply chain risk, including dependency vulnerabilities, lockfile issues, malicious package indicators, SBOM coverage, and license concerns. ## Purpose Use this command to perform a focused supply chain security review of a codebase. It helps identify dependency-related risk across JavaScript, Python, Go, Rust, Java, Ruby, and container-based projects. The command reviews both direct and transitive dependencies, highlights the most important findings first, and recommends exact remediation steps where possible. ## Usage /supply-chain-audit /supply-chain-audit npm /supply-chain-audit python /supply-chain-audit docker /supply-chain-audit ./services/api /supply-chain-audit --report /supply-chain-audit --sbom /supply-chain-audit --licenses ## Implementation When this command runs, Claude should: 1. Detect the ecosystem by checking for package.json, requirements.txt, go.mod, Cargo.toml, pom.xml, Gemfile, or Dockerfile. 2. Inventory all dependencies: direct, transitive, dev, build-time, and base images. 3. Evaluate supply chain risk across: - Known CVEs and advisories - Unpinned or floating versions - Missing or stale lockfiles - Install scripts that execute code - Typosquatting and suspicious naming - Dependency confusion vectors - Missing SBOM workflow - License incompatibilities - Weak CI/CD provenance 4. Present findings using severity tiers: - CRITICAL - HIGH - MEDIUM - LOW 5. For every finding include: what was detected, why it matters, how to verify it, and the exact remediation command. 6. Tailor remediation to the ecosystem: - npm: npm audit, lockfile checks, .npmrc scoping, --save-exact - Python: pip-audit, cyclonedx-py, lockfile verification - Go: govulncheck, go mod verify - Rust: cargo audit, cargo deny - Java: dependency-check, Snyk, OWASP plugin - Ruby: bundler-audit - Docker: Syft, Grype, Trivy, digest pinning 7. End with an action plan: Fix now / Fix this sprint / Monitor / Nice to have ## Examples User: /supply-chain-audit Claude detects the package manager, checks lockfiles, flags floating versions, scans install hooks, and produces a ranked report with remediation commands. User: /supply-chain-audit --sbom Claude checks whether an SBOM exists and recommends syft or cdxgen to generate one in CycloneDX or SPDX format, then explains how to attach it to CI artifacts. User: /supply-chain-audit ./services/api Claude scopes the analysis to that directory, detects the local package manager, and produces findings only for that service.
Preview capped at 60,000 characters. Download the bundle for every original file and notice.
Read the redistribution license
MIT License Copyright (c) 2025 Daniel (San) Ávila Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Bundle SHA-256: fbb30a1df2ac414906f0edd0f75e84c1fcbd7daa95d56deb85da57f197db3a08. Files are served as downloads and are never executed by this page.