Automic VaultAutomic Vault

brew

grype を Homebrew, apk, chocolatey, MacPorts, Nix, zypper, scoop, winget でインストール

grype のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install grype

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install grype

MacPorts ports tree · security/grype/Portfile · ソース: api.github.com

概要

パッケージ概要

Vulnerability scanner for container images and filesystems

コマンドとエイリアス

  • grype

履歴

プロジェクトの歴史と使われ方

Grype is Anchore's open-source vulnerability scanner for container images, filesystems, and SBOMs. It became part of the Syft-and-Grype toolchain: Syft catalogs what software is present, and Grype matches that inventory against vulnerability data.

プロジェクトの歴史

Anchore created the grype repository in May 2020 and published beta releases in July 2020. The README describes a standalone CLI that scans images, directories, and SBOMs; supports major Linux distribution package ecosystems; supports language package ecosystems; and understands Docker, OCI, and Singularity image formats.

The project evolved alongside Anchore's broader open-source supply-chain tooling. Syft, created in May 2020, generates SBOMs for container images and filesystems, while Grype consumes image contents or SBOM documents to report known vulnerabilities. Anchore later moved substantial usage and reference documentation to oss.anchore.com as the tools accumulated guides, coverage matrices, CLI references, and configuration docs.

Grype's release history shows steady iteration from the 0.1.0 beta series in 2020 into frequent tagged releases. Its feature set expanded beyond simple CVE tables to include SBOM scanning, multiple output formats, risk prioritization signals such as EPSS and KEV, OpenVEX filtering and augmentation, and documented configuration-file search paths.

採用の歴史

Grype's adoption tracks the rise of software supply-chain security, container scanning, and SBOM workflows. The official README and docs emphasize local CLI use, CI/CD automation, and scanning of images, directories, archives, and SBOMs. The Homebrew facts also show packaging across macOS, Linux, Windows package managers, and distribution ecosystems, which is typical for security CLIs expected to run on developer workstations and CI agents.

Anchore's open-source page presents Grype with Syft and Grant as a set of developer-friendly container-security tools. That grouping matters historically because Grype is not just a container scanner; it is part of a workflow where SBOM generation, vulnerability matching, license checks, and automation are treated as separate composable command-line steps.

使われ方

Common usage is `grype <image>` for a container image, `grype dir:.` for a directory, or `grype sbom:<path>` for an existing SBOM. The docs describe JSON output for downstream processing, database downloads for vulnerability matching, offline operation after an initial database download, and CI/CD use where pipelines can fail based on severity thresholds.

Package and security engineers care about the input source because Grype can scan Docker and OCI images, local directories, archives, and SBOM files. Its results depend on package cataloging and vulnerability database matching, so it is often paired with Syft when an explicit SBOM artifact is desired.

パッケージ好きにとっての重要性

Grype is significant to package nerds because it turns package metadata into security decisions. It has to understand OS package managers, language package managers, image layers, SBOM formats, vulnerability identifiers, fixed-version ranges, and suppression or VEX context. That makes it a practical stress test for how well packaging metadata represents real software contents.

It also illustrates the modern CLI distribution pattern for security tools: a single compiled executable, Homebrew and other package-manager formulae, container images, CI integration, generated documentation, and a separate data-update path for the vulnerability database.

タイムライン

  • 2020: anchore/grype repository created.
  • 2020: Grype 0.1.0 beta releases published.
  • 2020: anchore/syft repository created as the companion SBOM generator.
  • 2023: Grype release stream includes 0.64.x and later 0.x releases, reflecting continued pre-1.0 iteration.
  • 2025: Anchore announced a dedicated oss.anchore.com documentation home for Syft, Grype, and Grant.
  • 2026: Anchore OSS docs describe Grype guides for vulnerability scanning, scan targets, interpreting results, filtering, and database management.

Related projects

  • Syft is Anchore's companion SBOM generator and is commonly paired with Grype.
  • Grant is Anchore's related license-checking CLI.
  • Trivy, Docker Scout, and other vulnerability scanners occupy adjacent container and SBOM scanning workflows.
  • OpenVEX is supported by Grype for filtering and augmenting vulnerability results.

セキュリティ状態

リスクレベル: red

broad file, network, media, or database tool signal. escape, surveillance, or offensive capability signal.

リスク分類器

リスク red · 信頼度 中 · escape-surveillance-offensive

理由

  • broad file, network, media, or database tool signal
  • escape, surveillance, or offensive capability signal
  • infrastructure mutation or orchestration signal

信号

  • text:container
  • text:image
  • text:vulnerability scanner

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.grype.yaml./.grype.yml./.grype/config.yaml./.grype/config.yml~/.grype.yaml~/.grype.yml$XDG_CONFIG_HOME/grype/config.yaml$XDG_CONFIG_HOME/grype/config.yml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
grypecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.116.0
マネージャ更新日2026-07-16
ローカルデータOK
上流最新
検出された最新v0.116.0

https://github.com/anchore/grype

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:grype
バージョン0.116.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/grype
ホームページhttps://github.com/anchore/grype
リポジトリhttps://github.com/anchore/grype
上流ドキュメントhttps://github.com/anchore/grype#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/anchore/grype/archive/refs/tags/v0.116.0.tar.gz
最終更新2026-07-16T18:37:52Z
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrype
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

grype

nix profile install nixpkgs#grype
  • normalized package name match
  • 一致条件: Grype
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/grype/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

grype 0.111.0-r1

Vulnerability scanner for container images, filesystems, and SBOMs

https://github.com/anchore/grype

sudo apk add grype
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: grype
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Grype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: grype from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

grype-bash-completion 0.111.0-r1

Bash completions for grype

https://github.com/anchore/grype

sudo apk add grype-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: grype
  • normalized package name match
  • 一致条件: Grype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: grype-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

grype-fish-completion 0.111.0-r1

Fish completions for grype

https://github.com/anchore/grype

sudo apk add grype-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: grype
  • normalized package name match
  • 一致条件: Grype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: grype-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

grype-zsh-completion 0.111.0-r1

Zsh completions for grype

https://github.com/anchore/grype

sudo apk add grype-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: grype
  • normalized package name match
  • 一致条件: Grype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: grype-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
zypper95%

grype 0.114.0-1.1

A vulnerability scanner for container images and filesystems

https://github.com/anchore/grype

sudo zypper install grype
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: grype
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Grype
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grype from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

grype-bash-completion 0.114.0-1.1

Bash Completion for grype

https://github.com/anchore/grype

sudo zypper install grype-bash-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: grype
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Grype
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grype-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

grype-fish-completion 0.114.0-1.1

Fish Completion for grype

https://github.com/anchore/grype

sudo zypper install grype-fish-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: grype
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Grype
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grype-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

grype-zsh-completion 0.114.0-1.1

Zsh Completion for grype

https://github.com/anchore/grype

sudo zypper install grype-zsh-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: grype
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Grype
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grype-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

grype

sudo port install grype
  • normalized package name match
  • 一致条件: Grype
MacPorts ports tree · api.github.com · MacPorts ports tree: security/grype/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

grype

choco install grype
  • normalized package name match
  • 一致条件: Grype
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: grype from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gpg4win-vanilla'
Scoop95%

main/grype

scoop install main/grype
  • normalized package name match
  • 一致条件: Grype
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/grype.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Anchore.Grype

winget install --id Anchore.Grype -e
  • normalized package name match
  • 一致条件: Grype
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Anchore.Grype from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment