Skip to content

JPeetz/agent-skills / skills/security/supply-chain-security-scanner

supply-chain-security-scanner

Flagged

Use this skill when auditing an application's software supply chain: dependency vulnerability scanning across npm, PyPI, Maven, Go modules, Cargo, and container images; SBOM generation (SPDX, CycloneDX) with Syft and Grype; license compliance checks against organizational policy; and cryptographic provenance/SLSA verification with cosign and slsa-verifier. Runs a structured Scan → Analyze → Report → Remediate audit producing machine-readable vulnerability reports with CVSS scores, exploitability assessments, and actionable fixes aligned with OWASP Agentic Skills Top 10 guidance. Integrates NVD, GHSA, and OSV; works with npm audit, pip-audit, OWASP Dependency-Check, and trivy.

FileKindSize
CHANGELOG.mdmarkdown2.4 KB
LICENSEother1.0 KB
SKILL.mdskill md28.7 KB
evals/evals.jsonconfig5.8 KB
references/ecosystem-vuln-databases.mdmarkdown11.4 KB
references/owasp-ast10-summary.mdmarkdown6.0 KB
references/sbom-formats.mdmarkdown6.5 KB
scripts/generate-sbom.shexecutablescript13.9 KB
scripts/scan-dependencies.shexecutablescript21.9 KB
scripts/verify-provenance.shexecutablescript20.0 KB

evals/evals.json

View on GitHub
{
  "skill": "supply-chain-security-scanner",
  "version": "1.0.0",
  "cases": [
    {
      "id": "eval-001-scan-vulnerable-deps",
      "description": "Direct request to scan a project for known vulnerabilities in its dependency tree.",
      "input": "scan my project for vulnerable dependencies",
      "shouldTrigger": true,
      "expect": "Skill activates; auto-detects project ecosystem; runs appropriate scanner(s); produces vulnerability report.",
      "assertions": [
        "Direct request to scan a project for known vulnerabilities in its dependency tree.",
        "Skill activates; auto-detects project ecosystem; runs appropriate scanner(s); produces vulnerability report."
      ]
    },
    {
      "id": "eval-002-generate-sbom",
      "description": "Clear request for Software Bill of Materials generation. Core scanner capability.",
      "input": "generate an SBOM for this repository",
      "shouldTrigger": true,
      "expect": "Skill activates; runs generate-sbom.sh; outputs CycloneDX or SPDX SBOM file.",
      "assertions": [
        "Clear request for Software Bill of Materials generation. Core scanner capability.",
        "Skill activates; runs generate-sbom.sh; outputs CycloneDX or SPDX SBOM file."
      ]
    },
    {
      "id": "eval-003-check-npm-cves",
      "description": "Ecosystem-specific vulnerability audit request. Should trigger npm audit + Grype scanning.",
      "input": "check if our npm packages have known CVEs",
      "shouldTrigger": true,
      "expect": "Skill activates; runs npm audit and/or Grype; reports CVEs with CVSS scores and fix versions.",
      "assertions": [
        "Ecosystem-specific vulnerability audit request. Should trigger npm audit + Grype scanning.",
        "Skill activates; runs npm audit and/or Grype; reports CVEs with CVSS scores and fix versions."
      ]
    },
    {
      "id": "eval-004-audit-supply-chain",
      "description": "General supply chain audit request encompassing all scanner capabilities.",
      "input": "audit our software supply chain",
      "shouldTrigger": true,
      "expect": "Skill activates; runs full multi-scanner audit including dependency scanning, license check, and (if possible) provenance verification.",
      "assertions": [
        "General supply chain audit request encompassing all scanner capabilities.",
        "Skill activates; runs full multi-scanner audit including dependency scanning, license check, and (if possible) provenance verification."
      ]
    },
    {
      "id": "eval-005-verify-container-provenance",
      "description": "Provenance verification request targeting a container image.",
      "input": "verify the provenance of this container image",
      "shouldTrigger": true,
      "expect": "Skill activates; runs verify-provenance.sh; checks cosign signatures and SLSA attestations.",
      "assertions": [
        "Provenance verification request targeting a container image.",
        "Skill activates; runs verify-provenance.sh; checks cosign signatures and SLSA attestations."
      ]
    },
    {
      "id": "eval-006-near-miss-sbom-meaning",
      "description": "Informational/educational request \u2014 user wants a definition, not a scan.",
      "input": "explain what SBOM means",
      "shouldTrigger": false,
      "expect": "Skill does NOT activate. Agent answers the question directly without running any scanner tools.",
      "assertions": [
        "Informational/educational request \u2014 user wants a definition, not a scan.",
        "Skill does NOT activate. Agent answers the question directly without running any scanner tools."
      ]
    },
    {
      "id": "eval-007-near-miss-secure-npm",
      "description": "General security advice request \u2014 user wants guidance, not an automated scan.",
      "input": "how do I secure my npm packages?",
      "shouldTrigger": false,
      "expect": "Skill does NOT activate. Agent provides best practices advice (pin versions, use lockfiles, npm audit regularly, etc.) without executing a scan.",
      "assertions": [
        "General security advice request \u2014 user wants guidance, not an automated scan.",
        "Skill does NOT activate. Agent provides best practices advice (pin versions, use lockfiles, npm audit regularly, etc.) without executing a scan."
      ]
    },
    {
      "id": "eval-008-dependency-confusion-check",
      "description": "Specific supply chain attack vector detection request.",
      "input": "check for dependency confusion attacks",
      "shouldTrigger": true,
      "expect": "Skill activates; checks for packages with names matching internal registries; flags packages from unexpected sources.",
      "assertions": [
        "Specific supply chain attack vector detection request.",
        "Skill activates; checks for packages with names matching internal registries; flags packages from unexpected sources."
      ]
    },
    {
      "id": "eval-009-generate-cyclonedx",
      "description": "Format-specific SBOM generation request.",
      "input": "generate a CycloneDX SBOM",
      "shouldTrigger": true,
      "expect": "Skill activates; runs generate-sbom.sh with --format cyclonedx; validates NTIA minimum elements.",
      "assertions": [
        "Format-specific SBOM generation request.",
        "Skill activates; runs generate-sbom.sh with --format cyclonedx; validates NTIA minimum elements."
      ]
    },
    {
      "id": "eval-010-scan-docker-image",
      "description": "Container image vulnerability scanning request.",
      "input": "scan this Docker image for vulnerabilities",
      "shouldTrigger": true,
      "expect": "Skill activates; runs trivy image scan; reports CVEs found in image layers and packages.",
      "assertions": [
        "Container image vulnerability scanning request.",
        "Skill activates; runs trivy image scan; reports CVEs found in image layers and packages."
      ]
    }
  ]
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall