security-auditor

security-auditor is an agent for Claude Code from atretyak1985/swarmery. It costs 41 tokens per session (941 once invoked), scanned A, original, Apache-2.0.

An agent for checking software security with the OWASP Top 10 list and STRIDE threat modeling, a method for identifying common security threats.

In plain words
What is it for?
Use it for security validation, including OWASP checks and threat modeling based on a project's domain terms and example threat model.
Why use it?
It helps find security weaknesses and model threats before a project passes its quality check.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the core plugin — 36 skills, 8 commands, 13 agents shipped together

Good fit Use it for security validation, including OWASP checks and threat modeling based on a project's domain terms and example threat model.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/atretyak1985/swarmery/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/atretyak1985/swarmery

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 36 skills, 8 commands, 13 agents.

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/atretyak1985/swarmery/security-auditor.svg)](https://agentmods.dev/agents/atretyak1985/swarmery/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/security-auditor"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 941 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.00041 $0.00941
Opus 5 $0.00020 $0.00470
Sonnet 5 $0.00008 $0.00188
Haiku 4.5 $0.00004 $0.00094

Measured 4d ago against content hash 1e5026abab8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 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.

plugins/core/agents/security-auditor.md · 102 lines

How it starts

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

Role

You audit; you never fix. Scope to what the brief names (a diff, a subsystem, the whole surface) and go deep where the risk is, not evenly everywhere.

  • OWASP Top 10 — check each applicable category against the actual code and report PASS / FAIL / N-A per category with evidence (file:line for failures, the checked locations for passes). The security-audit skill carries the per-category checklist.
  • STRIDE threat model — when the change introduces a new surface (endpoint, input, integration), model it using the project's own domain (project.json → domainTerms.threatModelExample seeds the vocabulary).
  • Dependencies — read the manifest and lockfile for known-vulnerable or abandoned packages in the changed dependency set. You hold no shell: when a scanner run would settle it, name the command and let the caller run it (deps-check skill).

Findings and verdict

Each finding: severity (P0 exploitable now / P1 exploitable with effort / P2 hardening / P3 hygiene), file:line, the concrete attack path — who does what to reach the impact. No attack path you can articulate → it is not a finding at that severity. Announce P0s as you find them, don't hold them for the report. You hold no write tools by design: return the report as text and name {task-dir}/phases/05-security.md as its intended path, so whoever briefed you files it.

End with exactly one final line, nothing after it:

VERDICT: PASS | FAIL | INCONCLUSIVE

FAIL on any standing P0/P1. INCONCLUSIVE only when the scope could not be assessed — say what was missing.

How to use

What it does

Read-only security audit of a change or subsystem: OWASP Top 10 with per-category evidence, STRIDE modeling of new surfaces in the project's domain vocabulary, dependency risk, and severity-ranked findings with concrete attack paths, ending in a single VERDICT: line.

When to use it

  • The change touches auth, session handling, input parsing, secrets, uploads, or money.
  • A new endpoint or integration deserves a threat model before it ships.
  • Periodic audit of a subsystem you inherited.

Read the full file on GitHub · 102 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 Changed · -169 lines · -2 tokens per session 1e5026abab8a
  2. 7d ago First seen · 271 lines · 43 tokens per session scan A b35ce61cd495

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository atretyak1985/swarmery (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 41 tokens to every session and 941 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-08-31.

Related

Other agents, from other repositories

docs-scribe

Use this agent to maintain the inward-facing documentation that lives inside fakoli-state: the docs/ folder (specs, runbooks, design notes, plan archives), the plugin's CHANGELOG.md, and the description field of .claude-plugin/plugin.json. Audits cross-references between docs — broken [[wikilinks]], mismatched section…

fakoli/fakoli-plugins · 723 tokens

marketplace-scribe

Use this agent to maintain the marketplace-level artifacts that surface fakoli-state to first-time visitors: .claude-plugin/marketplace.json, the root README.md plugins table, and the registry/.json index files. Fires after any version bump, agent add/remove, or skill add/remove inside fakoli-state — these are the…

fakoli/fakoli-plugins · 657 tokens

warden

Use this agent when you need a security review — injection surfaces, secret and credential leakage, dependency and supply-chain risk, and plugin permission surfaces (hooks, tool allowlists, MCP configs). Wardens report; they don't fix. Context: A new feature added an endpoint that shells out based on user input. user…

fakoli/fakoli-plugins · 389 tokens

planner

Use this agent when you need to turn a parsed fakoli-state PRD into a coherent task graph — propose Features that group related Requirements, draft Tasks with acceptance criteria and verification commands, and surface high-complexity tasks that should be expanded. Specializes in the PRD-to-tasks transformation; defers…

fakoli/fakoli-plugins · 396 tokens

audit-ecosystem

Audits MCP servers, plugins, and hooks against expert knowledge. Dispatched by /claudit during Phase 2.

acostanzo/quickstop · 29 tokens

audit-global

Audits global Claude Code configuration (/.claude/) against expert knowledge. Dispatched by /claudit during Phase 2.

acostanzo/quickstop · 29 tokens