Grummage
Grype + Rummage = Grummage.
Grummage is an interactive terminal frontend to Grype.
Introduction
Grype is an awesome vulnerability scanner. It produces minimal textual output, or verbose JSON files. I wanted something to rummage around in the json, without having to learn arcane jq syntax ;).
So Grummage was born.
Installation
Grummage is written in Python and requires Python 3.8 or later.
Pre-requisites
Grummage requires the Grype binary in your path to function.
You may want to confirm the Grype command line works, and has updated the vulnerability database first.
grype --version
grype 0.84.0
grype db update
✔ Vulnerability DB [no update available]
No vulnerability database update available
From PyPI (Recommended)
The easiest way to install grummage is from PyPI:
pip install grummage
From GitHub Releases
Download the latest release from the GitHub releases page.
Using Homebrew (macOS/Linux)
brew tap popey/grummage
brew install grummage
Using Docker
Note: -it is required for interaction with the application. Setting the TERM variable allows for better colour support.
docker run --rm -it -e TERM=xterm-256color -v $(pwd):/data ghcr.io/popey/grummage:latest /data/your-sbom.json
Using Snap
sudo snap install grummage
From Source
For development or if you prefer to install from source:
git clone https://github.com/popey/grummage
cd grummage
pip install -e .
Using uv (Alternative)
If you use uv for Python environment management:
git clone https://github.com/popey/grummage
cd grummage
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
Usage
Point grummage at an SBOM (Software Bill of Materials):
grummage ./example_sboms/nextcloud-latest-syft-sbom.json
Grummage will check the grype vulnerability database, update it if needed, then load the SBOM and analyze it with Grype. A loading screen shows progress during these operations.
Once loaded, use the cursor keys or mouse to navigate the tree on the left pane. Press Enter or mouse click on a vulnerability to obtain limited details.
Keys:
Navigation:
- Arrow keys or
h/j/k/l- Navigate the tree - Enter - Select item
Views:
p- View by package namev- View by vulnerability IDt- View by package types- View by severity
Search:
/- Search within current viewn- Find next resultN- Find previous result
Actions:
e- Request further details viagrype explainq- Quit
Making SBOMs
I use Syft to generate SBOMs, but other tools are available. For example:
syft nextcloud:latest -o syft-json=nextcloud-latest-syft-sbom.json
✔ Loaded image nextcloud:latest
✔ Parsed image sha256:44c884988b43e01e1434a66f58943dc809a193abf1a6df0f2cebad450e587ad7
✔ Cataloged contents bdca3ed5b303726bba5579564ab8fe5df700d637ae04f00689443260b26cc832
├── ✔ Packages [418 packages]
├── ✔ File digests [10,605 files]
├── ✔ File metadata [10,605 locations]
└── ✔ Executables [1,317 executables]
Distribution
Grummage is available through multiple distribution channels:
- PyPI:
pip install grummage - Homebrew:
brew tap popey/grummage && brew install grummage - Docker:
ghcr.io/popey/grummage:latest - Snap:
sudo snap install grummage - GitHub Releases: Pre-built packages available
Caveats
I am an open-source enthusiast and self-taught coder creating projects driven by curiosity and a love for problem-solving. The code may have bugs or sharp edges. Kindly let me know if you find one, via an issue. Thanks.
Release files for grummage 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grummage-2.0.0.tar.gz | 10.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grummage-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 MB
Release files / grummage-2.0.0.tar.gz
| Download URL | grummage-2.0.0.tar.gz |
|---|---|
| Size | 10.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
765619ef34fdfb0c17ea9d630209e52b1d3af03443306f63403e6f662b66ff49
|
|
BLAKE2b-256 checksum How to use checksums |
7df4af14bc87e85a59a20cc4797c611e3a894e12e102ed3c3304af26705d7df9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2025.
Transparency logRelease files / grummage-2.0.0-py3-none-any.whl
| Download URL | grummage-2.0.0-py3-none-any.whl |
|---|---|
| Size | 650.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a44fc4546d444db6c8b5a767cb51cdede39c5dee61a0bfd51ee1c9cf66d5989
|
|
BLAKE2b-256 checksum How to use checksums |
cb59571dc606c00705d8b58b10e641bc01acec1af532bd4530062eaebbe72f9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2025.
Transparency log