/supply-chain-audit · Comandos slash para Claude Code | Prompt Studio
    1. Claude Code
    2. Comandos slash
    3. /supply-chain-audit
    Claude Code · Comandos slashSeguridad

    /supply-chain-audit

    Audita la cadena de suministro de software.

    por davila7/claude-code-templates

    supply-chain

    Licencia: MITVer original

    Instalación

    npx claude-code-templates@latest --command analysis/supply-chain-audit

    Contenido

    Dónde va: .claude/commands/supply-chain-audit.md

    ---
    description: "Audit a project for software supply chain risk, including dependency vulnerabilities, lockfile issues, malicious package indicators, SBOM coverage, and license concerns."
    ---
    
    # /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.
    

    Más en Comandos slash

    • /commit

      Redacta un commit con Conventional Commits a partir de los cambios en stage.

    • /review

      Revisa el diff actual buscando bugs, casos borde y problemas de seguridad.

    • /tests

      Escribe tests para el archivo o función que indiques.

    • /changelog

      Genera las notas de versión desde el último tag.

    • /explain

      Explica cómo funciona un archivo o módulo, con un diagrama del flujo.

    • /cleanup

      Elimina imports, variables y código muerto sin cambiar el comportamiento.

    Ver todo en Comandos slash (717) →

    Tu colección definitiva de prompts de IA. Inspírate, explora ejemplos y crea con IA.

    Hubs principales

    • Prompts
    • Imágenes
    • Videos
    • Generar Videos
    • Plantillas
    • Animaciones
    • Precios
    • Conoce
    • Afiliado

    Explorar por tipo

    • Kits de componentes
    • Etiquetas de imagen
    • Etiquetas de video
    • Webs

    Temas populares

    • Música
    • Portafolio
    • Gaming
    • Viajes
    • Nano Banana Pro

    Legal

    • Términos de uso
    • Política de privacidad
    • Política de cookies
    • Política de licencias
    • Política de reembolsos
    • Términos del programa de afiliados
    • Términos de Crowdfunding

    Magzin LLC, 800 Third Avenue Associates, New York, NY, 10022, United States

    © 2026 Prompt Studio by Magzin. Todos los derechos reservados.