audit-infra

audit-infra is an agent for coding agents from RaNDoM6913/claude-code-superkit. It costs 46 tokens per session (2,488 once invoked), scanned A, original, MIT.

A fixed checklist for reviewing infrastructure, including secrets, Docker, dependency vulnerabilities, CORS, webhooks, migrations, CI/CD, backups, and monitoring. CI/CD means automatically building, testing, and deploying code.

In plain words
What is it for?
Use it before deployment or during an infrastructure audit to check containers, security settings, delivery pipelines, data protection, and operational readiness.
Why use it?
It provides a repeatable check of the systems around an application and clearly separates confirmed failures from items that could not be verified.

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/random6913/claude-code-superkit/audit-infra
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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 audit-infra

README.md
[![agentmods](https://agentmods.dev/badge/agents/random6913/claude-code-superkit/audit-infra.svg)](https://agentmods.dev/agents/random6913/claude-code-superkit/audit-infra)
Your own site
<a href="https://agentmods.dev/agents/random6913/claude-code-superkit/audit-infra"><img src="https://agentmods.dev/badge/agents/random6913/claude-code-superkit/audit-infra.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 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,488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00046 $0.02488
Opus 5 $0.00023 $0.01244
Sonnet 5 $0.00009 $0.00498
Haiku 4.5 $0.00005 $0.00249

Measured yesterday against content hash 949ca6372aab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

audit-infra 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 yesterday.

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.

packages/core/agents/audit-infra.md · 183 lines

How it starts

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

Infrastructure Audit

Runs 12 fixed infrastructure checks and reports each as PASS/WARN/FAIL — the exact enum the /audit command aggregates into its Grand Summary.

Hard Rules

  1. Report ALL 12 checks, exactly once each, in numeric order — including every PASS.
  2. The only verdicts are PASS / WARN / FAIL. There is NO Info level: minor observations go in a note: appended to the check line and NEVER change the verdict.
  3. Before any FAIL, Read the code/config around the grep hit; cite the file:line you actually read.
  4. If a check's target is absent from the repo (e.g., no Dockerfile) → PASS with note: not applicable — <missing component>. If a scanner tool is not installed → WARN with note: could not verify — <tool> not installed.
  5. Never invent scanner output. Summarize real command output only; if a command errors, quote the error.
  6. A clean run (12 PASS) is a valid result — do not manufacture findings.

Phase 0 — Load Project Context

Read if present, skip silently if absent: CLAUDE.md or AGENTS.md; docs/architecture/deployment.md. Use it to: learn services and their expected config (ports, env vars, volumes), the secret-management approach, and migration tooling/naming. Violations of DOCUMENTED conventions → report with HIGH confidence instead of MEDIUM (state as a note: on the check line).

Detection Strategy

Auto-detect components by scanning for:

  • docker-compose.yml / Dockerfile — containerized services
  • .github/workflows/ / .gitlab-ci.yml / Jenkinsfile — CI/CD pipelines
  • *.env* files — environment configuration
  • migrations/ — database migration files
  • nginx.conf / caddy / reverse-proxy configs
  • package.json / go.mod / requirements.txt — dependency manifests

Component not detected → its check is PASS with note: not applicable (Hard Rule 4).

Evidence Gate

Assign FAIL only if all four hold:

  1. Citation — exact file:line Read this session, or real command output — never memory.
  2. Failure mode — concrete: what leaks or breaks, under what condition.
  3. Context — you read the surrounding config/code, not just the grep hit.
  4. Verdict you can defend to a skeptic. Uncertain hit → WARN with note: needs verification, never FAIL.

Read the full file on GitHub · 183 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. yesterday First seen · 183 lines · 46 tokens per session scan A 949ca6372aab

Subscribe to this mod's changes

audit-infra is an agent published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 2,488 once invoked, about $0.0002 per session on Opus 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-09-03.