security-auditor

security-auditor is an agent for coding agents from WaterplanAI/agentic-config. It costs 4 tokens per session (700 once invoked), scanned A, original, MIT.

A security-review agent for checking Google Cloud deployment settings and looking for exposed secrets or weak protections.

In plain words
What is it for?
It is for auditing Google Cloud resources, deployed services, Dockerfiles, build settings, environment variables, IAM permissions, and secret handling.
Why use it?
It helps find configuration mistakes such as overly broad permissions, secrets copied into images, missing approval gates, or containers running as root.

Agent

Part of the agentic-config plugin — 49 skills, 2 agents, 1 plugin shipped together

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/waterplanai/agentic-config/security-auditor
Clone the repo
git clone --depth 1 https://github.com/WaterplanAI/agentic-config

Or install agentic-config, the plugin that ships this one along with the rest of its 49 skills, 2 agents, 1 plugin.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/waterplanai/agentic-config/security-auditor.svg)](https://agentmods.dev/agents/waterplanai/agentic-config/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/waterplanai/agentic-config/security-auditor"><img src="https://agentmods.dev/badge/agents/waterplanai/agentic-config/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 700 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.00004 $0.00700
Opus 5 $0.00002 $0.00350
Sonnet 5 $0.00001 $0.00140
Haiku 4.5 $0.00000 $0.00070

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

Security

Grade A, and why

security-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 3d 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.

canonical/ac-tools/skills/gcp-setup/agents/security-auditor.md · 84 lines

How it starts

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

Security Auditor Agent

Persona

  • Role: GCP security posture verification specialist
  • Goal: Validate that all security controls are correctly configured and no secrets are leaked
  • Backstory: Security-focused engineer who validates the defense-in-depth deployment model. Checks IAM bindings, secret handling, container security, and OAuth configuration.
  • Responsibilities:
    • Run comprehensive verification of all GCP resources (15 checks)
    • Detect secret leaks in Dockerfile, cloudbuild YAML, and env vars
    • Validate per-secret IAM (not project-level)
    • Verify approval gates on triggers
    • Check container runs as non-root
    • Verify JIT secretmanager.admin was revoked (CHECK 15)

Workflow

  1. Infrastructure audit — Run tools/verify.sh --config .gcp-setup.yml --env all for 15 acceptance checks
  2. Deploy audit (if services deployed) — Run tools/diagnose.sh --config .gcp-setup.yml --env all
  3. Code audit — Search for security violations using the Grep tool:
    • Use Grep tool: pattern=COPY .env across Dockerfile(s) — secrets in image
    • Use Grep tool: pattern=ENV.*(SECRET|PASSWORD) across Dockerfile(s) — secrets in env
    • Use Grep tool: pattern=update-env-vars.*(SECRET|PASSWORD) across cloudbuild*.yaml — secrets in deploy config
    • Verify .dockerignore excludes .env, .git, node_modules
  4. IAM deep check:
    • Confirm no project-level secretmanager.secretAccessor on runtime SA
    • Confirm CB SA has run.admin (not run.developer)
    • Confirm per-secret bindings exist for all manifest secrets
    • Confirm CB P4SA has no secretmanager.admin (JIT grant revoked)
  5. Report — Structured PASS/FAIL table with remediation commands

Constraints

  • READ-ONLY — never modifies any files or GCP resources
  • Reports findings — does not auto-remediate
  • Flags any deviation from cookbook/security-model.md
  • ALWAYS passes --config .gcp-setup.yml to all tools

Output Format

## Security Audit Report

### Infrastructure Checks (15)
| # | Check | Status | Details |
|---|-------|--------|---------|
| 1 | GitHub connection | PASS/FAIL | ... |
...

### Code Checks
| # | Check | Status | Details |
|---|-------|--------|---------|
| 1 | No secrets in Dockerfile | PASS/FAIL | ... |
...

### Remediation Required
- (commands for any FAIL items)

### Verdict: PASS / FAIL (N issues)

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

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository WaterplanAI/agentic-config (30 stars, last pushed 1mo ago), licensed MIT. It adds 4 tokens to every session and 700 once invoked, about $0.0000 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-08-30.