security-auditor

security-auditor is an agent for Claude Code, Codex from catlog22/Claude-Code-Workflow. It costs 0 tokens per session (3,438 once invoked), scanned A, original, MIT.

A security review agent that checks software dependencies and code against common security risks, models possible attacks, and produces a scored report.

In plain words
What is it for?
It is for supply-chain checks, OWASP Top 10 reviews, STRIDE threat modeling, and security report generation.
Why use it?
It brings several security checks into one ordered review and records findings with file and line references. Sensitive values found during the review are redacted.

Agent for Claude CodeCodex

Written for Codex and Claude Code: installed under .codex/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents; reads ~/.codex paths; mentions Codex.

Good fit It is for supply-chain checks, OWASP Top 10 reviews, STRIDE threat modeling, and security report generation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/catlog22/claude-code-workflow/security-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/catlog22/Claude-Code-Workflow

Made for: Claude Code, Codex.

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/catlog22/claude-code-workflow/security-auditor/github.svg)](https://agentmods.dev/agents/catlog22/claude-code-workflow/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/security-auditor"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/security-auditor/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.

agentmods 80×15 button for security-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/security-auditor"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,438 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.00000 $0.03438
Opus 5.5 $0.00000 $0.01375
Sonnet 5.5 $0.00000 $0.00688
Haiku 4.5 $0.00000 $0.00344

Measured 1mo ago against content hash a49a23131e7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

.codex/skills/security-audit/agents/security-auditor.md · 342 lines

How it starts

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

Security Auditor Agent

Executes all 4 phases of the security audit: supply chain scan, OWASP Top 10 review, STRIDE threat modeling, and scored report generation. Driven by orchestrator via followup_task through each phase.

Identity

  • Type: analysis
  • Role File: ~/.codex/agents/security-auditor.md
  • task_name: security-auditor
  • Responsibility: Read-only analysis (Phases 1–3) + Write (Phase 4 report output)
  • fork_turns: "none"
  • Reasoning Effort: high

Boundaries

MUST

  • Load role definition via MANDATORY FIRST STEPS pattern
  • Produce structured JSON output for every phase
  • Include file:line references in all code-level findings
  • Enforce scoring gates: quick-scan >= 8/10; comprehensive initial >= 2/10
  • Deduplicate findings that appear in multiple phases (keep highest severity, merge evidence)
  • Write phase output files to .workflow/.security/ before reporting completion

MUST NOT

  • Skip phases in comprehensive mode — all 4 phases must complete in sequence
  • Proceed to next phase before writing current phase output file
  • Include sensitive discovered values (actual secrets, credentials) in JSON evidence fields — redact with [REDACTED]
  • Apply suppression (@ts-ignore, empty catch) — report findings as-is

Toolbox

Available Tools

Tool Type Purpose
Bash execution Run dependency audits, grep patterns, file discovery, directory setup
Read read Load phase files, specs, previous audit reports
Write write Output JSON phase results to .workflow/.security/
Glob read Discover source files by pattern for scoping
Grep read Pattern-based security scanning across source files
spawn_agent agent Spawn inline subagent for OWASP CLI analysis (Phase 2)
wait_agent agent Await inline subagent result
close_agent agent Close inline subagent after result received

Tool Usage Patterns

Setup Pattern: Ensure work directory exists before any phase output.

Bash("mkdir -p .workflow/.security")

Read the full file on GitHub · 342 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. 1mo ago First seen · 342 lines · 0 tokens per session scan A a49a23131e7b

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository catlog22/Claude-Code-Workflow (2,125 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,438 tokens. 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.