Sploitus

Exploit for grype

kitploit · 2026-09-12

Exploit Code

MARKDOWN81 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-ANCHORE-GRYPE
![Grype 标志](https://assets.kitploit.com/production/public/readmes/168/c73939c5003a9bd10bbe79b7efaa6dde2f04c2ae05260d1c63b344bf646fb70d.png)

# Grype

**一款用于容器镜像和文件系统的漏洞扫描器。**

![Static Analysis + Unit + Integration](https://github.com/anchore/grype/workflows/Static%20Analysis%20+%20Unit%20+%20Integration/badge.svg) ![Validations](https://github.com/anchore/grype/workflows/Validations/badge.svg) ![Go Report Card](https://goreportcard.com/badge/github.com/anchore/grype) ![GitHub release](https://img.shields.io/github/release/anchore/grype.svg) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/anchore/grype.svg) ![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg) ![Join our Discourse](https://img.shields.io/badge/Discourse-Join-blue?logo=discourse) ![Follow on Mastodon](https://img.shields.io/badge/Mastodon-Follow-blue?logoColor=white&logo=mastodon)

![grype-demo](https://assets.kitploit.com/production/public/readmes/168/243150ef263a85416b83a708411795f9dc8a93fb0411a197e33aad8bbfe9a58b.gif)

## 特性

  * 扫描**容器镜像** 、**文件系统** 和**SBOM** 以发现已知漏洞(查看文档了解完整的支持的扫描目标列表)
  * 支持主流操作系统软件包生态系统(Alpine、Debian、Ubuntu、RHEL、Oracle Linux、Amazon Linux 以及更多)
  * 支持特定语言的软件包(Ruby、Java、JavaScript、Python、.NET、Go、PHP、Rust 以及更多)
  * 支持 Docker、OCI 和 Singularity 镜像格式
  * 通过 **EPSS** 、**KEV** 和 **风险评分** 进行威胁与风险优先级排序(参见解读结果文档)
  * OpenVEX 支持,用于过滤和增强扫描结果



> [!TIP] 刚接触 Grype?请查看入门指南以获取操作指南!

## 安装

最快上手的方式:

root@kitploit:~
    
    
    curl -sSfL https://get.anchore.io/grype | sudo sh -s -- -b /usr/local/bin
    

> [!TIP] 查看安装文档以了解获取 Grype 的更多方式,包括 Homebrew、Docker、Chocolatey、MacPorts 等!

## 基础用法

扫描容器镜像或目录中的漏洞:

root@kitploit:~
    
    
    # 容器镜像
    grype alpine:latest
    
    # 目录
    grype ./my-project
    

扫描 SBOM 以实现更快的漏洞检测:

root@kitploit:~
    
    
    # 扫描 Syft SBOM
    grype sbom:./sbom.json
    
    # 将 SBOM 管道输入到 Grype
    cat ./sbom.json | grype
    

> [!TIP] 查看入门指南以探索所有功能和特性。
> 
> 想了解 Grype 的全部细节?请查阅 CLI 文档和配置文档。

## 贡献

我们鼓励用户通过提交 issue 来帮助改进这些工具,无论是发现 bug 还是提出新功能。 如果您有兴趣贡献代码,请查看我们的贡献概述和开发者专属文档。

Grype 的开发由 Anchore 赞助,并以 Apache-2.0 许可证发布。 Grype 标志 由 Anchore 创作,采用 CC BY 4.0![](https://mirrors.creativecommons.org/presskit/icons/cc.svg)![](https://mirrors.creativecommons.org/presskit/icons/by.svg) 许可 

如需 Syft 或 Grype 的商业支持选项,请联系 Anchore。

## 来和我们聊聊吧!

Grype 团队定期举办在线社区会议。欢迎所有人加入并带来讨论话题。

  * 查看日历了解下一次会议日期。
  * 将话题添加到议程中(加入这个小组以获得议程的写入权限)
  * 会议上见!