sca-security
БесплатноБез исполняемых скриптовНе проверенSoftware Composition Analysis: find vulnerable dependencies, correlate CVE/GHSA/OSV across ecosystems, generate CycloneDX/SPDX SBOMs, assess license…
от hardw00t★ 109 звёзд на GitHubОб этом скилле
Software Composition Analysis (SCA)
Router skill for dependency security: SBOM generation, multi-source vuln correlation, license compliance, supply chain review, and reachability-driven triage. Optimized for polyglot repositories and PR-time lockfile review. Load the relevant workflow + ecosystem reference on demand — do not read the whole skill up front.
When to Use
- Scanning project dependencies for known vulnerabilities (CVE / GHSA / OSV)
- Generating an SBOM (CycloneDX or SPDX) for a repo, container, or binary
- Reviewing a PR's lockfile delta for new vulns, license changes, malicious packages
- Reachability analysis to prioritize the 5-15% of findings that are actually exploitable
- License compliance against an allow/deny policy
- Supply chain review: typosquatting, dependency confusion, malicious package triage
- Ecosystem-specific audits: npm, yarn, pnpm, pip, poetry, Maven, Gradle, Go, Cargo, Ruby, Composer
- CI/CD integration for continuous dependency scanning
Trigger Phrases
- "scan dependencies", "check package vulnerabilities", "run npm audit"
- "generate SBOM", "CycloneDX", "SPDX"
- "license compliance", "audit licenses"
- "supply chain", "typosquat", "dependency confusion", "malicious package"
- "lockfile diff", "dep review", "PR dependency review"
- "is this CVE reachable", "reachability analysis", "filter false positives"
When NOT to Use This Skill
- First-party source code vulnerabilities (SQLi, XSS, SSRF, etc.) → use
sast-orchestration. SCA looks at third-party deps only. - OS-level packages inside container images (apt, apk, rpm) → use
container-security. (Overlap: Syft/Grype handle both; choose based on where the bulk of the work is.) - Infrastructure-as-Code misconfigurations (Terraform, K8s YAML) → use
iac-security. - Live web-app runtime testing → use
dast-automation. - LLM-specific supply chain (model weights, prompts, tool chains) → use
llm-security. - Mobile app third-party libraries → this skill works, but
android-pentest/ios-pentestadd platform context (cocoapods, SPM, gradle android).
Decision Tree
Start
├── Have a PR that touches a lockfile / manifest?
│ → workflows/lockfile_diff.md
│
├── Need a baseline for a repo or container?
│ → workflows/sbom_generation.md → workflows/vuln_correlation.md (parallel: license_audit.md)
│
├── Got 100+ vuln findings and need to prioritize?
│ → workflows/reachability_analysis.md (HIGH-VALUE, use extended thinking)
│
├── New or unfamiliar package just showed up in a dep graph?
│ → workflows/supply_chain_review.md + references/malicious_package_indicators.md
│
├── License audit only?
│ → workflows/license_audit.md
│
└── Ecosystem-specific question?
→ references/{npm_yarn_pnpm,python_pip_poetry,maven_gradle,go_modules,cargo,ruby_gems,php_composer}.md
Parallelism Hints
Run concurrently (independent):
- SBOM generation is independent of vuln scanning — start SBOM, then fan out to Grype + OSV-Scanner + ecosystem-native tools while license + supply chain checks also run.
- Per-ecosystem scans in polyglot repos are fully parallel (npm audit, pip-audit, cargo audit, etc.).
- License audit and vuln correlation are independent — run concurrently.
- OSV batch API: batch all package versions in one HTTP call; do not loop.
- Registry metadata lookups for supply chain triage: parallel, one per package.
Must be sequential:
- Vuln correlation after SBOM (scanner reads the SBOM).
- Reachability analysis after vuln correlation (it refines findings).
- Call-graph construction before reachability queries.
- Lockfile diff classification before per-delta scans.
Sub-Agent Delegation
- Polyglot monorepos: one sub-agent per ecosystem. Each runs the matching reference + native scanner + adds to a shared finding set.
- PR review: one sub-agent per changed lockfile. Each applies
workflows/lockfile_diff.mdand reports deltas, then a root agent consolidates. - Large finding queue: shard by ecosystem or by package-prefix for reachability analysis; each sub-agent handles ~50 findings with the same call graph.
- Supply chain triage at scale: one sub-agent per batch of ~10 new packages for metadata + tarball inspection.
Reasoning Budget
| Task | Budget |
|---|---|
| SBOM generation | minimal — mechanical orchestration |
| Vuln correlation / dedup | minimal — unless scanners disagree on version ranges |
| License classification | low — policy lookup |
| Lockfile diff classification | medium — distinguish regression vs pre-existing |
| Reachability analysis | extended thinking — combines call graph + vuln metadata + taint + framework semantics |
| Malicious package triage | extended thinking — weighing many weak signals; high cost of FP/FN |
| Integrity hash mismatch (no version change) | extended thinking — possible registry compromise |
| License expression parsing (dual-license, SPDX exprs) | medium |
Mult
Установить sca-security в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sca-security?
Software Composition Analysis: find vulnerable dependencies, correlate CVE/GHSA/OSV across ecosystems, generate CycloneDX/SPDX SBOMs, assess license compliance, and run reachability-aware triage to suppress unexploitable findings. Use when scanning package dependencies (npm, PyPI, Maven, Cargo, Go, RubyGems, Composer), reviewing PR lockfile diffs, generating SBOMs, auditing licenses, hunting malicious packages, or auditing the software supply chain. Triggers on requests to scan dependencies, check vulnerable packages, generate SBOM, license compliance, typosquat/dependency-confusion review, or reachability-based vuln triage.
Как установить скилл sca-security?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sca-security запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic