Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

chain-bench

> DevOps
Open source

An open-source tool for auditing your software supply chain stack for security compliance based on a new CIS Software Supply Chain benchmark.

774 stars0 likes3 views
WebsiteGitHub

About

An open-source tool for auditing your software supply chain stack for security compliance based on a new CIS Software Supply Chain benchmark.

Documentation

Chain-bench is an open-source tool for auditing your software supply chain stack for security compliance based on a new CIS Software Supply Chain benchmark. The auditing focuses on the entire SDLC process, where it can reveal risks from code time into deploy time. To win the race against hackers and protect your sensitive data and customer trust, you need to ensure your code is compliant with your organization’s policies.

Read more in the Chain-bench Documentation GitHub Release Downloads DockerHub Pulls go-report-card

Contents

  • Contents
  • Introduction
  • Quick start
    • Installation
    • Usage
      • Using docker
      • Using GitHub Actions
      • Using Gitlab CI (beta)
  • Requirements
  • Supported Providers
  • Please Note
  • Contributing
  • Roadmap

Introduction

Chain-bench is an open-source tool for auditing your software supply chain stack for security compliance based on a new CIS Software Supply Chain benchmark. The auditing focuses on the entire SDLC process, where it can reveal risks from code time into deploy time.

Quick start

The primary way to run chain-bench is as a standalone cli. It requires an access token for your account and the repository url in order to access your SCM.

Installation

Get Chain-bench via your favorite installation method. See installation section in the documentation for details. For example:

  • brew install chain-bench
  • nix-env --install -A nixpkgs.chain-bench
  • docker run aquasec/chain-bench
  • Download binary from https://github.com/aquasecurity/chain-bench/releases/latest/

Usage

bash
chain-bench scan --repository-url  --access-token  -o 

Using Self-hosted or Dedicated SCM Platforms (with custom domains)

bash
chain-bench scan --repository-url  --scm-platform  --access-token  -o 

Supported options for scm-platform are "github" and "gitlab" (beta)

Using docker

bash
docker run aquasec/chain-bench scan --repository-url  --access-token 

Using GitHub Actions

See the repository at https://github.com/aquasecurity/chain-bench-action

Example output

…

Using Gitlab CI (beta)

You can integrated chain-bench results into Gitlab Vulnrability Report by adding a new step within your CI defintion:

chain-bench-scanning:
  stage: test
  image:
    name: docker.io/aquasec/chain-bench
    entrypoint: [""]
  script:
    - chain-bench scan --repository-url $CI_PROJECT_URL --access-token $CHAIN_BENCH_TOKEN --scm-platform gitlab -o results.json --template @/templates/gitlab_security_scanner.tpl
  artifacts:
    reports:
      container_scanning: results.json
  • You have to create new token with Maintainer role that has read_api & read_repository permission and use it as environment variables (eg. $CHAIN_BENCH_TOKEN)

Requirements

It is required to provide an access token with permission to these scopes: repo(all), read:repo_hook, admin:org_hook, read:org

Supported Providers

We currently support Github and Gitlab SCMs, with PAT authentication.

Please Note

Chain-bench implements the CIS Software Supply Chain Benchmark as closely as possible. You can find the current implemented checks under AVD - Software Supply Chain CIS - 1.0 that update every night based chain-bench metadata.json files Please raise issues here if chain-bench is not correctly implementing the test as described in the Benchmark. To report issues in the Benchmark itself (for example, tests that you believe are inappropriate), please join the CIS community.

Contributing

Kindly read Contributing before contributing. We welcome PRs and issue reports.

Roadmap

Going forward we plan to release updates to chain-bench to increase the benchmark coverage with more checks and support more platforms. chain-bench is an Aqua Security open source project part of Trivy Family.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gocisdevsecopsgogolang

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理