Product

Product Features SDLC How to Compare Docs Screenshots

Start here

Getting started Download Questions

More

Security Roadmap About

Finding things

Container images

The base image each Dockerfile names, and now the images a repository actually publishes, pulled layer by layer into memory and read file by file, with nothing built and nothing run.

Base images, from the Dockerfile

Every Dockerfile in the checkout is read for the image it starts from. Build arguments with defaults are resolved, stage aliases and scratch are skipped, and a reference still carrying an unresolved variable is left alone rather than guessed at. Each distinct image is pulled from its registry and its packages are checked for known vulnerabilities.

The image you ship, not just the one you start from

A repository says what it publishes: a compose file that builds and names an image, or a workflow that pushes one. Those images are pulled from the registry the way a server would pull them, every layer in order, and unpacked into shared memory. A file a later layer deleted is still in the image and still downloadable by anybody who pulls it, so it is kept aside and read too. Code never touches disk.

What it looks for inside

Credentials in any layer, through the same triage as the repository, so an example key is still an example. A sudo rule that hands root to the web account. A start script or service running as root from files the web account can write, which turns any file write into root. An archive holding credential files, a .git folder inside the web root, and application source in the image that is not in the repository, which means the image was built from something nobody reviewed.

Known vulnerabilities in what the build installed

The distribution packages the build added and the language packages it put in the image, npm, Python, PHP, Ruby, .NET and Java, are checked against known vulnerabilities, read from the copy already pulled rather than downloaded again. An advisory the base image or the repository already reported stays one finding, so what is left is what the build added. A runtime compiled into the image is recognized from its program file, which is not kept, so it is left to the base image scan.

Pulled safely

Registries are reached over HTTPS on public addresses only, with the address checked and pinned for each connection and checked again on every redirect, and a token is never sent to a different host. Each image has a size limit, a repository has a limit on how many images are read, and a lone file over the limit is skipped rather than ending the read.

Silence is not a fix

When an image could not be read this time, because a registry was down or a tag moved, its findings stay open and the scan says why, rather than closing them because nothing was reported.

Why it matters

A container starts from a frozen copy of an operating system, and what is built on top often carries more than the repository shows: a deploy file, a backup, a key someone copied in and deleted in the next step. Pin a base in 2021 and you ship 2021's known holes today. This finds both.

What it does not do

Off by default, because it downloads images. It pulls without signing in, so a private registry that needs credentials is not read, and a reference built from variables is skipped. It reads images and does not run them. Snyk Container watches registries continuously and tells you which base image to move to and what that fixes, which this does not do.

Every feature page carries one of those. The comparison page scores the same ground against five products people pay for, including the rows that go against us.

Install it All 46 features