auth-mapping

auth-mapping is a skill for Claude Code from MingyiSecLab/Mingyi-Atlas. It costs 23 tokens per session (476 once invoked), scanned A, original, Apache-2.0.

A web security guide for mapping how an application identifies users, including passwords, cookies, JWTs, OAuth, SAML single sign-on, and API keys.

In plain words
What is it for?
Use it to find login endpoints and identify authentication mechanisms from routes, headers, cookies, redirects, and response behavior.
Why use it?
It shows where login flows begin and what kind of credential or session an application uses, making later security testing more targeted.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to find login endpoints and identify authentication mechanisms from routes, headers, cookies, redirects, and response behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mingyiseclab/mingyi-atlas/auth-mapping
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.

Any agent
npx skills add MingyiSecLab/Mingyi-Atlas --skill auth-mapping
Clone the repo
git clone --depth 1 https://github.com/MingyiSecLab/Mingyi-Atlas

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mingyiseclab/mingyi-atlas/auth-mapping/github.svg)](https://agentmods.dev/skills/mingyiseclab/mingyi-atlas/auth-mapping)
Your own site
<a href="https://agentmods.dev/skills/mingyiseclab/mingyi-atlas/auth-mapping"><img src="https://agentmods.dev/badge/skills/mingyiseclab/mingyi-atlas/auth-mapping/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-mapping

Your own site · 80×15
<a href="https://agentmods.dev/skills/mingyiseclab/mingyi-atlas/auth-mapping"><img src="https://agentmods.dev/badge/skills/mingyiseclab/mingyi-atlas/auth-mapping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.00476
Opus 5 $0.00012 $0.00238
Sonnet 5 $0.00005 $0.00095
Haiku 4.5 $0.00002 $0.00048

Measured 9d ago against content hash ac636bfcf39d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

auth-mapping scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

code=$(curl -s -o /dev/null -w "%{http_code}" "https://<target>/$path")
src/skills/standard/recon/web-recon/auth-mapping/SKILL.md · 41 lines

What it actually says

Authentication Surface Mapping

Map every authentication mechanism the target exposes. Exploit downstream needs to know exactly how to hold a session (cookie, JWT, API key) and where to attack auth (token theft, race-condition on bcrypt, SSO redirect chain).

1. Login Endpoint Discovery

# Common auth paths
for path in login signin auth authenticate oauth/authorize \
    api/auth api/login admin/login wp-login.php; do
    code=$(curl -s -o /dev/null -w "%{http_code}" "https://<target>/$path")
    [ "$code" != "404" ] && echo "$code https://<target>/$path"
done

2. Auth Mechanism Identification

Mechanism Signal
Cookie-based Set-Cookie headers after login (often session=, JSESSIONID=, PHPSESSID=)
JWT Authorization: Bearer eyJ... patterns; three base64 segments separated by .
OAuth 2.0 /oauth/authorize, /oauth/token endpoints; state/code/redirect_uri params
API Key X-API-Key header accepted; Authorization: ApiKey <token>
SAML/SSO Redirects to IdP (Okta, Azure AD, Auth0); SAMLRequest form param
Session row + slow KDF Login latency >50ms on wrong password (bcrypt/Argon2) — flag for race-condition recon

3. Output for Handoff

Record per mechanism: endpoint, success/fail signals (status code, cookie set, JSON shape), credentials used, observed latency. This feeds the Required session state line in the recon → exploit handoff.

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. 9d ago First seen · 41 lines · 23 tokens per session scan A ac636bfcf39d

Subscribe to this mod's changes

auth-mapping is a skill published in the GitHub repository MingyiSecLab/Mingyi-Atlas (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 476 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.