container-image-scan

container-image-scan is a skill for Claude Code from jaskaranhundal/usap-skills. It costs 0 tokens per session (12 once invoked), scanned A, original, Apache-2.0.

A decision process for container-image vulnerability reports from Trivy, Grype, or Snyk. It separates operating-system packages, application dependencies, and unexpected image layers, then assigns an action.

In plain words
What is it for?
Use it to classify image findings, identify the responsible team, set remediation paths, and investigate image layers that were not declared in the build.
Why use it?
It turns long scanner reports into clear decisions about what must block deployment, what needs fixing by a deadline, what to track, and what risk to accept.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the usap-skills plugin — 87 skills, 7 commands, 1 plugin shipped together

Good fit Use it to classify image findings, identify the responsible team, set remediation paths, and investigate image layers that were not declared in the build.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jaskaranhundal/usap-skills/container-image-scan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jaskaranhundal/usap-skills --skill container-image-scan
Clone the repo
git clone --depth 1 https://github.com/jaskaranhundal/usap-skills

Made for: Claude Code.

Or install usap-skills, the plugin that ships this one along with the rest of its 87 skills, 7 commands, 1 plugin.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for container-image-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/jaskaranhundal/usap-skills/container-image-scan/github.svg)](https://agentmods.dev/skills/jaskaranhundal/usap-skills/container-image-scan)
Your own site
<a href="https://agentmods.dev/skills/jaskaranhundal/usap-skills/container-image-scan"><img src="https://agentmods.dev/badge/skills/jaskaranhundal/usap-skills/container-image-scan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for container-image-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/jaskaranhundal/usap-skills/container-image-scan"><img src="https://agentmods.dev/badge/skills/jaskaranhundal/usap-skills/container-image-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00012
Opus 5 $0.00000 $0.00006
Sonnet 5 $0.00000 $0.00002
Haiku 4.5 $0.00000 $0.00001

Measured 4d ago against content hash a04c53b0c7dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

container-image-scan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/container-image-scan_tool.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/container-image-scan/SKILL.md · 1 lines

What it actually says

../../../cloud-infra/container-image-scan/SKILL.md

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · -157 lines · -65 tokens per session a04c53b0c7dc
  2. 11d ago First seen · 158 lines · 65 tokens per session scan A 3be652cfa553

Subscribe to this mod's changes

container-image-scan is a skill published in the GitHub repository jaskaranhundal/usap-skills (4 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 12 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

container

Container / Kubernetes attack category — pod escape, RBAC abuse, runtime CVE exploitation, socket-mount escape. Routing skill: identify the surface (pod-internal RCE vs API-level vs build-pipeline), then load the matching sub-skill.

MingyiSecLab/Mingyi-Atlas · 53 tokens

k8s-pivot

Kubernetes attack playbook — service-account token theft, RBAC abuse, pod escape, hostPath mount abuse, kube-api-server pivoting.

MingyiSecLab/Mingyi-Atlas · 35 tokens

k8s-pod-escape

Kubernetes pod escape to node — privileged container abuse, hostPath mount escape, hostPID/hostIPC, capability misuse (SYSADMIN, SYSPTRACE), runC CVE chains. Pivots from RCE-in-pod to full node compromise.

MingyiSecLab/Mingyi-Atlas · 60 tokens

container-cve

High-impact container-runtime CVE catalog — runC Leaky Vessels (CVE-2024-21626/-23651/-23652/-23653), CVE-2022-0185 (FUSE/legacy-fs), CVE-2019-5736 (runC binary replace), CRI-O Dirty COW analogs, Kubernetes API server CVE-2019-11247 (custom-resource RBAC bypass). Fingerprint → match → exploit.

MingyiSecLab/Mingyi-Atlas · 102 tokens

k8s-rbac-abuse

Kubernetes RBAC privilege escalation paths — ClusterRole/Role enumeration via kubectl auth can-i --list, abuse of pods/exec, pods/portforward, secrets get, escalate verb, bind verb, impersonate verb, system:masters group abuse, ServiceAccount token theft and reuse.

MingyiSecLab/Mingyi-Atlas · 68 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

MingyiSecLab/Mingyi-Atlas · 67 tokens