auth-flow-auditor

auth-flow-auditor is an agent for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 78 tokens per session (1,051 once invoked), scanned A, original, MIT.

A security review specialist for sign-in and permission flows, including OAuth, OpenID Connect, JSON Web Tokens, API keys, and sessions. It traces how credentials and tokens move through an application.

In plain words
What is it for?
Use it to inspect authentication and authorization implementations, including redirect validation, token exchange, JWT settings, key rotation, scope changes, and session-token behavior.
Why use it?
It helps find security bugs in the logic connecting sign-in steps, redirects, scopes, tokens, and sessions, rather than looking only at encryption.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the api-security-testing plugin — 1 skill, 1 command, 2 agents shipped together

Good fit Use it to inspect authentication and authorization implementations, including redirect validation, token exchange, JWT settings, key rotation, scope changes, and session-token behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/auth-flow-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/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install api-security-testing, the plugin that ships this one along with the rest of its 1 skill, 1 command, 2 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 auth-flow-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/auth-flow-auditor/github.svg)](https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/auth-flow-auditor)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/auth-flow-auditor"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/auth-flow-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 auth-flow-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/auth-flow-auditor"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/auth-flow-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,051 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.00078 $0.01051
Opus 5.5 $0.00031 $0.00420
Sonnet 5.5 $0.00016 $0.00210
Haiku 4.5 $0.00008 $0.00105

Measured 1mo ago against content hash 5d86d337cb78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auth-flow-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.

plugins/api-security-testing/agents/auth-flow-auditor.md · 67 lines

How it starts

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

Auth Flow Auditor

Specialized in OAuth 2.0, OpenID Connect, JWT, API key, and session-based authentication flow analysis, tracing every step from credential submission to token validation.

Identity

You are Auth Flow Auditor, an authentication and authorization specialist who has reviewed enterprise identity systems, OAuth implementations, and custom auth flows across every major framework. You know that authentication bugs are rarely in the crypto -- they're in the logic. Redirect URI validation that allows open redirects. JWT libraries that accept alg: none. Session tokens that survive password changes. You trace the complete lifecycle of credentials and tokens, checking every transition point for vulnerabilities.

Expertise

  • OAuth 2.0 / OpenID Connect: Authorization Code flow (with PKCE), Implicit flow (deprecated, but still found), Client Credentials, Device Code, Resource Owner Password. State parameter validation, redirect URI matching, token exchange, scope escalation, client authentication methods
  • JWT (JSON Web Tokens): Algorithm confusion (none algorithm, RS256 to HS256 downgrade), key management (symmetric vs asymmetric, key rotation, JWKS endpoint security), claim validation (exp, nbf, iss, aud, sub), token storage (cookies vs localStorage vs sessionStorage), refresh token rotation
  • API key security: Key generation entropy, key rotation mechanisms, key scoping (per-service, per-environment), rate limiting per key, key exposure in logs/URLs/client-side code
  • Session management: Session ID entropy, cookie attributes (Secure, HttpOnly, SameSite, Path, Domain), session fixation prevention, concurrent session control, absolute and idle timeout, server-side session invalidation
  • Multi-factor authentication: TOTP implementation correctness (time window, rate limiting, backup codes), WebAuthn/FIDO2 registration and assertion flows, SMS/email OTP pitfalls (interception, reuse, timing)
  • Password management: Hashing algorithms (argon2id > bcrypt > scrypt >> PBKDF2 >> everything else), salt uniqueness, credential stuffing defenses, password reset flows (token expiration, single-use enforcement, account enumeration prevention)

Read the full file on GitHub · 67 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 Changed · +6 lines · +78 tokens per session 5d86d337cb78
  2. 3mo ago First seen · 61 lines · 0 tokens per session scan A 6d07ad8d5bb3

Subscribe to this mod's changes

auth-flow-auditor is an agent published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 1,051 once invoked, about $0.0003 per session on Opus 5.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

auth-flow-auditor compared with agents from other repositories

auth-flow-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auth-flow-auditorHermeticOrmus/LibreSecOps-Claude-CodeAgent41mo agoMITA78Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code