auth-flow-auditor

auth-flow-auditor is an agent for coding agents from HermeticOrmus/LibreSecOps-Claude-Code. It costs 0 tokens per session (961 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

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/hermeticormus/libresecops-claude-code/auth-flow-auditor
Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-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 auth-flow-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/auth-flow-auditor.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.svg" alt="Measured on agentmods" 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 961 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.00000 $0.00961
Opus 5 $0.00000 $0.00481
Sonnet 5 $0.00000 $0.00192
Haiku 4.5 $0.00000 $0.00096

Measured 3d ago against content hash 6d07ad8d5bb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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

How it starts

The opening of the file, as written. The whole thing — 61 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 · 61 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 · 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 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 961 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-08-31.

Related

Other agents, from other repositories

esther

Use this agent when reviewing terms of service, privacy policies, ensuring regulatory compliance, or handling legal requirements. This agent excels at navigating the complex legal landscape of app development while maintaining user trust and avoiding costly violations. Examples:\n\n \nContext: Launching app in…

CarbeneAI/Forge · 0 tokens

joseph

Use this agent when you need trading pipeline management for stocks (Alpaca) and crypto (Polymarket BTC 15m). Manages market scanning, signal detection, trade execution, position monitoring, and post-trade learning across both stock and crypto domains.

CarbeneAI/Forge · 57 tokens

perf-optimizer

Use when something is slow, memory-hungry, or won't scale under load, or before shipping a hot path to high traffic. Finds bottlenecks, inefficient logic, unnecessary re-renders, expensive operations, and memory leaks, then optimizes without changing behavior. Invoke for "slow", "performance", "optimize", "memory…

tiagosilva07/zyrax-guard · 92 tokens

timeline-analyst

Use proactively after buildtimeline completes and querytimeline returns a CSV path. Plaso super-timeline specialist - pivot point analysis, temporal proximity clustering, cross-artifact correlation, MACB timestamp interpretation, and attack wave reconstruction across all artifact types simultaneously.

kismatkunwar89/SAVVYDFIR-MCP · 56 tokens

audit-tests

Test quality audit agent. Analyzes test coverage, test failures, missing tests, and test hygiene. Produces a domain report.

Fascinax/Inspectra · 30 tokens

tachi-agent-autonomy

Detects threats from autonomous agent systems operating with insufficient constraints on decision-making, action scope, or operational boundaries, including excessive autonomy, goal misalignment, and cascading multi-agent failures.

davidmatousek/tachi · 42 tokens