تخطَّ إلى المحتوى
أمرمستورد

supply-chain-audit

Audit a project for software supply chain risk, including dependency vulnerabilities, lockfile issues, malicious package indicators, SBOM coverage, and license concerns.

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 1 · الحجم: 3.7 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/supply-chain-audit.zip -d .claude/commands

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/supply-chain-audit.zip -d ~/.claude/commands

التعليمات

/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
  1. Present findings using severity tiers:
  • CRITICAL
  • HIGH
  • MEDIUM
  • LOW
  1. For every finding include: what was detected, why it matters, how to verify it, and the exact remediation command.

  2. 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
  1. 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.

الملفات

  • LICENSE1 ك.ب
  • supply-chain-audit.md2.7 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةيقرأ ملف .env أو أسراراً

    في الملف cli-tool/components/commands/analysis/supply-chain-audit.md، السطر 54

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ

عناصر مشابهة

  • أمرمستورد

    add-authentication-system

    Implement secure user authentication system with chosen method and security best practices

    MITالملفات: 1

  • أمرمستورد

    audit

    Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open switches, weak crypto, permissive access, debug leakage. Parallel sweeps collect candidates, then a refuting verifie

    CC-BY-SA-4.0الملفات: 1

  • أمرمستورد

    audit-chain

    Verify every receipt in ./receipts/receipts.jsonl against the signer's public key. Detects tampered or malformed receipts across the audit trail.

    MITالملفات: 1

  • أمرمستورد

    burp-search

    Searches Burp Suite project files for security analysis

    CC-BY-SA-4.0الملفات: 1

  • أمرمستورد

    check-file

    Perform comprehensive analysis of $ARGUMENTS to identify code quality issues, security vulnerabilities, and optimization opportunities.

    MITالملفات: 1

  • أمرمستورد

    compliance-check

    Review software compliance controls, regulatory requirements, and audit readiness

    MITالملفات: 1