Skip to content
Skills Library
DevOps & cloud · Review & audit

secure-supply-chain

/secure-supply-chain

Use when a new dependency is added, a CVE is reported, or the build/CI pipeline is reviewed — assess reachability not just presence, pin and lock deps, and treat the maintainer-takeover class as a top modern risk.

Repository
truecast ↗
Licence
MIT
Last repository change
17.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 17.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when a new dependency is added, a CVE is reported, or the build/CI pipeline is reviewed — assess reachability not just presence, pin and lock deps, and treat the maintainer-takeover class as a top modern risk.

Original author description

Use when a new dependency is added, a CVE is reported, or the build/CI pipeline is reviewed — assess reachability not just presence, pin and lock deps, and treat the maintainer-takeover class as a top modern risk.

How it works

  1. Assess dependencies by reachability, not just presence
  2. Lock down the chain
  3. The discipline
Original SKILL.md headings · 35 lines, 374 words
SKILL.md preview
---
name: secure-supply-chain
description: Use when a new dependency is added, a CVE is reported, or the build/CI pipeline is reviewed — assess reachability not just presence, pin and lock deps, and treat the maintainer-takeover class as a top modern risk.
---
# Secure the supply chain — your dependencies are your attack surface

Supply-chain attacks **doubled in 2025**; over 450k new malicious packages landed that year alone. Real
incidents: the `qix` npm phish that poisoned `debug`/`chalk` and other top libraries (Sept 2025), and
`GhostAction` exfiltrating secrets via a compromised GitHub Action. Most of your code is code you didn't
write — review it like it.

## Assess dependencies by reachability, not just presence
- **"There's a CVE" is not a finding — reachability is.** A vulnerable function that nothing calls is a note,
  not a P0. Trace whether the vulnerable code path is **reachable** from your app and from untrusted input;
  grade by that, not by the CVSS score alone. This is what separates a useful dependency review from a
  scanner dumping every transitive CVE on the team (theatre).
- **Vet new dependencies before adding.** Is it maintained? How many maintainers / how much bus factor? Is it
  popular enough to be watched, recent enough to be patched? Could you vendor the small thing instead of
  pulling a tree? Watch for **typosquats** and **dependency confusion** (an internal package name claimable on
  the public registry).

## Lock down the chain
- **Pin and lock.** Commit a lockfile; pin to specific versions (and ideally hashes). Don't float on
  `^`/`latest` for anything security-relevant — that's how a poisoned patch release auto-installs.
- **Trusted sources.** Pull from vetted registries/mirrors; enforce dependency policies in CI.
- **Provenance & integrity.** Where it matters, verify build **provenance** (SLSA) and artifact signatures
  (Sigstore); generate an **SBOM** so you can answer "are we affected?" in minutes when the next big CVE
  drops.
- **Harden CI/CD.** The pipeline is a high-value target: least-privilege tokens (prefer OIDC over stored
  secrets), pin third-party Actions to a commit SHA (not a moving tag), review what the build can exfiltrate.

## The discipline
- The fast-moving part is the **maintainer-takeover / malicious-package** class, not just stale CVEs — phished
  credentials and compromised CI are how the big 2025 attacks landed. Weight your attention there.
- An SBOM's payoff is incident speed: when a `log4shell`-class event hits, you want a query, not an
  archaeology project.
- Grade by reachability + exposure + exploit availability (`grade-and-remediate-risk`); don't auto-P0 every
  transitive CVE.

Versions

The database has no other skills named secure-supply-chain.

Database snapshot: 13.11.2026 · package version 97fe3469a3df (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100supply-chain-audit
    Analyze project dependencies for supply chain risks. Checks maintainer count, commit frequency, CVE history, abandonment signals, bus factor, and security policy presence for each direct dependency. Supports npm, pip, cargo, go mod, and composer. Use when: "supply chain audit",…
  • 90dependency-supply-chain-review
    Review third-party dependencies for supply-chain trust risk — typosquatting, dependency confusion, maintainer/abandonment risk, unpinned versions, and malicious install scripts — not just known-CVE counts. Use when assessing how much a project trusts code it didn't write, or…
  • 90supply-chain-risk-auditor
    Identifies dependencies at heightened risk of exploitation or takeover. Use when assessing supply chain attack surface, evaluating dependency health, or scoping security engagements.
  • 100supply-chain-risk-auditor
    Identifies dependencies at heightened risk of exploitation or takeover. Use when assessing supply chain attack surface, evaluating dependency health, or scoping security engagements.
  • 90dependency-and-supply-chain-audit
    Assess dependencies and build inputs for known risk, provenance, maintenance, and release integrity. Use for dependency reviews, pre-release checks, suspicious package triage, or supply-chain hardening.
  • 90supply-chain-audit
    Software supply chain audit — dependencies (CVEs, maintenance, licenses, transitive risk), build/CI integrity (SHA-pinned actions, lockfile, CI-only release), artifact integrity (checksums, signing, SBOM). Triggers on: "/supply-chain-audit", "supply-chain-audit", "dependency…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.