x-scan-container-security

Scan Docker images and Dockerfiles for vulnerabilities and generate SARIF reports.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/edercnj/ia-dev-environment --skill x-scan-container-security
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: x-scan-container-security
Source: https://github.com/edercnj/ia-dev-environment/tree/main/src/main/resources/claude/skills/x-scan-container-security
Command: npx skills add https://github.com/edercnj/ia-dev-environment --skill x-scan-container-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scans Docker images for known CVEs and analyzes Dockerfiles for security best-practices violations, delivering a unified SARIF 2.1.0 report with severity scoring and grade assignment.

Core Features & Use Cases

  • Combined image and Dockerfile security scanning using Trivy, Grype, or Snyk Container, with automatic tool selection based on availability.
  • Severity-aware filtering and SARIF/report generation to streamline security workflows in CI/CD.
  • Quick-start guidance for typical development and deployment scenarios.

Quick Start

Run the skill to scan a Docker image and Dockerfile for security issues and generate a SARIF report.

Frequently Asked Questions about x-scan-container-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a Docker image for security vulnerabilities and generate a SARIF report?▼

To scan a Docker image for vulnerabilities and generate a SARIF report, run the skill to identify CVEs, apply severity thresholds, and output SARIF 2.1.0 data alongside a Markdown report. It uses Trivy, Grype, or Snyk Container based on availability.

Can I lint a Dockerfile for security best practices alongside container image scanning?▼

Yes, you can lint a Dockerfile for security best-practice violations alongside container image scanning. The skill analyzes Dockerfiles, identifies known CVEs in images, and unifies the results into a single SARIF 2.1.0 report with severity scoring.

Does this container security scanner support Trivy, Grype, and Snyk Container?▼

Yes, this container security scanner supports Trivy, Grype, and Snyk Container. It features automatic tool selection based on which scanner is available in your environment to perform combined image and Dockerfile security scanning.

What's the best way to integrate Docker image vulnerability scanning into a CI/CD pipeline?▼

The best way to integrate Docker image vulnerability scanning into a CI/CD pipeline is using severity-aware filtering with SARIF report generation. This skill outputs SARIF 2.1.0 data to streamline security workflows and grade assignments in automated deployments.

When do I need SARIF output for container security scanning?▼

You need SARIF output for container security scanning when integrating vulnerability results into CI/CD pipelines or developer workflows that require standardized reporting. The skill produces SARIF 2.1.0 data with severity scoring to streamline these security workflows.

Are there limitations when scanning Docker images without a specific vulnerability scanner installed?▼

When scanning Docker images, the skill relies on having Trivy, Grype, or Snyk Container available in the environment. It features automatic tool selection based on availability, so scanning cannot proceed if none of these supported tools are installed.