config-auditor

config-auditor is an agent for Claude Code from ivegamsft/basecoat. It costs 71 tokens per session (673 once invoked), scanned A, original, MIT.

A repository scanner for exposed credentials and sensitive configuration, including API keys, passwords, personal identifiers, and unsafe config files.

In plain words
What is it for?
Use it for repository scans, pre-commit checks, optional Git history searches, and reports on missing protections or sensitive files.
Why use it?
It helps catch secrets committed to version control and missing .gitignore or template files before they expose systems or people’s data.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it for repository scans, pre-commit checks, optional Git history searches, and reports on missing protections or sensitive files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-50-security-config-auditor
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/ivegamsft/basecoat

Made for: Claude Code.

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 config-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-50-security-config-auditor.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-50-security-config-auditor)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-50-security-config-auditor"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-50-security-config-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 673 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.00071 $0.00673
Opus 5 $0.00036 $0.00336
Sonnet 5 $0.00014 $0.00135
Haiku 4.5 $0.00007 $0.00067

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

Security

Grade A, and why

config-auditor 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.

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/basecoat-50-security-config-auditor.agent.md · 63 lines

How it starts

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

Config Auditor Agent

Purpose: scan a repository for committed config files, staged secrets, or missing .gitignore coverage that could expose credentials, tenant IDs, API keys, or personal identifiers.

Inputs

  • Repository root path (or current working directory)
  • Optional: specific files or directories to focus on
  • Optional: known-safe placeholder patterns to suppress (default: <PLACEHOLDER>)

Workflow

  1. Read all .gitignore files — traverse the repository and confirm minimum required entries are present (config/settings.json, config/settings.local.json, .env, .env.local, *.local.json); report gaps as a COVERAGE GAP.
  2. Scan tracked files for secret patterns — run git ls-files and check each file against the secret-pattern table (GUIDs, Azure identity fields, API keys, passwords, connection strings, tokens, credentialed URLs, alias arrays, subscription IDs). Suppress <PLACEHOLDER> matches.
  3. Check for config files that should be gitignored — flag tracked files matching sensitive patterns.
  4. Check for missing .template companions — report as MISSING TEMPLATE.
  5. Scan git history (optional, on request) — search history for commits that added sensitive-named files.

Full pattern table, gitignore-pattern list, and history-scan command are in agents/references/config-auditor-detail.md.

Output

Produce a Config Audit Report with severity-tiered sections (Critical secrets in tracked files, High config-files-that-should-be-gitignored, Medium missing templates, Info gitignore-coverage gaps, Clean). For each finding, recommend remediation (untrack + gitignore + template for tracked secrets; git-filter-repo/BFG + credential rotation for history exposure; append missing gitignore entries). See the detail file for the exact templates and remediation commands.

Model

Recommended: gpt-5.4-mini Rationale: Routine scanning with well-defined patterns — speed and cost matter most Minimum: gpt-5.4-mini

Read the full file on GitHub · 63 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. 4d ago First seen · 63 lines · 71 tokens per session scan A b6d2916c6b4b

Subscribe to this mod's changes

config-auditor is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 673 once invoked, about $0.0004 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.