Skip to content
Skillpedia
Security6.5k · #14152

web-auth-mapping

What it does

It maps the login methods a website uses and records how each one responds. It is for testers and developers who need to understand a site's sign-in system.

When to use it

  • ✓When a developer wants to document every login method their site uses.
  • ✓When a tester needs to know whether a site uses JWT tokens, OAuth or single sign-on.
  • ✓When an analyst wants to note how login responses differ between valid and invalid passwords.

Skill link

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/web-recon/auth-mapping/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/web-recon/auth-mapping/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Map out how users log in to our app, including tokens, cookies and single sign-on.”

5 new skills a week. 1 minute to read.

How it works

The skill tells the AI to check common login paths and identify the login type from headers and redirects. It then writes down what it found for each method.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.

FAQ

What login types can it recognize?

It can recognize cookie sessions, JWT tokens, OAuth, SAML and API key logins.

Does it try passwords?

It mentions testing with credentials, and it is meant only for places where testing is allowed.

What is the result used for?

The notes help a later review of the login system.

Details

Original description by the author

Authentication surface — login endpoints, JWT/OAuth/SAML/SSO/API-key mechanism identification.

repo: BitterSecurity/Decepticon

Popularity

GitHub stars
6.5k
Ranking position
#14152
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills