ersinkoc/security-check/sc-docker
Claude Code and agent skill by ersinkoc/security-check
- community
Checking that the SKILL.md file is still in the repository.
Docker-specific security checks — image hardening, secrets in layers, compose security, and runtime configuration
Install
npx vskill@latest install ersinkoc/security-check/sc-dockerSKILL.md
The same SKILL.md was published earlier as ersinkoc/security-check/sc-docker.
SC: Docker Security
Purpose
Performs Docker-specific security analysis covering Dockerfile best practices, secrets exposure in image layers, docker-compose security configuration, runtime security settings, and container image hardening. Extends beyond general IaC scanning with deep Docker expertise.
Activation
Called by sc-orchestrator during Phase 2 when Dockerfile or docker-compose files are detected.
Phase 1: Discovery
File Patterns
Dockerfile Security Checks
1. Running as Root: Check for missing USER directive after base image.
2. Secrets in Build:
3. ADD vs COPY:
4. Missing .dockerignore: Without .dockerignore, sensitive files get copied into the image: .env, .git/, node_modules/, *.pem, *.key
5. Unverified Base Image:
Docker Compose Security
Severity Classification
- Critical: Secrets in image layers, privileged mode, host root mount
- High: Running as root, host network/PID, missing .dockerignore with secrets
- Medium: Using latest tag, ADD instead of COPY, missing health check
- Low: Missing resource limits, non-optimal layer ordering
Output Format
Finding: DOCK-{NNN}
- Title: Docker {vulnerability type}
- Severity: Critical | High | Medium | Low
- Confidence: 0-100
- File: file/path:line
- Vulnerability Type: CWE-250 (Excessive Privileges) | CWE-732 (Incorrect Permission)
- Description: {What was found}
- Impact: Container escape, secret exposure, host compromise.
- Remediation: {Specific Dockerfile/compose fix}
- References: https://docs.docker.com/develop/security-best-practices/
Common False Positives
- Build-stage root — multi-stage builds running as root in build stage but non-root in final
- CI/CD containers — build containers with elevated privileges for CI tasks
- Development compose — development overrides with relaxed security
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sc-docker/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 5
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ersinkoc/security-check/sc-docker)