cve:scan

Scan project dependencies and source code for CVEs using Trivy.

292|103|Updated Mar 27, 2025
One-click install
npx skills add https://github.com/kagenti/kagenti --skill cve-scan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cve:scan
Source: https://github.com/kagenti/kagenti/tree/main/.claude/skills/cve%3Ascan
Command: npx skills add https://github.com/kagenti/kagenti --skill cve-scan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the comprehensive security scanning of project dependencies and source code to identify Common Vulnerabilities and Exposures (CVEs) and potential security weaknesses, preventing the deployment of vulnerable code.

Core Features & Use Cases

  • Dependency Scanning: Identifies known CVEs in project dependencies using tools like Trivy.
  • Source Code Analysis: Scans code for common vulnerability patterns and secrets.
  • Documentation Audit: Checks for accidental leakage of CVE information in documentation.
  • Use Case: Before deploying a new microservice, run cve:scan to ensure no high-severity CVEs are present in its dependencies or code, and that no sensitive vulnerability details are exposed in its README.

Quick Start

Run a full security scan on the current project, outputting results to the .cves directory.

Frequently Asked Questions about cve:scan

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

FAQPage Schema
How do I scan project dependencies for known CVEs before deployment?

To scan dependencies for known CVEs before deployment, you can run a comprehensive security scan that analyzes dependency manifests and container images using Trivy to identify vulnerable packages and prevent vulnerable code from shipping.

What is the best way to find security flaws in source code and dependencies automatically?

Finding security flaws automatically involves scanning source code and dependencies for common vulnerability patterns using Trivy alongside LLM reasoning, which provides comprehensive vulnerability detection and prevents the deployment of insecure code.

Can I use this vulnerability scan as a gating mechanism in my CI/CD pipeline?

Yes, you can integrate this vulnerability scan into your CI/CD pipelines as a gating mechanism, blocking deployments when high-severity CVEs are detected in project dependencies or source code.

Does Trivy scan container images for vulnerabilities or just project code?

Trivy scans both container images and project code, analyzing dependency manifests and source files to detect known CVEs and common security flaws across your entire project.

How do I check documentation for accidental CVE disclosure?

Checking documentation for accidental CVE disclosure involves auditing your project files to detect and remove sensitive vulnerability details that may have been exposed in READMEs or other docs.