Skip to content
Agentmart
Submit a tool

dependency-governance

Govern third-party and OSS dependencies via SBOM, SLSA, OpenSSF Scorecard, and license policy.

Skill by SwapnilPopat

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/swapnilpopat-dependency-governance

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Govern third-party and OSS dependencies via SBOM, SLSA, OpenSSF Scorecard, and license policy. Use when establishing supply-chain controls, responding to CVE pressure, or preparing for SOC 2 / EU CRA audits.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dependency-governance

What's inside

Skill name
dependency-governance
Description
Govern third-party and OSS dependencies via SBOM, SLSA, OpenSSF Scorecard, and license policy. Use when establishing supply-chain controls, responding to CVE pressure, or preparing for SOC 2 / EU CRA audits.
License
MIT
Instructions
94 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Dependency Governance

Modern systems are mostly other people's code. Dependency governance turns supply chain into a managed risk: every artifact has a verified provenance, a Software Bill of Materials, a license posture, and a refresh cadence enforced in CI and at admission.

## Stack Baseline (2026)
| Concern | Recommended |
| --- | --- |
| SBOM format | CycloneDX 1.6, SPDX 3.0 |
| Provenance | SLSA v1.0 (target Build L3), in-toto attestations |
| Signing | Sigstore (cosign), Rekor transparency log |
| Health scoring | OpenSSF Scorecard, deps.dev |
| Vulnerability | OSV.dev, GitHub Advisory, Trivy, Grype, Dependency-Track |
| License | ScanCode, FOSSA, ORT; SPDX expressions |
| Updates | Renovate / Dependabot with grouped, scheduled PRs |
| Admission | Kyverno / OPA Gatekeeper verifying signatures + SBOM |
| Regulation | EU Cyber Resilience Act 2024, US EO 14028, NIST SSDF |

## When to Use
- Standing up a secure SDLC or paved road.
- Pre-release of a product subject to CRA, FedRAMP, or SOC 2.
- Post-incident (Log4Shell-class) supply-chain hardening.
- M&A: assessing acquired codebase risk.

## Prerequisites
- CI able to produce and publish SBOMs and signed attestations.
- Artifact registry supporting OCI referrers (Sigstore, attestations).
- Policy decision point at admission (cluster, registry, or CI gate).

## Instructions

```mermaid
flowchart LR
  S[Source] --> B[Build w/ SLSA provenance]
  B --> SB[Generate CycloneDX SBOM]
  SB --> SC[Sign w/ cosign + Rekor]
  SC --> R[Push to registry]
  R --> A{Admission}
  A -->|verify sig + SBOM + scorecard| K[Deploy]
  A -->|fail| X[Block + alert]
  K --> M[Continuous scan: OSV, license]
```

1. **Inventory.** Generate SBOM on every build (Syft, cdxgen). Store in Dependency-Track for diffing and continuous CVE matching.
2. **Provenance.** Emit SLSA v1.0 provenance via reusable workflows or Tekton Chains; sign with cosign keyless; log to Rekor.
3. **Health gates.** Block dependencies below a Scorecard threshold (e.g. < 6.0) or unmaintained > 12 months. Pin and mirror critical OSS.
4. **License policy.** Maintain allow/deny list (e.g. allow MIT/Apache-2.0/BSD; deny AGPL for SaaS); enforce via Conftest.
5. **Update cadence.** Renovate with grouped weekly PRs, auto-merge for patch on green CI, escalate majors to ADR.
6. **Respond.** SLA per severity (Critical 24h, High 7d). Track MTTR via Dependency-Track metrics.

```yaml
# .github/workflows/build.yml (excerpt)
permissions: { id-token: write, contents: read, attestations: write }
jobs:
  build:
    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0.0
  sbom:
    steps:
      - run: syft packages dir:. -o cyclonedx-json > sbom.cdx.json
      - run: cosign attest --predicate sbom.cdx.json --type cyclonedx $IMAGE
```

```rego
# Conftest license policy
package licenses
deny[msg] {
  pkg := input.components[_]
  banned := {"AGPL-3.0", "SSPL-1.0"}
  banned[pkg.licenses[_].license.id]
  msg := sprintf("Banned license %s in %s", [pkg.licenses[_].license.id, pkg.name])
}
```

## Common Pitfalls
| Pitfall | Mitigation |
| --- | --- |
| SBOM generated but never queried | Push to Dependency-Track; alert on new CVEs |
| Signature optional | Make verification mandatory at admission |
| Renovate PR storm ignored | Group + schedule + auto-merge patches |
| License scan in legal silo | Shift left into CI with Conftest |
| Forgotten transitive deps | Scan full graph; fail on indirect critical CVEs |

## Output Format
- Per-artifact: SBOM (CycloneDX), SLSA provenance, cosign signature.
- Repo: `SECURITY.md`, `THIRD_PARTY_LICENSES`, Renovate config, policy bundle.
- Org: Dependency-Track dashboard, Scorecard report, exception register.

## Authoritative References
- SLSA v1.0 specification (slsa.dev).
- OpenSSF Scorecard and Best Practices Badge.
- CycloneDX 1.6 spec; SPDX 3.0 spec.
- NIST SP 800-218 SSDF; US Executive Order 14028.
- EU Cyber Resilience Act, Regulation (EU) 2024/2847.

From SwapnilPopat/ai-assistant-skills, MIT.

More from SwapnilPopat/ai-assistant-skills

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
May 1, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from SwapnilPopat

Cite this page

dependency-governance skill. Agent Mart. https://agentmart.dev/skills/swapnilpopat-dependency-governance (last updated 2026-10-24)