# Authentication

> Authentication is an open-source agent skill for security. Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/transilienceai/communitytools/tree/main/skills/authentication
- **Repository:** https://github.com/transilienceai/communitytools
- **GitHub stars:** 641
- **License:** MIT
- **Skill name:** authentication
- **Collection:** https://github.com/transilienceai/communitytools
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill gives an AI coding agent a structured playbook for testing login and identity mechanisms. It covers auth bypass through default credentials, logic flaws and response manipulation, token attacks against JWTs and OAuth flows, ADFS and SAML weaknesses, password attacks such as spraying and stuffing, and weaknesses in two-factor and CAPTCHA checks. Reference notes are organized by technique, with separate guides for JWT, OAuth, password attacks, 2FA scenarios, CAPTCHA bypass and bot detection evasion.

The workflow asks the agent to analyze the authentication implementation first, test the relevant bypass vectors for each technique, drive the browser through Playwright with human-like typing and pauses, capture screenshots, network logs and tokens as evidence, and then write up findings with proof-of-concept scripts. Two Python helpers are bundled: a password generator that produces passwords matching a stated policy hint, and a credential manager for storing test accounts per target.

The skill is written for authorized security testing. Running it requires Python for the helper scripts and Playwright for browser-driven steps. Inputs are the target application's login, token and verification flows.

## When your agent uses it

> Authentication security testing - auth bypass, JWT attacks, OAuth flaws, password attacks, 2FA bypass, CAPTCHA bypass, and bot detection evasion.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/authentication)
- [Network calls found in its scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/authentication)
- [License: MIT](https://github.com/transilienceai/communitytools/tree/HEAD/skills/authentication)

## Features

- **Auth bypass testing:** Covers default credentials, logic flaws and manipulation of server responses in login flows.
- **JWT and OAuth attacks:** Reference material on algorithm confusion, claim tampering, redirect abuse and token leakage.
- **Two-factor bypass methods:** Documents response manipulation, direct endpoint access and code reuse against 2FA.
- **Password attack vectors:** Describes spraying, credential stuffing, cracking and pass-the-hash scenarios.
- **ADFS and SAML review:** Covers Golden SAML, token signing certificate theft and SAML wrapping.
- **CAPTCHA and bot detection:** Lists CAPTCHA bypass techniques and bot detection evasion strategies for testing.
- **Password and credential helpers:** Python tools to generate policy-matching passwords and store test credentials per target.

## Good for

- Test a web login form for default credentials and logic flaws
- Check a JWT implementation for algorithm confusion or claim tampering
- Review an OAuth redirect flow for token leakage
- Assess whether 2FA codes can be reused or bypassed via direct endpoints
- Evaluate CAPTCHA validation for missing server-side checks

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/authentication` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/authentication &&
cp -R "$tmp/skills/authentication" ~/.claude/skills/authentication &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/authentication` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/authentication` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/authentication &&
cp -R "$tmp/skills/authentication" ~/.agents/skills/authentication &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/authentication` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/authentication` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/authentication &&
cp -R "$tmp/skills/authentication" ~/.cursor/skills/authentication &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/authentication` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/authentication
```

Or copy the folder to `~/.gemini/skills/authentication` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/authentication`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/authentication &&
cp -R "$tmp/skills/authentication" ~/.copilot/skills/authentication &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/authentication` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/transilienceai/communitytools.git
```

Then copy `communitytools/skills/authentication` into your agent's skills folder as `authentication`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Authentication need to run?

It bundles Python helper scripts and uses Playwright for browser-driven testing, so Python and Playwright are needed for those parts.

### What does Authentication cover beyond login forms?

It covers JWT, OAuth, ADFS/SAML, password attacks, 2FA, CAPTCHA and bot detection, with reference guides for each.

### Does Authentication include a license?

The repository is published under the MIT license.

### How do I install Authentication in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/authentication to use it in all your projects, or to .claude/skills/authentication in one project.

### Does Authentication run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Authentication?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Authentication?

The closest alternatives to Authentication are Authenticated session acquisition, API security, Server side, Client side and Web app logic.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Authenticated session acquisition](https://ai-powered.com/skills/authenticated-session-acquisition): Authenticated session acquisition is an open-source agent skill for security.
- [API security](https://ai-powered.com/skills/api-security): API security is an open-source agent skill for security.
- [Server side](https://ai-powered.com/skills/server-side): Server side is an open-source agent skill for security.
- [Client side](https://ai-powered.com/skills/client-side): Client side is an open-source agent skill for security.
- [Web app logic](https://ai-powered.com/skills/web-app-logic): Web app logic is an open-source agent skill for security.
- [AI threat testing](https://ai-powered.com/skills/ai-threat-testing): AI threat testing is an open-source agent skill for security.
- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [API security auth pattern](https://ai-powered.com/skills/api-security-auth-pattern): API security auth pattern is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/authentication
