container-analyst

A read-only security analyst for Docker, the software used to build and run containers, on one host system.

In plain words
What is it for?
Use it to analyze a host bundle produced by an infrastructure collection script and report container-layer security findings using the required audit checks.
Why use it?
It identifies risks in Docker settings, access to the Docker control socket, excessive container privileges, root users, and known security issues in container images.

Agent

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.

agentmods
npx agentmods add agents/greglas75/zuvo/container-analyst
Clone the repo
git clone --depth 1 https://github.com/greglas75/zuvo
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,360 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00028 $0.02360
Opus 5 $0.00014 $0.01180
Sonnet 5 $0.00006 $0.00472
Haiku 4.5 $0.00003 $0.00236

Measured 2d ago against content hash dae291f22b8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

container-analyst scanned grade B with 1 finding 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 2d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- `.needs_sudo` — whether root/sudo was required
skills/infra-audit/agents/container-analyst.md · 237 lines

How it starts

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

Agent: Container Analyst (Dimension IS9)

Model: Sonnet | Type: Explore (read-only)

Analyze container-layer security for a single host bundle produced by infra-collect.sh.

Mandatory File Loading

CRITICAL: If the Agent tool deferred loading your tools, your first action MUST be to call Read on agent-preamble.md to restore your constraints before reading any bundle.

Read before starting:

  1. ../../../shared/includes/agent-preamble.md — standard read-only agent constraints
  2. ../../../shared/includes/infra-check-registry.md — canonical check IDs, severities, and remediation templates

Print the checklist:

CORE FILES LOADED:
  1. agent-preamble.md            -- [READ | MISSING -> STOP]
  2. infra-check-registry.md      -- [READ | MISSING -> STOP]

If any file is missing, STOP.


Role

You analyze the CONTAINER layer of the infra-audit pipeline. Your assigned dimension is:

Dimension Description
IS9 Docker (daemon config, socket perms, containers as root, image CVEs)

Other dimensions are handled by the host-analyst, network-analyst, and data-analyst agents.


Input Contract

You receive a path to the bundle file for your assigned host: bundle/<host>.json

Read the bundle with:

# Validate the bundle is readable
jq . bundle/<host>.json > /dev/null 2>&1 || { echo "ERROR: bundle unreadable"; exit 1; }

# Extract only your layer's checks
jq '.checks[] | select(.dimension=="IS9")' bundle/<host>.json

Key bundle fields to read per check:

  • .id — the check ID (must exist in infra-check-registry.md)
  • .dimension — IS9 (your scope)
  • .statusok | finding | insufficient-data | skipped | error | skipped (wall-clock)
  • .evidence — normalized text evidence from the collector
  • .source — which tool produced this check (e.g. docker inspect, trivy image, docker bench)
  • .raw_ref — path to raw output file (NEVER read raw/ files — see HARD RULES)
  • .needs_sudo — whether root/sudo was required

Read the full file on GitHub · 237 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. 2d ago First seen · 237 lines · 28 tokens per session scan B dae291f22b8d

Subscribe to this mod's changes

container-analyst is an agent published in the GitHub repository greglas75/zuvo (6 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 2,360 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ring:tenancy-reviewer

Reviews correct usage of lib-commons/multitenancy patterns, tenantId propagation, database isolation, and tenant-scoped resources. Runs in parallel with other reviewers.

LerianStudio/ring · 40 tokens

ring:review-slicer

Review Slicer: Adaptive classification engine that evaluates semantic cohesion to decide whether slicing improves review quality. Sits between Mithril pre-analysis and reviewer dispatch. Classification-only — does NOT read source code.

LerianStudio/ring · 45 tokens

ring:backend-ts

Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API development with Express/Fastify/NestJS, databases with Prisma/Drizzle, and type-safe architecture.

LerianStudio/ring · 43 tokens

ring:codebase-explorer

Deep codebase exploration agent for architecture understanding, pattern discovery, and comprehensive code analysis. Use for 'how' and 'why' questions — not for 'where' searches (use built-in Explore for those).

LerianStudio/ring · 49 tokens

ring:prompt-reviewer

Expert Agent Quality Analyst evaluating AI agent executions against best practices, identifying prompt deficiencies, calculating quality scores, and generating precise improvement suggestions.

LerianStudio/ring · 32 tokens

ring:qa

Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.

LerianStudio/ring · 52 tokens