identity-federation

identity-federation is a skill for Claude Code, Codex from zhaoxuya520/reverse-skill. It costs 35 tokens per session (502 once invoked), scanned A, original, MIT.

A guide to reviewing federated login systems such as SAML, OpenID Connect, and OAuth2. These standards let one identity provider sign users into another service, commonly known as single sign-on or SSO.

In plain words
What is it for?
Use it to map SSO flows, review SAML assertions and OAuth or OIDC settings, check redirect URLs, state, nonce, PKCE, issuer handling, logout, and session behavior.
Why use it?
Incorrect redirects, missing request checks, weak token handling, or confusing identity-provider settings can let attackers sign in as someone else. The guide turns the login exchange into a sequence that can be checked safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to map SSO flows, review SAML assertions and OAuth or OIDC settings, check redirect URLs, state, nonce, PKCE, issuer handling, logout, and session behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhaoxuya520/reverse-skill/identity-federation
About the project

Reverse Skill is a routing package for AI coding agents that selects appropriate reverse-engineering, penetration-testing, and security-research methods and tools for a given target. It is used for tasks involving APKs, binaries, frontend JavaScript, packet captures, CTF challenges, and authorized penetration testing. Its catalogue add-ons provide the skills and instructions that guide these workflows.

zhaoxuya520/reverse-skill · 45,451 stars · on GitHub

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 zhaoxuya520/reverse-skill --skill identity-federation
Clone the repo
git clone --depth 1 https://github.com/zhaoxuya520/reverse-skill

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 identity-federation

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhaoxuya520/reverse-skill/identity-federation/github.svg)](https://agentmods.dev/skills/zhaoxuya520/reverse-skill/identity-federation)
Your own site
<a href="https://agentmods.dev/skills/zhaoxuya520/reverse-skill/identity-federation"><img src="https://agentmods.dev/badge/skills/zhaoxuya520/reverse-skill/identity-federation/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 identity-federation

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhaoxuya520/reverse-skill/identity-federation"><img src="https://agentmods.dev/badge/skills/zhaoxuya520/reverse-skill/identity-federation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket warn 18 Jul 2026
  • Snyk pass 18 Jul 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00035 $0.00502
Opus 5.5 $0.00014 $0.00201
Sonnet 5.5 $0.00007 $0.00100
Haiku 4.5 $0.00003 $0.00050

Measured 2mo ago against content hash 673e4222ed9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

identity-federation 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 2mo 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/identity-federation/SKILL.md · 56 lines

What it actually says

Identity Federation (SAML / OIDC / OAuth)

ACTION REQUIRED(读完后立刻执行)

  1. NOW: 读取 precedent-pentest;SSO 测试账号与 IdP/SP 范围入 scope
  2. NOW: 禁止锁定真实用户账户的暴力尝试
  3. NEXT: 抓包工具与文档(元数据 URL)
  4. ACT: 协议流映射 → 常见错配 → 验证

适用场景

  • SAML Response 签名/断言篡改面(经典缺陷模式)
  • OIDC 隐式/授权码 + PKCE 缺失
  • redirect_uri / state / nonce 问题
  • IdP 与 SP 元数据、多租户 issuer 混淆
  • 与 api-security JWT 攻击互补(本 skill 偏联邦与 SSO 流)

工作流

□ 画清:User → SP → IdP → Token → SP
□ 收集:/.well-known/openid-configuration、SAML metadata
□ 检查:redirect_uri 精确匹配、state 绑定、PKCE
□ 检查:SAML 签名覆盖范围、algorithm 降级
□ 会话固定与登出失效

工具链

工具 用途
Burp + SAML Raider 等 断言编辑(授权)
jwt_tool JWT 段
浏览器 DevTools 重定向链
IdP 管理日志 审计

参考

  • references/sso-flow-checklist.md
  • ../api-security/ ../windows-ad/(企业 IdP)

路由上下文

上游: MASTER R37
下游: 纯 API JWT → api-security;云 IdP → cloud-k8s

任务完成自检

  • 是否映射完整 SSO 流?
  • 每个 Finding 是否有复现与影响?
  • Checklist?
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 56 lines · 35 tokens per session scan A 673e4222ed9c

Subscribe to this mod's changes

identity-federation is a skill published in the GitHub repository zhaoxuya520/reverse-skill (45,451 stars, last pushed 16d ago), licensed MIT. It adds 35 tokens to every session and 502 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

identity-federation compared with skills from other repositories

identity-federation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
identity-federationzhaoxuya520/reverse-skillSkill45k16d agoMITA35Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code