Grype
Grype is a vulnerability scanner for container images and filesystems. It is open source under the Apache-2.0 license. It runs on Linux, macOS, and Windows.
Updated
- Pricing
- Open Source
- License
- Apache-2.0
- Platforms
- Linux, macOS, Windows
What Is Grype?
Grype is a vulnerability scanner for container images and filesystems. It compares installed packages and dependencies against vulnerability databases and includes EPSS and CISA KEV data. The CLI runs locally and matches against a vulnerability database that it downloads and caches.
Use Cases
Use Grype to scan container images, SBOMs, and project directories for known CVEs in CI/CD pipelines.
Strengths and Limitations
Strengths
- +Runs locally with no need for a remote vulnerability platform.
- +Covers operating system packages and many language-specific ecosystems.
- +Includes EPSS and KEV data for prioritizing which vulnerabilities to fix first.
Limitations
- -May report false positives for packages matched through CPE data from the NVD.
- -Detection depends on the locally cached vulnerability database, which updates on launch when a newer version is available.
Defensive Use
Use Grype to block container images with critical or high-risk CVEs from deployment and drive patching priorities.
Grype Alternatives
5 tools| Tool | License | Platforms | Pricing |
|---|---|---|---|
| Checkov Static analysis scanner for infrastructure-as-code that detects misconfigurations in Terraform, CloudFormation, Kubernetes, and Dockerfile. | Apache-2.0 | Linux, macOS, Windows | Open Source |
| OWASP Dependency-Check Software composition analysis tool that checks project dependencies against the National Vulnerability Database for known CVEs. | Apache-2.0 | Linux, macOS, Windows | Open Source |
| Prowler Open-source multi-cloud security posture and compliance platform with hundreds of controls mapped to CIS, NIST, and ISO 27001. | Apache-2.0 | Linux, macOS, Windows | Free / Commercial |
| Snyk Freemium application security platform that scans source code, open-source dependencies, containers, and IaC for vulnerabilities and license issues. | Proprietary (platform); Apache-2.0 (Snyk CLI) | Linux, macOS, Windows | Freemium |
| Trivy Security scanner for container images, file systems, Git repositories, and Kubernetes configurations to detect CVEs. | Apache-2.0 | Linux, macOS, Windows, FreeBSD | Free / Commercial |
Frequently Asked Questions
What is Grype?→
Grype is a vulnerability scanner for container images and filesystems. It compares installed packages and dependencies against vulnerability databases and includes EPSS and CISA KEV data. The CLI runs locally and matches against a vulnerability database that it downloads and caches.
What is Grype used for?→
Use Grype to scan container images, SBOMs, and project directories for known CVEs in CI/CD pipelines.
What are the strengths of Grype?→
- +Runs locally with no need for a remote vulnerability platform.
- +Covers operating system packages and many language-specific ecosystems.
- +Includes EPSS and KEV data for prioritizing which vulnerabilities to fix first.
What are the limitations of Grype?→
- +May report false positives for packages matched through CPE data from the NVD.
- +Detection depends on the locally cached vulnerability database, which updates on launch when a newer version is available.
How is Grype used defensively?→
Use Grype to block container images with critical or high-risk CVEs from deployment and drive patching priorities.