security-trivy

Automate security scanning of container images, filesystems, and Infrastructure as Code with Trivy.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/kobogithub/knowledge --skill security-trivy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-trivy
Source: https://github.com/kobogithub/knowledge/tree/main/skills/security-trivy
Command: npx skills add https://github.com/kobogithub/knowledge --skill security-trivy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the detection of vulnerabilities, misconfigurations, and secrets within container images, filesystems, and Infrastructure as Code (IaC) configurations, enhancing the security posture of your projects.

Core Features & Use Cases

  • Container Image Scanning: Identifies OS package and application dependency vulnerabilities in Docker images.
  • Filesystem Scanning: Detects vulnerabilities, secrets, and misconfigurations in project dependencies (Python, Node.js, etc.).
  • IaC Scanning: Analyzes Dockerfiles, Kubernetes manifests, and Terraform configurations for security issues.
  • Use Case: Integrate this Skill into your CI/CD pipeline to automatically scan your application's Docker image for critical vulnerabilities before deployment, preventing security breaches.

Quick Start

Scan the local Docker image named 'backend:latest' for critical and high severity vulnerabilities.

Frequently Asked Questions about security-trivy

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

FAQPage Schema
How do I scan Docker images for vulnerabilities in a CI/CD pipeline?

You can scan Docker images for vulnerabilities by automating Trivy to identify OS package and application dependency flaws. Integrating this scan into your CI/CD pipeline enables early detection of critical and high severity issues before deployment.

Can I detect secrets and misconfigurations in Infrastructure as Code?

Yes, IaC scanning analyzes Dockerfiles, Kubernetes manifests, and Terraform configurations to detect security misconfigurations and embedded secrets. This helps identify infrastructure risks early in the development cycle.

Do I need Trivy installed to scan local filesystems for dependency vulnerabilities?

Yes, you need Trivy installed locally or available via Docker to scan local filesystems. This setup allows the scanner to detect vulnerabilities, secrets, and misconfigurations within project dependencies like Python and Node.js.

What is the best way to automate vulnerability scanning for project dependencies?

Automating vulnerability scanning for project dependencies is best achieved by running Trivy against local filesystems or container images. This process detects OS package and language-specific dependency flaws across your project files.

Does Trivy work with Python and Node.js project dependencies?

Trivy works with Python, Node.js, and other language dependencies by scanning local filesystems. It detects known vulnerabilities within these application dependencies to help maintain your project's security posture.