vulnerability-scan

Automates vulnerability scanning of containers, dependencies, and infrastructure with Trivy, Grype, and Checkov.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill vulnerability-scan-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vulnerability-scan
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/05-security/vulnerability-scan
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill vulnerability-scan-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests.

What problem does it solve? Known CVEs in dependencies, container images, and infrastructure-as-code often go undetected until exploited, and teams lack a systematic process to triage, prioritize, and remediate findings within defined SLAs. ## Core Features & Use Cases - Multi-layer scanning: Configures Trivy for container and IaC scanning, Safety and npm audit for dependencies, and Checkov for Terraform misconfigurations, all integrated into GitHub Actions CI pipelines. - CVE triage workflow: Provides a Python-based triage processor that fetches CVSS details from the NVD API, assesses contextual exploitability, and generates prioritized remediation reports. - SLA-driven remediation: Enforces severity-based SLAs (CRITICAL 24h, HIGH 7d, MEDIUM 30d, LOW 90d) with suppression expiry dates, accepted-risk registers, and SBOM generation for compliance. - Use Case: A platform team adds the provided GitHub Actions workflow so every pull request and nightly build scans images and dependencies, blocks merges on CRITICAL CVEs, uploads SARIF results to GitHub Security, and produces a CycloneDX SBOM for each release. ## Quick Start Ask the AI to set up Trivy-based vulnerability scanning in your CI pipeline that blocks deployments on critical CVEs and generates a triage report with remediation SLAs.

Frequently Asked Questions about vulnerability-scan

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

FAQPage Schema
How do I scan Docker images for vulnerabilities in CI?

Use Trivy in your CI pipeline to scan container images with the command trivy image --severity CRITICAL,HIGH and exit-code 1 to fail builds. The aquasecurity/trivy-action GitHub Action integrates this directly and can upload SARIF results to GitHub Security.

Trivy vs Grype for container vulnerability scanning?

Trivy covers containers, filesystems, and IaC misconfigurations in one tool, while Grype focuses on application and OS package vulnerabilities. This workflow uses Trivy as the primary scanner because it also handles Terraform config scanning and SBOM generation.

How do I suppress false positive CVEs in Trivy?

Add the CVE ID to a .trivyignore file with a justification comment and an expiry date. Expiry dates force periodic re-evaluation so accepted risks do not become permanent undocumented debt.

Should vulnerability scanning block deployments?

Block CI only on CRITICAL severity findings with known fixes, and create tickets for HIGH findings instead of blocking. Blocking on every severity causes alert fatigue and encourages teams to bypass scanning entirely.

How do I prioritize which CVEs to fix first?

Prioritize by exploitability rather than raw CVSS score: check whether the vulnerable code path is reachable, whether the service is network-exposed, and whether authentication is required. A CRITICAL CVE in unreachable code is lower risk than a HIGH CVE in a public login endpoint.

What is an SBOM and why generate one per release?

An SBOM (Software Bill of Materials) is a machine-readable inventory of all components in a release, generated here in CycloneDX format via Trivy. It enables rapid impact assessment when a zero-day vulnerability is disclosed in any dependency.