kube-bench
Checks whether Kubernetes is deployed according to security best practices as defined in the CIS Kubernetes Benchmark (by aquasecurity)
trivy
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more (by aquasecurity)
| kube-bench | trivy | |
|---|---|---|
| 28 | 120 | |
| 8,068 | 35,597 | |
| 0.5% | 2.3% | |
| 9.0 | 9.7 | |
| 5 days ago | 4 days ago | |
| Go | Go | |
| Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kube-bench
Posts with mentions or reviews of kube-bench.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-02-24.
-
Mastering Kubernetes Security: Essential Practices for DevSecOps
Kube-bench: Kubernetes Security Benchmark
-
Kubernetes hardening made easy: Running CIS Benchmarks with kube-bench
$ wget https://github.com/aquasecurity/kube-bench/releases/download/v0.10.2/kube-bench_0.10.2_linux_amd64.deb $ sudo dpkg -i kube-bench_0.10.2_linux_amd64.deb Selecting previously unselected package kube-bench. (Reading database ... 41333 files and directories currently installed.) Preparing to unpack kube-bench_0.10.2_linux_amd64.deb ... Unpacking kube-bench (0.10.2) ... Setting up kube-bench (0.10.2) ... $ kube-bench version 0.10.2
-
Kubernetes CIS Benchmarking Tool : Day 17 of 50 days DevOps Tools Series
git clone https://github.com/aquasecurity/kube-bench.git cd kube-bench
-
26 Top Kubernetes Tools
kube-bench is an automated tool that scans your cluster to check it meets security best practices. The checks are configured as YAML files, which allow you to easily customize tests and add new ones. The default ruleset is based on the Kubernetes CIS Benchmark standard.
-
Cloud Security and Resilience: DevSecOps Tools and Practices
2. Kubebench: https://github.com/aquasecurity/kube-bench Kubebench is an open-source tool that checks whether Kubernetes is deployed according to security best practices as defined in the CIS Kubernetes Benchmark.
-
Evaluating and securing your Kubernetes infrastructure with kube-bench
However, no matter how well our applications are secured, the security of our entire IT environment ultimately depends on the security of our infrastructure. Therefore, in the lab to follow, we will shift our focus away from Kubernetes workloads and instead explore how we can evaluate and improve upon the security of our Kubernetes clusters with kube-bench, the industry-leading Kubernetes benchmarking solution developed by Aqua.
-
Kube-bench and Popeye: A Power Duo for AKS Security Compliance
The official repository can be found here with detailed installation instructions.
-
Quickstart - Aqua Security Kube-Bench
curl -L [https://github.com/aquasecurity/kube-bench/releases/download/v0.6.10/kube-bench_0.6.10_linux_amd64.deb](https://github.com/aquasecurity/kube-bench/releases/download/v0.6.2/kube-bench_0.6.2_linux_amd64.deb) -o kube-bench_0.6.10_linux_amd64.deb
- Looking for Tips on Open Sourcing a kubernetes security tool
-
Kubernetes Security: 10 Best Practices from the Industry and Community
I haven't used Kubernetes for a while, but shouldn't kube-bench (1) be enough? Do you have to check anything manually?
(1) https://github.com/aquasecurity/kube-bench
trivy
Posts with mentions or reviews of trivy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-06-01.
-
trivy VS onequery - a user suggested alternative
2 projects | 1 Jun 2026
-
The Performance Battle the hardening of Vault and OWASP: What Matters
Manual OWASP compliance checks for Vault are error-prone, take 4+ hours per audit, and drift within weeks of completion. In our 2024 survey of 120 engineering teams managing Vault deployments with over 10k secrets, 78% of manual compliance checks missed at least one critical OWASP ASVS 4.0 Level 2 control, leading to 3x more breach risk than automated checks. The most commonly missed controls were TLS 1.3 enforcement (missed by 62% of teams) and rate limiting (missed by 58%), both of which add negligible latency but cut exfiltration risk by 70%. Instead, integrate automated compliance checks into your CI pipeline using the https://github.com/hashicorp/vault API and the second code example provided earlier. Use GitHub Actions, GitLab CI, or CircleCI to run checks on every pull request that modifies Vault config, Terraform, or Kubernetes secrets. For example, add a step to your GitHub Actions workflow that runs the owasp_vault_compliance_checker.py script against a staging Vault instance. This catches misconfigurations before they reach production, reduces compliance time from 4 hours to 12 minutes per audit, and ensures 100% of OWASP controls are checked every time. Tools like https://github.com/aquasecurity/trivy can also scan Vault container images for CVEs, adding another layer of automated security. Remember to store Vault tokens for CI in GitHub Secrets or GitLab Variables, never in plaintext config files. For teams with air-gapped Vault instances, run compliance checks on a weekly cron job using the same script, with results sent to Slack or PagerDuty for immediate remediation. This approach eliminates manual toil, reduces compliance costs by 80%, and ensures your Vault deployment stays OWASP-compliant as you scale.
- Trivy deep dive Snyk: The Definitive Guide to container scanning for Engineers
- We Cut 40% of Our Security Incidents Using Trivy 0.50 and Falco 0.40
-
Performance Test: Grype 0.70 vs Trivy 0.50 Scan Times – 15% Faster for Alpine Images
After 120+ benchmark runs across 6 Alpine image variants, 2 hardware configurations, and 3 CI environments, our verdict is clear: Grype 0.70 is 15% faster than Trivy 0.50 for Alpine-based container images, with identical vulnerability detection parity. For teams scanning Alpine images at scale, this speedup translates to thousands of dollars in CI compute savings and hundreds of engineer hours reclaimed per month. If you're only scanning Alpine images, migrate to Grype today—the 15% speedup is worth the migration effort for any team with more than 100 daily scans. For heterogeneous image stacks, Trivy remains the better all-in-one option. We recommend running the benchmark script we provided earlier on your own images to validate the speedup for your specific workload.
-
Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain
Last month it was trivy: https://github.com/aquasecurity/trivy/security/advisories/GH...
-
Ataque a Trivy: 340 GB filtrados de la Comisión Europea en 2026
CERT-EU — European Commission Cloud Breach: Trivy Supply Chain — Post-mortem oficial del incidente con atribución a TeamPCP y detalles del alcance.- GitHub Security Advisory GHSA-69fq-xp46-6x23 — Advisory oficial de Aqua Security con IOCs, hashes SHA256 y versiones afectadas.- Repositorio oficial de Trivy — Código fuente, releases verificados y documentación del scanner.- CybersecurityNews — European Commission Breach via Trivy — Cobertura periodística del incidente con timeline y análisis.- SLSA — Supply-chain Levels for Software Artifacts — Framework de referencia para mitigaciones arquitectónicas de supply-chain.
-
LiteLLM Hit by Credential-Stealing Supply Chain Attack: Complete Technical Breakdown
# ❌ WRONG — floating tag, vulnerable to tag hijacking (how LiteLLM was hit) - uses: aquasecurity/trivy-action@latest # ✅ CORRECT — pin to immutable commit SHA - uses: aquasecurity/trivy-action@a20de5420d57c4102486cdd9349b532bf5b16c5d with: scan-type: "fs" scan-ref: "." # Also pin apt/brew installed tools via explicit version + checksum - name: Install Trivy (pinned) run: | TRIVY_VERSION="0.68.0" # Last known safe TRIVY_SHA="abc123..." curl -LO "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" echo "${TRIVY_SHA} trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" | sha256sum -c
-
Stop storing your GitHub App private key in GitHub Secrets
In March 2026, the compromise of Trivy — a vulnerability scanner used in thousands of CI/CD pipelines — made headlines. A threat actor exploited the pull_request_target workflow trigger in GitHub Actions to steal a PAT, then injected a credential stealer into Trivy's official release. Around the same time, the axios npm package was compromised via a compromised maintainer account, and the prt-scan campaign was actively exploiting the same pull_request_target misconfiguration at scale.
-
Snyk for Docker and Container Images: Practical Guide
For teams exploring Snyk alternatives, Trivy is the most popular open-source alternative for container scanning - completely free with no test limits. See our Snyk vs Trivy comparison for a detailed breakdown of how they compare on detection accuracy, base image recommendations, and CI/CD integration.
What are some alternatives?
When comparing kube-bench and trivy you can also consider the following projects:
grype - A vulnerability scanner for container images and filesystems
kube-hunter - Hunt for security weaknesses in Kubernetes clusters
checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
docker-bench-security - The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
syft - CLI tool and library for generating a Software Bill of Materials from container images and filesystems