mizazhaider-ceh/agentarsenal/container-image-security
Claude Code and agent skill by mizazhaider-ceh/agentarsenal
- community
Checking that the SKILL.md file is still in the repository.
Use when assessing container image security on an
Install
npx vskill@latest install mizazhaider-ceh/agentarsenal/container-image-securitySKILL.md
The same SKILL.md was published earlier as mizazhaider-ceh/agentarsenal/container-image-security.
Container images ship the whole userspace: vulnerable libraries, leaked secrets in layers, and malware in base images. This skill covers the assessment and hardening: scanning, minimal bases, layer forensics, and signing. Work on images you own or are authorized to assess.
Quick Workflow
- Inventory the images: where they come from, how they are built,
and where they are stored.
- Scan for vulnerabilities with a scanner and triage by
exploitability, not just CVE count.
- Inspect layers for secrets: history, env, and files in every
layer.
- Check the base image: minimal, pinned, and from a trusted
source.
- Verify the build: reproducible, no network at build surprises,
and SBOM generated.
- Check signing: Cosign signatures verified at deploy time.
- Review runtime config: non root, read only filesystem, dropped
capabilities.
- Gate the pipeline: block on criticals with a documented
exception process.
1. Scanning and layer forensics
2. Signing with Cosign
Edge cases
- The scanner flags hundreds of CVEs in a language runtime. Triage
by the app's actual exposure; a CVE in an unused binary is noise.
- The image is from a vendor and cannot be rebuilt. Scan it, sign
your approval, and isolate it at runtime.
- Secrets found in a public image. Rotate immediately; the secret
is already compromised.
Escalation
- Critical RCE in an internet facing image: patch and redeploy on
an emergency timeline, then fix the pipeline gate that missed it.
- Signing missing everywhere: propose the rollout in stages (warn,
then enforce) to avoid breaking deploys.
Detection and defender view
Defenders detect image attacks with registry scanning on push, admission controllers that block unsigned or vulnerable images, and runtime monitoring for unexpected processes. They defend with minimal bases, automated rebuilds, and signed pipelines. The durable practice is treating images as build artifacts with full provenance: source, SBOM, scan results, and signature, all the way to the cluster.
Key references
- CWE-798 (Use of Hard-coded Credentials): layer secrets.
- CWE-1104 (Use of Unmaintained Third Party Components).
- Sigstore/Cosign documentation.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cloud/container-image-security/SKILL.md
Popularity
- 7-day trend score
- 0
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/mizazhaider-ceh/agentarsenal/container-image-security)