Skip to main content
skill CX Codex

sca-trivy — Claude Code skill: what it does, how to install

sca-trivy runs Aqua Trivy vulnerability audits on dependencies, container images, and IaC files, generating SBOMs and SARIF reports.

no license 1 installs ★ 228 updated 2026-01-18

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rohunj/claude-build-workflow --skill sca-trivy -a claude-code
Open on GitHub

What sca-trivy does

This skill guides the coding agent through security scanning workflows powered by Aqua Trivy. It detects published CVE flaws across dependencies, scans file trees or manifests such as package-lock.json, and audits infrastructure configurations across Terraform, Kubernetes, and Dockerfile assets.

Workflows include container image assessments mapped against OWASP and CWE classifications, dependency triage by CVSS severity, pipeline automation for GitHub Actions or GitLab CI, and generating SBOM data using CycloneDX or SPDX JSON outputs. The skill also accounts for secret detection via --scanners secret.

Both trivy and docker must be present in the execution environment. The agent relies on invoking local CLI tooling, so missing binaries will halt execution.

What it helps with

  • audit dependencies for known high and critical CVEs
  • scan container images for operating system and library flaws
  • spot security misconfigurations in Terraform or Kubernetes manifests
  • produce CycloneDX or SPDX SBOM files for supply chain tracking
  • configure SARIF scanning jobs inside CI/CD pipelines

Example prompts for the agent

  • Scan the local filesystem dependencies with trivy focusing on CRITICAL and HIGH issues
  • Generate a cyclonedx SBOM report for container image nginx:latest
  • Review the ./terraform directory for IaC misconfigurations using trivy config

How to install sca-trivy

1Skills CLI (Vercel)

npx skills add rohunj/claude-build-workflow --skill sca-trivy -a claude-code

2Manually: put the files in place

~/.claude/skills/sca-trivy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sca-trivy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sca-trivy

How to install sca-trivy in Claude Code?

Run npx skills add rohunj/claude-build-workflow --skill sca-trivy -a claude-code in your terminal.

What does sca-trivy do?

It orchestrates vulnerability scanning using Aqua Trivy across container images, application dependencies, IaC templates, and SBOM generation.

What system dependencies are required?

The host environment requires trivy and docker installed and available in the executable path.

Similar skills

All skills for Security →

Project sponsors

Companies that keep this analytics open