Description
Seal fixes the open source and OS vulnerabilities Grype finds in your container images and filesystems. Instead of waiting on a dependency upgrade or a base image rebuild, the Seal CLI backports the upstream security fix into the exact package version you already run and delivers it as a signed, drop-in replacement. Grype keeps scanning the way it does today; Seal gives it a sealed version to find clean the next time it runs.
How Seal fits into your Grype workflow
Grype gives you fast, offline vulnerability scanning of your container images, filesystems and SBOMs; Seal is the fix. Add the Seal CLI as a step in your CI pipeline, and it resolves the packages covered by your Sealing Rules to their sealed versions during the build, before Grype scans the image. The sealed package ships through your pipeline like any other dependency, with no separate Grype-specific step.
Sealing Rules can be managed three ways: automatically, where Seal fixes every sealable vulnerability it finds; remotely, where rules are approved once in the Seal Platform and every build that references the affected package picks them up on its next run; or locally, in a .seal-actions.yml file committed to the repository. Remote mode is what lets one approved rule reach every image Grype scans that uses a package, without a change to each pipeline by hand.
Because a sealed version keeps the original version number and adds a suffix (for example lodash 4.17.20-sp1, or an extended revision for Alpine packages), it is still the version your manifest or base image expects. There is no framework migration and no code change, so a security fix does not turn into an engineering project.
Seal and Grype's findings
Keep Grype running. Seal does not replace it; Seal removes the vulnerability it reports. The Seal CLI keeps Grype's targets in sync on every build: once the sealed version is in your image or lockfile, the next Grype scan sees the sealed version and the finding closes. Your Grype output keeps showing real, open risk, while the issues Seal has fixed no longer appear.
Setting up Seal with Grype
- Get a Seal API token from the Seal Platform.
- Add the Seal CLI to your CI pipeline, placed early, before your build, test or Grype scanning steps.
- Decide how Sealing Rules should apply: automatic, remote (managed centrally in the Seal Platform), or local (a
.seal-actions.ymlfile). - Run the pipeline. The Seal CLI resolves the packages covered by your rules to their sealed versions as part of the build.
- Re-run or wait for your next Grype scan of the resulting image or filesystem.
- Check the Grype output. The finding for each sealed package is gone from the scan results.
Frequently asked questions
Does Seal replace Grype?
No. Seal fixes the vulnerabilities Grype finds; it does not scan. Keep Grype running, since the Seal CLI backports the fix into the version you already use so the finding has something to resolve against.
Do I need to configure Grype to recognize sealed packages?
No. The Seal CLI updates the covered packages before Grype scans, so the next scan simply sees the sealed version like any other package. There is no override list to maintain in Grype.
Do I need to change my application code or Dockerfile to use Seal with Grype?
No. A sealed version is a drop-in replacement with the same major version and the same API, so adopting Seal is a pipeline configuration change, not a code change.
Can one Sealing Rule cover more than one project Grype scans?
Yes. A rule created in remote mode is managed centrally in the Seal Platform, and every pipeline that uses the affected package picks it up on its next run.
Will this work for end-of-life or legacy packages Grype flags in my images?
Yes. Seal backports fixes into end-of-life and legacy versions as long as the upstream source is public, so images pinned to old versions can still be remediated without an upgrade.
How quickly does a cleared finding show up in Grype?
Once a sealed package is in the image or filesystem, the finding clears the next time Grype scans that target.


