auth-review

auth-review is a skill for Claude Code, Codex from MuhammedZohaib/patchman. It costs 49 tokens per session (180 once invoked), scanned A, original, MIT.

A defensive review of login, sessions, multi-factor authentication, OAuth, password recovery, tokens, impersonation, and permission checks. Authentication verifies identity; authorization decides what that identity may do.

In plain words
What is it for?
Use it to inspect login and logout, session handling, cookies, resets, invites, MFA, JWTs, object-level permissions, impersonation, privilege elevation, and predictable resource identifiers.
Why use it?
It helps find account takeover and access-control flaws, including checks that are missing, applied to the wrong user, or enforced only on the client side.

Skill for Claude CodeCodex

Part of the patchman plugin — 7 skills, 9 commands shipped together

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 skills/muhammedzohaib/patchman/auth-review
Any agent
npx skills add MuhammedZohaib/patchman --skill auth-review
Clone the repo
git clone --depth 1 https://github.com/MuhammedZohaib/patchman

Made for: Claude Code, Codex.

Or install patchman, the plugin that ships this one along with the rest of its 7 skills, 9 commands.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/muhammedzohaib/patchman/auth-review.svg)](https://agentmods.dev/skills/muhammedzohaib/patchman/auth-review)
Your own site
<a href="https://agentmods.dev/skills/muhammedzohaib/patchman/auth-review"><img src="https://agentmods.dev/badge/skills/muhammedzohaib/patchman/auth-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 180 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.00049 $0.00180
Opus 5 $0.00024 $0.00090
Sonnet 5 $0.00010 $0.00036
Haiku 4.5 $0.00005 $0.00018

Measured 4d ago against content hash e7bf19cc9376, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

auth-review 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/patchman/skills/auth-review/SKILL.md · 27 lines

What it actually says

Auth Review

Focus

  • login and logout correctness
  • session fixation and invalidation
  • cookie flags and token storage
  • reset, invite, recovery, and MFA flows
  • server-side authorization and object-level checks
  • impersonation, elevation, and admin escape hatches

Review prompts

  • Are checks enforced server-side on every sensitive action?
  • Does auth depend on user-controlled headers, origins, or claims?
  • Are session boundaries rotated after identity change?
  • Can one user access another user's objects through predictable identifiers?

Output

Use the Patchman findings format and call out auth assumptions explicitly.

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 First seen · 27 lines · 49 tokens per session scan A e7bf19cc9376

Subscribe to this mod's changes

auth-review is a skill published in the GitHub repository MuhammedZohaib/patchman (3 stars, last pushed 4mo ago), licensed MIT. It adds 49 tokens to every session and 180 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 skills, from other repositories

API Security Testing

Comprehensive API security testing based on OWASP API Security Top 10 including broken authentication, injection attacks, rate limiting, BOLA/BFLA vulnerabilities, and automated security scanning with ZAP and custom scripts.

PramodDutta/qaskills · 46 tokens

exploiting-broken-function-level-authorization

Tests APIs for Broken Function Level Authorization (BFLA) vulnerabilities where regular users can invoke administrative functions or access privileged API endpoints by directly calling them. The tester identifies admin and privileged endpoints, then attempts to access them with regular user credentials by manipulating…

xalgorix/xalgorix · 108 tokens

testing-api-authentication-weaknesses

Tests API authentication mechanisms for weaknesses including broken token validation, missing authentication on endpoints, weak password policies, credential stuffing susceptibility, token leakage in URLs or logs, and session management flaws. The tester evaluates JWT implementation, API key handling, OAuth flows, and…

xalgorix/xalgorix · 102 tokens

testing-oauth2-implementation-flaws

Tests OAuth 2.0 and OpenID Connect implementations for security flaws including authorization code interception, redirect URI manipulation, CSRF in OAuth flows, token leakage, scope escalation, and PKCE bypass. The tester evaluates the authorization server, client application, and token handling for common…

xalgorix/xalgorix · 100 tokens

db

Database schema and query conventions for ThunderID. Use when changing schema scripts, defining SQL queries, updating store constants, or reviewing deployment-scoped persistence rules.

thunder-id/thunderid · 33 tokens

console

Navigate and interact with the ThunderID Console UI. Use when exploring the ThunderID admin console, testing UI changes, creating users/applications/roles, or debugging the frontend.

thunder-id/thunderid · 37 tokens