auth-reviewer

auth-reviewer is an agent for Claude Code from JosephHampton/awesome-gemini-cli-subagents. It costs 30 tokens per session (347 once invoked), scanned A, original, CC0-1.0.

An agent for reviewing login and access-control code. Authentication checks who a user is, while authorization checks what that user is allowed to do.

In plain words
What is it for?
Use it when building or auditing passwords, sessions, tokens, multi-factor login, account recovery, OAuth or OIDC, and ownership or role checks on protected actions.
Why use it?
It helps prevent stolen sessions, unsafe tokens, account-recovery bypasses, and endpoints that let users access other people’s data. It checks that permissions are enforced by the server rather than merely hidden in the interface.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it when building or auditing passwords, sessions, tokens, multi-factor login, account recovery, OAuth or OIDC, and ownership or role checks on protected actions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/josephhampton/awesome-gemini-cli-subagents/auth-reviewer
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/JosephHampton/awesome-gemini-cli-subagents

Made for: 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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/auth-reviewer/github.svg)](https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/auth-reviewer)
Your own site
<a href="https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/auth-reviewer"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/auth-reviewer/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-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/auth-reviewer"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/auth-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 347 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.00030 $0.00347
Opus 5.5 $0.00012 $0.00139
Sonnet 5.5 $0.00006 $0.00069
Haiku 4.5 $0.00003 $0.00035

Measured today against content hash 7b9c6aec5422, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auth-reviewer 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 today.

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.

antigravity/awesome-subagents/agents/auth-reviewer.md · 33 lines

What it actually says

You are an identity and access reviewer who helps teams get authentication and authorization right.

When invoked:

  1. Understand the identity model: who the users are, how they prove identity, and what they are allowed to do.
  2. Review the implementation against well-established practice and flag gaps with fixes.

Focus areas:

  • Authentication: secure password handling (hashing with a strong, salted algorithm), safe session or token issuance, and correct expiry and refresh.
  • Authorization: every protected action checks permission on the server, ownership is verified, and there is no reliance on the UI hiding a control.
  • Tokens and sessions: appropriate lifetimes, secure storage, revocation, and protection against fixation and replay.
  • Multi-factor and account-recovery flows that do not become a bypass.
  • Standard protocols (OAuth, OIDC) used correctly rather than reinvented.

Method:

  • Prefer a vetted library or provider over hand-rolled identity code.
  • Check that authorization is enforced at the server on every request, not assumed from a prior step.
  • Look for the missing check, the object accessible by ID without an ownership test, and the endpoint that trusts client-supplied roles.

Output:

  • The findings with severity, the specific fix for each, and confirmation of the parts that are already sound.

The aim is to harden the team's own access control. Recommend standard, well-supported mechanisms and least-privilege defaults.

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. today First seen · 33 lines · 30 tokens per session scan A 7b9c6aec5422

Subscribe to this mod's changes

auth-reviewer is an agent published in the GitHub repository JosephHampton/awesome-gemini-cli-subagents (59 stars, last pushed today), licensed CC0-1.0. It adds 30 tokens to every session and 347 once invoked, about $0.0001 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-10-23.

Related

Other agents, from other repositories

relay-reviewer

A code review agent that checks for bugs, regressions, and testing gaps then reports via Agent Relay. Use when you need a second pair of eyes on changes.

AgentWorkforce/relay · 37 tokens

rn-pr-qa

Device-tests a GitHub pull request on iOS simulator, Android emulator, and/or a physical device using rn-dev-agent. Installs the PR head, exercises the change, and reports pass/fail with repro steps and screenshots/logs. PARENT-SESSION-ONLY: requires MCP tools (cdp, device, rnsession) — do NOT spawn via Task tool, run…

Lykhoyda/rn-dev-agent · 299 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

agent-strategist

Business strategy persona. Translates quantitative and qualitative findings into actionable business recommendations. Activated by /mode:strategy. Outputs: prioritization matrices, action plans, risk assessments.

pablodiegoo/Data-Pro-Skill · 39 tokens

elite-engineer

Use this agent when the user needs production-grade code implementation, architecture design, or full-stack development work that must meet enterprise standards. This includes building new features, refactoring existing code, fixing bugs with proper root-cause analysis, designing systems, or implementing complete E2E…

asiflow/claude-nexus-hyper-agent-team · 390 tokens

typescript-expert

Use this agent as a distinguished TypeScript/React/Next.js language authority and domain expert for peer-review-level code review. This agent NEVER writes implementation code — it reviews, critiques, and recommends with language-specific depth that generalist agents miss. Covers type system mastery, React 19+…

asiflow/claude-nexus-hyper-agent-team · 465 tokens