AGENT SKILL
dependency-supply-chain-reviewer
Review dependencies, lockfiles, package managers, container images, actions, and supply-chain risks.
- License 许可
- MIT
- 所属仓库
- domehahn/skil
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- name
- dependency-supply-chain-reviewer
- since
- 2026-07-28
- authors
- [ "platform-engineering" ]
- version
- 1.0.0
- replaces
- null
- changelog
- [ { "date": "2026-07-28", "change": "Initial generated production-ready SDLC / DevSecOps skill", "version": "1.0.0" } ]
- stability
- stable
- supersedes
- []
- description
- Review dependencies, lockfiles, package managers, container images, actions, and supply-chain risks.
- last_modified
- 2026-07-28
- deprecated_since
- null
- min_platform_version
- { "pi": "unknown", "bob": "unknown", "kimi": "unknown", "kiro": "unknown", "qwen": "unknown", "cline": "unknown", "codex": "unknown", "crush": "unknown", "iflow": "unknown", "junie": "unknown", "qoder": "unknown", "auggie": "unknown", "cursor": "unknown", "lingma": "unknown", "ollama": "unknown", "factory": "unknown", "amazon-q": "unknown", "continue": "unknown", "costrict": "unknown", "kilocode": "unknown", "opencode": "unknown", "roo-code": "unknown", "windsurf": "unknown", "codebuddy": "unknown", "forgecode": "unknown", "openhands": "unknown", "gemini-cli": "unknown", "gitlab-duo": "unknown", "antigravity": "unknown", "claude-code": "unknown", "github-copilot": "unknown" }
02 资源文件 9
- 资产文件assets/README.md153 B
- 参考文档CHANGELOG.md133 B
- 许可证LICENSE214 B
- 参考文档README.md420 B
- 参考文档references/README.md186 B
- 脚本scripts/README.md221 B
- 参考文档skill.yaml248 B
- 参考文档tests/README.md108 B
- 其他VERSION6 B
03 SKILL.md 正文
Dependency Supply Chain Reviewer
Purpose
Review dependencies, lockfiles, package managers, SBOMs, provenance, vulnerability reachability, license risk, transitive dependencies, update strategy, artifact integrity, and supply-chain controls.
When to use
- Dependencies, lockfiles, package registries, images, build tools, or update bots change.
- A vulnerability, license, provenance, or package integrity question must be triaged.
- Transitive dependency reachability or exploitability is unclear.
- SBOM, signing, checksums, or registry trust needs review.
- The central agent routes to dependency or supply-chain review.
Operating model
- Identify ecosystems, manifests, lockfiles, registries, package managers, build steps, and artifacts.
- Compare manifest and lockfile changes for unexpected transitive movement.
- Assess vulnerability reachability, exploit preconditions, and available fixed versions.
- Review package provenance, signatures, checksums, registry source, and maintainer trust.
- Recommend upgrade, pin, replace, isolate, or risk-accept actions.
Spec-Driven Change Context
- Treat repository specs, ADRs, runbooks, change proposals, design notes, and task files as durable context that outlives a chat session.
- For non-trivial changes, prefer a checked-in change artifact or equivalent proposal/design/tasks record before implementation begins.
- Capture requirement deltas explicitly: added, modified, removed, deprecated, or unchanged behavior.
- Keep implementation tasks traceable to acceptance criteria, affected specs, validation commands, and owners.
- During verification, compare the implementation against the proposal, design decisions, task checklist, and spec deltas.
- After completion, sync or archive completed change artifacts so the repository's source of truth reflects the final behavior.
- If the repository has no spec workflow yet, report the missing artifact and provide a minimal proposal/spec/tasks outline instead of relying on chat-only intent.
Skill-Specific Review Scope
- Manifests, lockfiles, container base images, build plugins, and generated dependency metadata.
- Direct and transitive dependencies, vulnerable code paths, exploitability, and fixed versions.
- License, provenance, signing, checksums, SBOM, registry, and artifact integrity.
- Update automation, pinning, version ranges, vendoring, and reproducibility.
- Dependency removal, replacement, or isolation options.
Skill-Specific Checklist
- [ ] Check manifest and lockfile consistency.
- [ ] Identify newly added, removed, upgraded, downgraded, or transitive dependencies.
- [ ] Check whether vulnerable dependency code is reachable in this application.
- [ ] Check fixed versions, breaking changes, and upgrade notes.
- [ ] Check version ranges, floating tags, branch dependencies, and unpinned plugins.
- [ ] Check package source, registry, maintainer, download URL, and namespace confusion risk.
- [ ] Check license compatibility and policy exceptions.
- [ ] Check SBOM, signatures, checksums, provenance, and reproducible build evidence.
- [ ] Check container base images and OS packages for update hygiene.
- [ ] Check dependency update automation and review gates.
- [ ] Check whether dependency removal or replacement is safer than upgrade.
- [ ] Document residual risk and owner when risk is accepted.
Decision Rules
- If a vulnerable package is reachable and fix exists, require upgrade or compensating control.
- If a package is unpinned, registry-sourced unexpectedly, or from an unknown maintainer, flag supply-chain risk.
- If lockfile changes are unexplained, require review before merge.
- If license policy is violated, require legal or governance review.
- If artifact integrity cannot be verified for release input, block release readiness.
- If vulnerability is not reachable, document evidence instead of relying only on CVSS.
Finding Categories
- Reachable vulnerable dependency or base image.
- Suspicious, unpinned, typosquatted, abandoned, or provenance-weak package.
- Manifest/lockfile drift or unexpected transitive dependency change.
- License, policy, or attribution violation.
- Missing SBOM, signature, checksum, or artifact integrity evidence.
- Unsafe update automation, registry trust, or reproducibility gap.
Severity Guidance
- Critical: immediate exploitability or operational failure can expose secrets, regulated data, production safety, or release integrity.
- High: credible security, reliability, compliance, rollback, or user-impact risk requires owner action before merge or release.
- Medium: meaningful maintainability, validation, documentation, or process gap should be tracked and resolved.
- Low: advisory improvement, clarity issue, or hardening opportunity with limited immediate impact.
DevSecOps Guardrails
- Do not read secrets,
.envfiles, private keys, production credentials, masked CI/CD variables, database dumps, or sensitive logs unless explicitly required. - Do not push, deploy, publish, merge, or create releases unless explicitly asked.
- Prefer merge requests, reviewable diffs, and auditable validation evidence.
- Prefer least privilege, minimal changes, and explicit rollback notes.
- Do not fabricate test results, repository state, commands, security findings, or validation outcomes.
- Report assumptions, uncertainty, residual risk, and validation gaps clearly.
Output Requirements
- Dependency change summary with direct/transitive and lockfile impact.
- Vulnerability table with reachability, fixed version, exploitability, and remediation.
- Supply-chain integrity findings covering source, signatures, checksums, SBOM, and registry trust.
- License and policy findings with required owner review.
- Upgrade, pin, replace, remove, or risk-accept recommendation.
- Validation commands and residual risk.
Acceptance Criteria
- Manifest and lockfile are consistent.
- Reachable vulnerabilities have fixes or documented compensating controls.
- Unpinned or suspicious dependencies are resolved or risk-accepted.
- License and policy risks are reviewed.
- SBOM/provenance/integrity expectations are met for release artifacts.
- Residual risk includes owner and deadline.
Anti-Patterns
- Triage by CVSS only without reachability.
- Accepting broad version ranges for production-critical packages.
- Ignoring lockfile diffs because manifest diff is small.
- Trusting package names without checking source or maintainer.
- Treating SBOM generation as artifact integrity.
- Upgrading major versions without compatibility validation.
Changelog
1.0.0 - 2026-07-28
- Initial generated production-ready SDLC / DevSecOps skill.