Skill Detail

Trivy Container Image Vulnerability Scanner

Scans Docker and OCI container images with Aqua Trivy for CVEs in OS packages and language dependencies. Outputs filterable vulnerability tables with CVSS scores and fix versions.

Security & VerificationClaude Code
Security & Verification Claude Code Security Reviewed
Tool match: trivy ⭐ 34.5k GitHub stars Apache-2.0 license
COPY SKILL INSTRUCTIONS (OPTIONAL)
npx skills add agentskillexchange/skills --skill trivy-container-image-vulnerability-scanner Copy
Uses the third-party skills CLI, not an ASE-owned installer. Check your agent’s compatibility. This copies instructions; complete the upstream tool setup below separately.
At a glance
Last updated
Mar 24, 2026
Quick brief

The Trivy Container Image Vulnerability Scanner wraps the Aqua Security Trivy CLI to perform deep vulnerability analysis of container images. It pulls or references local images, scanning both OS-level packages (Alpine apk, Debian dpkg, RHEL rpm) and application dependencies (npm, pip, Go modules, Java Maven). Each detected CVE is enriched with CVSS v3.1 scores, exploit availability data from EPSS, and known fix versions. The skill supports custom severity thresholdsβ€”users can set policies like “fail on any HIGH or CRITICAL” for gate checks. It handles multi-stage Docker builds by scanning each layer independently, identifying which build stage introduced a vulnerable package. Output formats include JSON, SARIF, and a human-readable Markdown table. Integrates with vulnerability databases including NVD, GitHub Advisory Database, and Red Hat Security Data API for comprehensive coverage.