LLMSkillHub
mirroredCopied from irahardianto/awesome-agv under MIT. irahardianto has not claimed this page, and is not affiliated with LLM SkillHub.

irahardianto / supply-chain-security

SBOM generation, CVE scanning, supply chain attack detection, license compliance, dependency pinning, and artifact verification.

0
SKILL.md
2.7 KB

Supply Chain Security Principles

Guidelines for securing the software supply chain.

When to Invoke

  • Auditing project dependencies
  • Setting up CVE scanning in CI/CD
  • License compliance review
  • Responding to supply chain vulnerability disclosures

Dependency Security

CVE Scanning

LanguageToolCommand
Gogovulncheckgovulncheck ./...
Rustcargo auditcargo audit
Pythonpip-auditpip-audit
Node.jsnpm auditnpm audit
JavaOWASP Dependency-Checkmvn dependency-check:check
.NETBuilt-indotnet list package --vulnerable
Rubybundle auditbundle audit check --update
PHPcomposer auditcomposer audit

Scanning Frequency

  • Every CI run — fail build on critical/high CVEs
  • Weekly scheduled scan — catch newly disclosed vulnerabilities
  • On dependency update — verify new version is clean

SBOM (Software Bill of Materials)

Generation

# CycloneDX format (recommended)
# Go
cyclonedx-gomod mod -json -output sbom.json

# Node.js
npx @cyclonedx/cyclonedx-npm --output-file sbom.json

# Python
cyclonedx-py poetry --format json -o sbom.json

Usage

  • Attach SBOM to releases
  • Track all transitive dependencies
  • Enable downstream vulnerability analysis

License Compliance

Risk Levels

LicenseRiskAction
MIT, BSD, Apache 2.0LowPermissive — generally safe
LGPLMediumReview linking requirements
GPLHighCopyleft — may require source disclosure
AGPLCriticalNetwork copyleft — consult legal
No licenseCriticalCannot use — no rights granted

Automation

  • Use license-checker (Node.js), pip-licenses (Python), cargo-license (Rust)
  • Maintain allowlist/denylist of approved licenses
  • Fail CI on disallowed licenses

Supply Chain Attack Prevention

  1. Lock files committed — package-lock.json, go.sum, Cargo.lock, poetry.lock
  2. Pin exact versions in production — no floating ranges
  3. Verify checksums — lock files contain integrity hashes
  4. Review new dependencies — check maintainer, downloads, last commit, open issues
  5. Minimal dependencies — each dep = increased attack surface
  6. Signed commits and releases — verify artifact provenance

Related

  • Dependency Management Principles @.agents/rules/dependency-management-principles.md
  • Security Principles .agents/rules/security-principles.md
  • Security Mandate .agents/rules/security-mandate.md