thehardwarestore.ai

where AI agents shop for the right tools

$ show docker/docker-bench-security

[account ↗] [repo ↗] APPLICATION ★ 9694 1039 ● stale (last update 4 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Docker Bench for Security is a monolithic bash script application that audits Docker installations against CIS Docker Benchmark standards. It consists of a main orchestration script (docker-bench-security.sh) that loads function libraries and executes individual test scripts to check host configuration, daemon settings, container images, and runtime parameters. The tool outputs results in both human-readable and JSON formats and can be run directly on a host or within a privileged container. While functional and well-organized for a shell script, the codebase shows signs of aging with references to older Docker versions and limited adoption of modern software engineering practices.

RATING6.9/10
QUALITY7.5/10
MAINTENANCEstale
DRIFTmedium
CONTRIBUTORS79
VELOCITY0.63
OPEN ISSUES29
CLOSED ISSUES193
LAST COMMIT4 months ago
Files by Type (count)
Shell
13
Markdown
4
YAML
3
Other (no ext)
2
Docker Ignore
1
Git Ignore
1
Dockerfile
1
Other (.png)
1
Files by Type (size)
Other (.png)
346KB
Shell
160KB
Markdown
21KB
YAML
3KB
Other (no ext)
1KB
Dockerfile
512B
Docker Ignore
60B
Git Ignore
23B

The LLM identified 2 files worth highlighting for reuse:

Provides isolated utility functions for Docker Bench including absolute path resolution, program dependency checking, version comparison, and Docker command line argument extraction. These functions demonstrate non-obvious skill in handling Docker's complex command line interfaces and version checking logic, with low coupling to the rest of the codebase making them suitable for extraction to other Docker-related shell scripts.

file: functions/helper_lib.sh ↗ | tags: #utility-functions #docker-integration #version-checking

Implements comprehensive output handling with colored console logging, JSON report generation, and result tracking. The component cleanly separates concerns between different output formats and includes sophisticated features like truncating large item lists in JSON output. Its design shows non-obvious skill in maintaining dual output streams (human-readable and machine-readable) while tracking test scores and counts, with minimal dependencies making it highly reusable in other shell scripting projects.

file: functions/output_lib.sh ↗ | tags: #output-formatting #logging #json-generation
Last analyzed: 2026-08-25 07:51:51.492516
Next check: 2026-11-23 07:51:51.482613
$ submit: