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.
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-CodeWrote 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.
[](https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/image-scan)<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/image-scan"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/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.
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/image-scan"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/image-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.00886 |
| Opus 5.5 | $0.00012 | $0.00354 |
| Sonnet 5.5 | $0.00006 | $0.00177 |
| Haiku 4.5 | $0.00003 | $0.00089 |
Grade A, and why
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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/image-scan
Scan container images for vulnerabilities and misconfigurations.
Trigger
Use when you need to:
- Check a container image for known CVEs before deployment
- Generate an SBOM (Software Bill of Materials) for a container image
- Evaluate the security posture of a base image before adoption
- Audit images in a registry for vulnerabilities
- Meet compliance requirements for container image scanning
Input
One of:
- Image reference:
image:tagorimage@sha256:digest - Image tarball:
docker saveoutput (.tar) - Registry path: Full registry URL for remote scanning
- Scan output: Existing Trivy, Grype, or Snyk report to analyze
Process
Phase 1: Image Analysis
-
Image identification
- Pull or reference the image
- Identify the base image (from layer history or manifest)
- Determine the OS and version
- Note the image creation date and layer count
-
SBOM generation
# Generate SBOM with Syft syft IMAGE:TAG -o cyclonedx-json > sbom.json # Or with Trivy trivy image --format cyclonedx IMAGE:TAG > sbom.json
Phase 2: Vulnerability Scanning
-
OS package vulnerabilities
# Trivy (comprehensive, fast, offline database) trivy image --severity CRITICAL,HIGH IMAGE:TAG # Grype (pairs with Syft SBOM) grype IMAGE:TAG --only-fixed # Docker Scout docker scout cves IMAGE:TAG -
Application dependency vulnerabilities
# Trivy scans language-specific deps automatically trivy image --vuln-type library IMAGE:TAG # Grype also scans application deps grype sbom:sbom.json -
Secret scanning
# Trivy secret scanning trivy image --scanners secret IMAGE:TAG
Phase 3: Misconfiguration Check
- Image configuration
# Dockle -- CIS Benchmark for images dockle IMAGE:TAG # Trivy misconfiguration scanning trivy image --scanners misconfig IMAGE:TAG
Phase 4: Prioritization
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.
- 1mo ago Changed · +5 lines · +29 tokens per session 35605a8324c5
- 3mo ago First seen · 132 lines · 0 tokens per session scan A d508ebceb656
image-scan is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 886 once invoked, about $0.0001 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.
image-scan compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| image-scanHermeticOrmus/LibreSecOps-Claude-Code | Command | 4 | 1mo ago | MIT | A | 29 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | 3d ago | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | 3d ago | MIT | A | 27 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | 3d ago | MIT | A | 26 | Claude Code |
| specifygithub/spec-kit | Command | 153k | 3d ago | MIT | A | 13 | Claude Code |
| convergegithub/spec-kit | Command | 153k | 3d ago | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 153k | 3d ago | MIT | A | 14 | Claude Code |