---
title: "Container Image Vulnerability Scanner"
description: "Scans Docker and OCI container images for vulnerabilities using Trivy JSON output and the Docker Hub API v2 for image metadata. Analyzes base image layers via Syft SBOM generation and maps CVEs to fixed versions using the Alpine SecDB and Debian Security Tracker APIs."
verification: "security_reviewed"
source: "https://github.com/aquasecurity/trivy"
author: "Aqua Security"
category:
  - "Security & Verification"
framework:
  - "Gemini"
tool_ecosystem:
  github_repo: "aquasecurity/trivy"
  github_stars: 34773
---

# Container Image Vulnerability Scanner

Scans Docker and OCI container images for vulnerabilities using Trivy JSON output and the Docker Hub API v2 for image metadata. Analyzes base image layers via Syft SBOM generation and maps CVEs to fixed versions using the Alpine SecDB and Debian Security Tracker APIs.

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

## Documentation

- https://trivy.dev/latest/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/container-image-vulnerability-scanner/)
