identity-federation
यह क्या करती है
यह टूल उन सिस्टम की सुरक्षा जाँचने में मदद करता है जो आपको एक अकाउंट से कई दूसरी सर्विसेज़ इस्तेमाल करने देते हैं (जैसे 'Google से लॉगिन')। यह टेस्ट करता है कि ये सिस्टम सही तरीके से सेट हैं या नहीं, ताकि बिना अनुमति के एक्सेस रोका जा सके।
कब इस्तेमाल करें
- ✓जब आप अधिकृत दायरे में single sign-on (SSO) का टेस्ट कर रहे हों।
- ✓जब आप देखना चाहते हों कि signatures कैसे validate हो रहे हैं और उनमें कोई कमी तो नहीं।
- ✓जब किसी ऐसी समस्या की जाँच करनी हो जिसमें token एक सर्विस से दूसरी सर्विस में गलत तरीके से इस्तेमाल हो रहा हो।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/identity-federation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं वेबसाइट X के लॉगिन की सुरक्षा टेस्ट करना चाहता हूँ। मेरे पास SAML flow जाँचने की लिखित अनुमति है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल देखता है कि अलग-अलग सर्विसेज़ यूज़र की पहचान के लिए आपस में कैसे बात करती हैं। यह जाँचता है कि जो जानकारी (tokens, signatures) आपस में भेजी जाती है, वह वैध है या नहीं, और उसे नकली बनाया या गलत तरीके से इस्तेमाल किया जा सकता है या नहीं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
Identity Federation (SAML / OIDC / OAuth)
When to Use
- Testing SSO/federation flows within an approved scope.
- Hunting signature-validation or audience-confusion flaws.
适用场景
- SAML Response 签名/断言篡改面(经典缺陷模式)
- OIDC 隐式/授权码 + PKCE 缺失
- redirect_uri / state / nonce 问题
- IdP 与 SP 元数据、多租户 issuer 混淆
- 与
api-securityJWT 攻击互补(本 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?
Limitations
- IdP-side testing is often out of scope; confirm boundaries first.
- Token replay tests can lock out real users; stage carefully.
Adapted from zhaoxuya520/reverse-skill (MIT).
अक्सर पूछे जाने वाले सवाल
'identity federation' क्या है?
यह एक ऐसा सिस्टम है जिसमें एक ही लॉगिन (जैसे Google) से कई अलग-अलग ऐप्स इस्तेमाल किए जा सकते हैं, और हर ऐप के लिए नया अकाउंट बनाने की ज़रूरत नहीं होती।
SAML, OIDC और OAuth2 क्या हैं?
ये प्रोटोकॉल (नियमों के सेट) हैं, जिनसे identity federation सुरक्षित तरीके से काम करता है।
क्या मैं इसे किसी भी वेबसाइट पर इस्तेमाल कर सकता हूँ?
नहीं। इस टूल को सिर्फ़ उन्हीं सिस्टम पर इस्तेमाल करें जिनकी सिक्योरिटी टेस्टिंग की स्पष्ट, लिखित अनुमति आपके पास हो।
जानकारी
लेखक का मूल विवरण
Authorized assessment of federated identity systems: SAML, OIDC, OAuth2 flows, SSO misconfiguration, and token-confusion issues.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4929
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
brand-discovery
280kयह structured interviews के ज़रिए brand की पहचान तय करने में मदद करता है। यह brand के उद्देश्य, audience और personality के साथ एक पूरी गाइड बनाता है।
brand-voice
280kयह असली brand texts के आधार पर writing profile बनाता है। इससे content और communication में एक जैसा और असली style बना रहता है।
design-md
260kआपके एजेंट को DESIGN.md फ़ाइल लिखना, जांचना और निर्यात करना सिखाती है, जो किसी ब्रांड के रंग, फ़ॉन्ट और शैली को ऐसे रूप में सूचीबद्ध करती है जिसे AI टूल पढ़ सकें।