supply-chain-hardening-quickstart
Orchestrate a pragmatic npm supply-chain hardening pass: dependency-source audit, release-age gate, lifecycle-script review, trusted publishing, signed releases, SBOM, and user verification docs.
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-12
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- supply-chain-hardening-quickstart
- namespace
- aiwg
- platforms
- [ "all" ]
- description
- Orchestrate a pragmatic npm supply-chain hardening pass: dependency-source audit, release-age gate, lifecycle-script review, trusted publishing, signed releases, SBOM, and user verification docs.
03 SKILL.md 正文
supply-chain-hardening-quickstart
Use this skill when a user asks to harden an npm project after a supply-chain incident, prepare a release pipeline for trusted publishing, or give their users verification instructions.
Runbook
- Run
npm-supply-chain-auditto find the current exposure. - Run
npm-release-age-gateto configure the 7-day default and 10-day high-sensitivity profile. - Use
supply-chain-trustfor broader release evidence: signed tags, provenance, cosign signatures, SBOM, and reproducible-build tradeoffs. - Produce user-facing docs that explain:
- runtime Node/npm requirements,
- contributor lockfile requirements,
- release-publisher requirements,
- how to verify provenance, signatures, and SBOMs,
- what to rotate if a malicious package ran.
Minimum issue set
File or verify issues for:
- Remove install lifecycle scripts or document why each one must remain.
- Block Git, GitHub shorthand, direct tarball,
file:, andlink:dep sources outside an allowlist. - Add a known-affected package feed scan and document how CI points it at the current CSV snapshot (local path or raw gist URL).
- Add
.npmrcmin-release-age=7. - Document npm 11.5+ for dependency updates.
- Move npmjs.org release publishing to trusted publishing where possible.
- Add signed tag verification before release workflows publish.
- Add tarball audit, npm audit signatures, and SBOM generation.
- Add consumer verification docs.
Completion criteria
- A clean audit result exists with file:line findings or explicit clean checks.
- Known-affected exact matches are distinguished from advisory-vuln results and include package/version/published/detected evidence.
- Users can install without lifecycle-script surprises.
- Contributors know when npm 11.5+ is required.
- Release engineers use Node 24 or another environment satisfying npm trusted-publishing requirements.
- Public docs explain verification without asking users to trust the registry alone.
04 同仓库更多 Skills
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
fixture-skill
Exercise rule delivery.
pi-local
Pi-local duplicate-precedence fixture.