container-security
Skill by snyk
Scans Docker images for OS package and application dependency vulnerabilities through the Snyk MCP server. Also reviews Dockerfiles and suggests remediation steps. Aimed at developers and teams securing containers.
Install container-security
Built from the published package, never by AI.
git clone --depth 1 https://github.com/snyk/studio-recipes /tmp/studio-recipes && mkdir -p ~/.claude/skills && cp -r /tmp/studio-recipes/command_directives/synchronous_remediation/skills/container-security ~/.claude/skills/container-securityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/snyk/studio-recipes /tmp/studio-recipes && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/studio-recipes/command_directives/synchronous_remediation/skills/container-security ~/.gemini/antigravity-cli/skills/container-securityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide for container image security analysis. It tells the assistant to run the mcp_snyk_snyk_container_scan tool on a local image, registry image, or image archive. The results are grouped into base OS packages, added OS packages, application dependencies, and Dockerfile issues. The assistant can then summarize findings by severity and suggest fixes.
The skill also covers remediation and verification. It includes guidance on base image upgrades, package updates, dependency version bumps, and Dockerfile best practices such as pinned tags, non-root users, and multi-stage builds. It describes rebuilding the image and re-scanning to compare results. The source is written for developers and DevOps users who work with Docker, Kubernetes, or container deployments.
Written from the project's SKILL.md and checked against it.
What it can do
- mcp_snyk_snyk_container_scanScans an image for OS package and application dependency vulnerabilities.
- Base image analysisSeparates vulnerabilities inherited from the base image from those your layers added.
- Dockerfile reviewChecks a Dockerfile against practices like pinned tags, non-root users, and multi-stage builds.
- Remediation guidanceSuggests base image upgrades, package updates, and application dependency fixes.
- Fix verificationCompares scan results before and after rebuilding the image.
What you need
- Snyk MCP server connection
- Authenticated Snyk account
- Docker installed for local image scanning
- Registry authentication for private images, if required
Try asking
- Scan my app:latest Docker image for vulnerabilities and summarize the results
- Help me secure my Dockerfile and suggest best-practice changes
- Find a more secure base image for my Node.js app and compare vulnerability counts
Good to know
- Requires a Snyk account and the Snyk MCP server connection
- Registry authentication may be needed for private images
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: command_directives/synchronous_remediation/skills/container-security/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: mcp_snyk_snyk_container_scan Read Write Edit Bash Grep
Alternatives to container-security
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
container-security: common questions
Does this skill require a Snyk account?
Yes. The source says it requires a Snyk MCP server connection and an authenticated Snyk account.
Can it scan private container images?
The source says registry authentication may be required for private images. It suggests running docker login with the registry.
What should I do if a scan times out?
The source suggests retrying, pulling the image locally first, or scanning a .tar archive instead.
How do I install container-security?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is container-security free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is container-security safe to use?
It scores 72 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to container-security?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
