Tool
CLI
Vulnerability Management

grype

by anchore

11.4Kstars
729forks
82watchers
Updated about 1 month ago
About

Grype is a powerful vulnerability scanner designed to detect known security issues in container images and filesystems.

A vulnerability scanner for container images and filesystems

Primary Use Case

Grype is primarily used by DevSecOps teams and security professionals to scan container images and filesystems for known vulnerabilities, helping to ensure secure software deployments. It integrates well with software supply chain workflows to identify and manage risks before production deployment.

Key Features
  • Scans container images and filesystems for known vulnerabilities
  • Supports major OS packages including Alpine, Debian, Ubuntu, Red Hat, and more
  • Detects vulnerabilities in language-specific packages like Ruby Gems, Java, JavaScript, Python, Dotnet, Golang, PHP, and Rust
  • Compatible with Docker, OCI, and Singularity image formats
  • Integration with Syft for generating Software Bill of Materials (SBOM)
  • Supports OpenVEX for filtering and augmenting vulnerability scan results
  • Active community with regular meetings and commercial support options

Installation

  • Run the installation script via curl: curl -sSfL https://get.anchore.io/grype | sudo sh -s ...

Usage

>_ grype <image-name>

Scan a container image for vulnerabilities

>_ grype <filesystem-path>

Scan a local filesystem path for vulnerabilities

Security Frameworks
Reconnaissance
Resource Development
Defense Evasion
Discovery
Collection
Usage Insights
  • Integrate Grype into CI/CD pipelines to automate vulnerability detection before deployment.
  • Combine Grype with Syft-generated SBOMs to enhance software supply chain security and compliance.
  • Use OpenVEX support to filter out false positives and prioritize actionable vulnerabilities.
  • Leverage Grype's container scanning to enforce security gates in DevSecOps workflows.
  • Employ Grype in purple team exercises to simulate attacker reconnaissance and improve detection capabilities.

Docs Take 2 Hours. AI Takes 10 Seconds.

Ask anything about grype. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.

3 free chats per tool • Instant responses • No credit card

Security Profile
Red Team60%
Blue Team85%
Purple Team75%
Details
LicenseApache License 2.0
LanguageGo
Open Issues1111
Topics
containers
security
vulnerability
docker
golang
go
static-analysis
container-image
tool
oci