agentleFS
BuilderCedBuilderCed/agent-skills/skills/devsecops/devsecops-supply-chain/SKILL.md

devsecops-supply-chain

Skill2 starsChanged 7 months agoMITView on GitHub

Generate SBOM (CycloneDX/SPDX), verify SLSA provenance, audit dependency chains, and detect supply chain attack patterns.

  • Installs packages

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a terminal is available, use these commands.

    line 44
  2. Distinctive:

    Does not patch vulnerabilities automatically

    line 92
  3. Distinctive:

    Does not detect zero-day exploits

    line 93
  4. Distinctive:

    Does not replace tools like Snyk, Dependabot, or pip-audit (complements them)

    line 94
  5. Distinctive:

    Does not manage secrets rotation

    line 95

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DevSecOps Supply Chain Security

When to Use

  • Setting up dependency security for a new project
  • Generating SBOM for compliance or audit
  • Investigating a suspicious dependency
  • Responding to a supply chain incident
  • Configuring CI/CD security gates

SBOM Generation

Formats

FormatStandardBest For
CycloneDXOWASPSecurity-focused, VEX support
SPDXLinux FoundationLicense compliance, legal

Generation Commands

If a terminal is available, use these commands. Otherwise, describe what fields to include manually.

Node.js/npm:

npx @cyclonedx/cyclonedx-npm --output-file sbom.json

Python/pip:

pip install cyclonedx-bom
cyclonedx-py requirements -i requirements.txt -o sbom.json

Go:

cyclonedx-gomod mod -json -output sbom.json

SLSA Compliance Levels

LevelRequirementHow
SLSA 1Documentation of build processDocument build steps
SLSA 2Hosted build platform, signed provenanceUse GitHub Actions, sign with Sigstore
SLSA 3Hardened build platform, non-falsifiable provenanceIsolated builders, hermetic builds

Supply Chain Attack Patterns

PatternDetectionPrevention
TyposquattingCompare package name to known packagesPin exact versions
Dependency confusionCheck if internal name exists on public registryScope packages, configure registry priority
Compromised maintainerMonitor for unusual releases, new maintainersPin versions + hashes, delayed adoption
Malicious post-installAudit install scripts--ignore-scripts flag, review before install
Star-jackingVerify GitHub URL matches npm/PyPI metadataCross-reference package metadata

Dependency Audit Checklist

  1. Are all dependencies pinned to exact versions?
  2. Are lockfiles committed and reviewed in PRs?
  3. Are dependency hashes verified (pip --require-hashes, npm --package-lock-only)?
  4. Is there a delay before adopting new package versions (7+ days)?
  5. Are transitive dependencies audited (not just direct)?
  6. Are install scripts reviewed for new dependencies?
  7. Is there automated vulnerability scanning in CI?

What This Skill Does NOT Do

  • Does not patch vulnerabilities automatically
  • Does not detect zero-day exploits
  • Does not replace tools like Snyk, Dependabot, or pip-audit (complements them)
  • Does not manage secrets rotation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.