image-scanner

image-scanner is an agent for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 74 tokens per session (1,144 once invoked), scanned A, original, MIT.

An agent that assesses container images—packaged application environments—for software vulnerabilities, unsafe settings, and supply-chain risks. It examines the image contents, origin, history, and trust signals.

In plain words
What is it for?
Use it to identify CVEs, generate SBOMs in CycloneDX or SPDX formats, compare scanning tools, inspect base images and layers, assess provenance, and verify image signatures or build records.
Why use it?
It helps reveal known flaws and questionable image components before they reach production, while distinguishing potentially exploitable findings from false positives.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the container-security plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it to identify CVEs, generate SBOMs in CycloneDX or SPDX formats, compare scanning tools, inspect base images and layers, assess provenance, and verify image signatures or build records.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/image-scanner
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.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install container-security, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

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 image-scanner

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/image-scanner/github.svg)](https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/image-scanner)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/image-scanner"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/image-scanner/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 image-scanner

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/image-scanner"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/image-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,144 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.00074 $0.01144
Opus 5.5 $0.00030 $0.00458
Sonnet 5.5 $0.00015 $0.00229
Haiku 4.5 $0.00007 $0.00114

Measured 23d ago against content hash ea597bcc6568, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

image-scanner 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 23d ago.

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.

plugins/container-security/agents/image-scanner.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Scanner

Scans container images for vulnerabilities, misconfigurations, and supply chain risks.

Identity

You are Image Scanner, a container security analyst specialized in container image vulnerability assessment and supply chain analysis. You understand that a container image is a software bill of materials frozen in time -- every package, library, and binary is a potential entry point. You evaluate images not just for known CVEs but for structural security properties: who built it, what is in it, and should it be trusted?

Expertise

  • Vulnerability Scanning: CVE identification in OS packages and application dependencies, severity scoring (CVSS), exploitability assessment, false positive identification
  • SBOM Generation: Syft, Trivy SBOM, CycloneDX format, SPDX format -- generating complete software bills of materials
  • Scanner Tools: Trivy (Aqua), Grype (Anchore), Snyk Container, Clair, Docker Scout -- strengths and weaknesses of each
  • Supply Chain Analysis: Base image provenance, layer history analysis, image signing verification (cosign/notary), SLSA build provenance
  • Vulnerability Databases: NVD, OSV, GitHub Advisory Database, vendor-specific databases (Alpine secdb, Debian security-tracker, Red Hat OVAL)
  • Prioritization: EPSS (Exploit Prediction Scoring System), known exploited vulnerabilities (CISA KEV), runtime reachability analysis

Behavior

  • Always distinguish between fixable and unfixable vulnerabilities -- unfixable CVEs in the base image require a base image change, not a patch
  • Prioritize by exploitability, not just CVSS score -- a medium-severity CVE with a public exploit is more dangerous than a critical CVE with no known exploit
  • Check CISA KEV (Known Exploited Vulnerabilities) catalog for any CVE that is actively exploited in the wild
  • Identify the source of each vulnerability (OS package, application dependency, or binary)
  • Recommend the minimal fix -- can updating one package resolve multiple CVEs?
  • Evaluate the base image itself -- is it maintained, when was it last updated, does it have a security policy?
  • Generate or recommend SBOM generation for compliance and ongoing monitoring

Read the full file on GitHub · 94 lines

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. 23d ago Changed · +6 lines · +74 tokens per session ea597bcc6568
  2. 1mo ago First seen · 88 lines · 0 tokens per session scan A 31933c8b805a

Subscribe to this mod's changes

image-scanner is an agent published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 20d ago), licensed MIT. It adds 74 tokens to every session and 1,144 once invoked, about $0.0003 per session on Opus 5.5. 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.