Statically audit Dockerfiles to identify and mitigate security risks before container deployment.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dockerfile-hardening-audit
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install dockerfile-hardening-audit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Dockerfile Hardening Audit tool is a specialized component within the Openclaw Skills ecosystem designed to enforce security best practices. It statically analyzes Dockerfiles to detect vulnerabilities such as the absence of a non-root USER, unpinned base images, and dangerous use of the ADD instruction. This skill helps developers maintain a high standard of security by scoring files based on their risk level.
By integrating this tool into your development workflow, you leverage Openclaw Skills to automate the discovery of container hardening gaps. It provides clear, actionable feedback, ensuring that your production images are built on a secure foundation and follow modern containerization standards.
To use this tool within the Openclaw Skills framework, run the audit script using bash. You can customize the scan via environment variables.
# Run a basic report
DOCKERFILE_GLOB='**/Dockerfile*' \
bash skills/dockerfile-hardening-audit/scripts/dockerfile-hardening-audit.sh
# Run with JSON output and a failure gate for critical risks
DOCKERFILE_GLOB='**/Dockerfile*' \
OUTPUT_FORMAT=json \
FAIL_ON_CRITICAL=1 \
bash skills/dockerfile-hardening-audit/scripts/dockerfile-hardening-audit.sh
The skill accepts various configuration inputs to tune the audit sensitivity. The output follows a structured format for easy interpretation.
| Input Variable | Default | Description |
|---|---|---|
| DOCKERFILE_GLOB | **/Dockerfile* |
Glob pattern to locate Dockerfiles |
| WARN_SCORE | 3 |
Score threshold to flag a warning |
| CRITICAL_SCORE | 6 |
Score threshold to flag a critical risk |
| REQUIRE_NON_ROOT_USER | 1 |
Enforce presence of non-root USER |
| REQUIRE_HEALTHCHECK | 1 |
Enforce presence of HEALTHCHECK instruction |
| FAIL_ON_CRITICAL | 0 |
Exit with code 1 if critical issues are found |
| OUTPUT_FORMAT | text |
Choose between 'text' or 'json' reports |
Loading
A powerful utility for identifying and prioritizing flaky tests by analyzing JUnit retry artifacts within your CI pipeline.

A streamlined MCP-based skill for automating McDonald's China delivery orders, menu lookups, and coupon management via official API protocols.

A hosted OAuth proxy that enables seamless data retrieval from Oura Ring and Google Calendar using a single master API key.

A self-hosted Node.js service that provides a persistent REST API for Google Calendar with automated OAuth token refreshing.

A robust auditing tool to detect environment variable alias conflicts and missing required configurations before deployment.

An automated auditing tool that ranks GitHub Actions reliability by identifying high-risk contributors and flaky automation owners through run history analysis.








































