Insecure Docker Configuration
Detects dangerous Docker and Docker Compose configurations including privileged containers, secrets in environment variables, and running as root.
от zakirkun★ 40 звёзд на GitHub
Установить Insecure Docker Configuration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Insecure Docker Configuration
Overview
Docker misconfiguration can lead to container escapes and privilege escalation:
--privilegedflag: Gives container full host capabilities, enabling container escape- Running as root: Default behavior — prefer non-root user
- Secrets in ENV variables: Visible via
docker inspectand process listings --cap-add=SYS_ADMIN: Grants dangerous capabilities- Mounting Docker socket: Allows container to control the host Docker daemon
--pid=host: Shares host PID namespace
Remediation
- Add
USER nonrootin Dockerfile - Use Docker secrets or env files for sensitive values
- Remove unnecessary capabilities with
--cap-drop ALL --cap-addonly what's needed - Never mount
/var/run/docker.sockunless strictly necessary - Enable Docker Content Trust
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- patterns.yaml
FAQ
Что делает скилл Insecure Docker Configuration?
Detects dangerous Docker and Docker Compose configurations including privileged containers, secrets in environment variables, and running as root.
Как установить скилл Insecure Docker Configuration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Insecure Docker Configuration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…