sc-docker

Scan Dockerfiles and compose files for security risks and generate DOCK findings.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill sc-docker-fatihkan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sc-docker
Source: https://github.com/fatihkan/badi/tree/main/.claude/skills/security-check/sc-docker
Command: npx skills add https://github.com/fatihkan/badi --skill sc-docker-fatihkan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Docker deployments often suffer from misconfigurations and exposure of secrets. This skill provides automated checks for Dockerfile best practices, secrets handling, compose security, and runtime hardening to reduce risk and speed up secure delivery.

Core Features & Use Cases

  • Automated Dockerfile security checks (root user, secrets in layers, dockerignore, pinned base images, and more)
  • Docker Compose security validation and runtime hardening guidance
  • Structured findings with DOCK identifiers, severity, and remediation steps
  • Reference materials and knowledge base to support secure deployments

Quick Start

Run the sc-docker skill against your Dockerfile and docker-compose configurations to perform automated security checks and generate actionable findings.

Frequently Asked Questions about sc-docker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a Dockerfile for security issues like root user usage and exposed secrets?▼

Scanning Dockerfiles for security issues involves detecting root user usage, secrets in image layers, missing .dockerignore files, and unverified base images. Automated checks generate structured findings with severity levels and specific remediation steps to fix each vulnerability.

Can I validate docker-compose files for security misconfigurations?▼

Yes, validating docker-compose files for security misconfigurations is supported. The scanning process evaluates compose configurations and runtime settings to identify hardening gaps and insecure parameters, providing actionable findings to reduce deployment risks.

What is Docker runtime hardening and how does it apply to production environments?▼

Docker runtime hardening secures production environments by detecting insecure runtime settings and enforcing best practices. Automated checks identify misconfigurations in active deployments and provide structured remediation steps to close security gaps and reduce the attack surface.

How do I integrate Docker security scanning into CI pipelines?▼

Integrating Docker security scanning into CI pipelines automates the detection of secrets in layers, misconfigurations, and hardening gaps during the build process. It outputs structured findings with DOCK identifiers and severity ratings to fail builds or trigger remediation workflows.

Does Docker security scanning detect unverified base images and missing .dockerignore files?▼

Yes, Docker security scanning detects unverified base images and missing .dockerignore files. It implements specific detection rules for these issues alongside root user usage and ADD vs COPY instructions, outputting findings with file references and remediation steps.