Skip to content

clair

Static vulnerability scanner for OCI and Docker container images, run as an API service

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

55

Health

Active

Overview

Stars

11,100

Last commit

12 days ago

Nov 2026

Repository age

11 years

since Nov 2015

Latest version

v4.9.0

Dec 2025

Contributors

–

2 active in 90 days

Releases

1

last 12 months

Language

Go

Clair is a Go service for static analysis of vulnerabilities in application containers, covering OCI and Docker images. Clients send their images to the Clair API to be indexed. Clair then matches the index against known vulnerabilities, so you can re-check an image as new vulnerabilities are published.

It works as a backend that other tools call, not as a standalone scanner with its own interface. Documentation covers its architecture and operation. Releases are published for Linux and macOS, with a Homebrew formula and a Docker image, and it fits Kubernetes-based setups. The main branch can be unstable, so use tagged releases. The latest is v4.9.0.

The project has been developed since 2015 under the Apache-2.0 license. Maintenance is active, with three contributors in the last 90 days and one release in the past year. It suits teams that want to run container vulnerability scanning on their own infrastructure instead of using a commercial scanning service.

Who it's for

Platform teams running a container registry

Registries can send images to the API and get vulnerability matches back.

Skip if: You want a ready-to-use scanner command with a dashboard.

Security engineers building scanning pipelines

The API-driven design lets you index images and query results from your own tooling.

Skip if: You also need scanning of source code or infrastructure files.

Kubernetes operators

It is a Go service you can run on your own infrastructure, with Docker support.

Skip if: You prefer a hosted scanning service.

The problem it solves

Container images carry operating system and library packages that can contain known vulnerabilities. Clair indexes your images and matches them against vulnerability data so you can see the risk before and after deployment.

Strengths

  • Handles OCI and Docker container images
  • API-based, so registries and CI tools can integrate
  • Apache-2.0 license
  • Active maintenance with tagged releases, latest v4.9.0
  • Developed since 2015

Trade-offs

  • Needs a client or integration to use it; no standalone interface
  • The main branch can be unstable; stick to releases
  • Only one release in the last year
  • Focused on containers, not code or infrastructure scanning

Self-host clair

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is Clair free?

Yes. It is open source under the Apache-2.0 license.

Can I self-host it?

Yes. It is a Go service you run yourself, and a Docker image is available.

Which image formats does it scan?

It analyzes OCI and Docker container images.

Which platforms does it run on?

It runs on Linux and macOS and is available through a Homebrew formula.

Similar tools in Vulnerability and application security tools

John the Ripper CE

Vulnerability and application security tools

Command-line password cracker for auditing weak password hashes on Unix, macOS and Windows

14k 2.6k 8 days ago Active GPL-2.0-only

Cutter

Vulnerability and application security tools

Desktop reverse engineering GUI built on Rizin for malware and binary analysts

20k 1.6k today Active GPL-3.0

vuls

Vulnerability and application security tools

Agentless vulnerability scanner for Linux and FreeBSD admins who manage many servers

12k 1.2k today Thriving GPL-3.0

ssh-audit

Vulnerability and application security tools

Python command-line auditor for SSH server and client configuration hardening

4.3k 244 yesterday Slowing MIT

ZAP

Vulnerability and application security tools

Free web app security scanner and intercepting proxy for developers and pentesters

16k 2.7k 3 days ago Active Apache-2.0

Replaces Burp Suite

wfuzz

Vulnerability and application security tools

Command-line web fuzzer for pentesters who inject payloads into any part of an HTTP

6.6k 1.4k 10 months ago Dormant GPL-2.0