Secure dependencies, CVE and advisory triage, lockfiles, CI/CD, build isolation, SBOMs, artifact signing, provenance and release verification. Selects vulnerability-intelligence sources, triages dependencies and advisories against them, names the threat classes in scope (typosquatting, dependency confusion, install hooks, CI cache poisoning), and decides hardening and verification steps for third-party actions, build inputs and released artifacts.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Software Supply Chain Security?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gethacked-ai-software-supply-chain-security)
---
name: software-supply-chain-security
description: >-
Secure dependencies, CVE and advisory triage, lockfiles, CI/CD, build isolation, SBOMs, artifact signing, provenance and release verification. Selects vulnerability-intelligence sources, triages dependencies and advisories against them, names the threat classes in scope (typosquatting, dependency confusion, install hooks, CI cache poisoning), and decides hardening and verification steps for third-party actions, build inputs and released artifacts.
metadata:
version: "4.0.1"
---
# Software supply chain security
## When to use
Use for dependency, build, release, or advisory work. No global CVE query for unrelated changes. For code-level security review use security-review if available.
Trace trust from intended source through build inputs and credentials to the artifact actually installed or deployed. An inventory, signature, scanner result or pinned reference proves only its own property. Do not install untrusted dependencies, run project build hooks or publish artifacts without authorization.
For review or daily news, do not edit the project. Apply only the relevant branch below. For credible compromise, preserve evidence and recommend escalation to the incident owner; do not assume updating a package removes compromise.
## Workflow
For a general daily CVE request without a project, skip inventory discovery and read [vulnerability-intelligence.md](references/vulnerability-intelligence.md) directly; do not assume project applicability.
1. Identify the ecosystem, package manager, resolved lockfiles, registries, build context, CI triggers, runner trust, artifact destination and consuming policy. Inspect existing tooling before suggesting new dependencies. Distinguish source, build, test and deployed dependencies; account for transitive packages, base images, plugins and generated artifacts when in scope.
2. For dependency triage, establish the exact affected package/version, source/advisory, affected configuration and deployed reachability where evidence permits.
Review fix versions, lockfile diff, integrity/provenance and compatibility.
Missing reachability evidence is not proof of safety.
Verify the resolved registry/namespace and package origin, integrity, publisher changes and executable install hooks where relevant. A package without a CVE may still be malicious.
Name the threat class in scope: typosquatting (lookalike or misspelled name), dependency confusion (a public registry serving a private or internal package name), or a lifecycle install hook that executes code at install time — npm `preinstall`/`install`/`postinstall`, PyPI PEP 517 build backends — before any review of the installed artifact.
Avoid indiscriminate upgrades, scanner suppressions and lockfile deletion.
For dependency audits, security release gates, changed dependencies or requests for current CVEs, follow [vulnerability-intelligence.md](references/vulnerability-intelligence.md).
Check existing scanner results and data freshness first; use approved tools and do not send private package data externally without permission.
3. For CI/build work, map untrusted contribution data and artifacts to execution and privileged jobs.
Separate untrusted code execution from release credentials and trusted caches.
Verify workflow permissions, token scope, protected release environment, runner isolation and immutable input references.
Lock trusted third-party actions with a committed lockfile where the repository adopts one; otherwise pin to a verified full commit SHA from the action's own repository. Pinning does not make malicious code trustworthy.
Treat untrusted event fields as data, not shell source.
Review privileged event workflows for checkout, artifact and cache trust.
Assess CI cache poisoning: cache scope (what an untrusted job may write and what a privileged job restores), cache keys and restore order, and whether secrets can persist in cached files or be restored into a job that exposes them.
4. For artifact trust, verify the artifact digest, expected signer/key or identity and issuer, trusted builder, source revision, build parameters and policy-relevant provenance.
Derive expectations from trusted policy, not from the artifact's own claims.
Use [verification.md](references/verification.md) when working on attestations or CI hardening.
Do not substitute signature presence, SBOM generation or a self-declared SLSA level for verification.
5. Implement only requested changes, preserving build behavior. Run isolated tests with synthetic tokens and local artifacts; test rejection of wrong artifact, wrong identity, missing provenance or untrusted execution as applicable. Do not publish, modify live release permissions, or rotate credentials without approval.
## Finish
Report package/artifact identity, resolved version or digest, evidence, affected path, recommended change and verification gaps. Distinguish known vulnerability from reachability, source trust from build trust, and provenance from security of the code. Cite applicable [OWASP supply chain security](https://cheatsheetseries.owasp.org/cheatsheets/Software_Supply_Chain_Security_Cheat_Sheet.html), [SLSA](https://slsa.dev/spec/v1.2/), [OSV-Scanner](https://google.github.io/osv-scanner/), [Sigstore](https://docs.sigstore.dev/) and ecosystem-specific official documentation; check versions before using CLI flags or claiming a level. Use security-review for unrelated vulnerability paths if available.
## Example
Example: an advisory names a vulnerable upstream version, but the deployed distribution may backport a fix. Check the exact vendor build and bulletin before proposing an upgrade or marking the finding fixed.