identity-federation
하는 일
이 도구는 한 계정으로 여러 다른 서비스에 접근하도록 해 주는 시스템('Google로 로그인' 같은 것)의 보안을 점검하는 데 도움을 줍니다. 이런 시스템이 권한 없는 접근을 막도록 올바르게 설정되었는지 테스트합니다.
사용하는 경우
- ✓승인된 범위 안에서 싱글 사인온(SSO)을 테스트할 때.
- ✓서명 검증 방식의 결함을 찾을 때.
- ✓토큰이 여러 서비스에서 잘못 쓰일 수 있는 문제를 조사하는 경우.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/identity-federation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“웹사이트 X의 로그인 보안을 테스트하고 싶습니다. SAML 흐름을 점검하도록 작성된 승인서가 있습니다.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 여러 서비스가 사용자 인증을 위해 어떻게 통신하는지 분석합니다. 주고받는 정보(토큰, 서명)가 유효한지, 위조되거나 잘못 쓰일 수 없는지 확인합니다.
기술 내용 (원본 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).
자주 묻는 질문
'아이덴티티 페더레이션'이란 무엇인가요?
하나의 로그인(예: Google)으로 여러 다른 애플리케이션에 접근할 수 있게 하는 시스템입니다. 앱마다 새 계정을 만들 필요가 없습니다.
SAML, OIDC, OAuth2는 무엇인가요?
아이덴티티 페더레이션을 안전하게 작동하게 하는 프로토콜(규칙의 집합)입니다.
아무 웹사이트에서나 사용할 수 있나요?
아니요. 보안 테스트를 할 명시적이고 서면으로 된 허가를 받은 시스템에서만 사용할 수 있습니다.
상세 정보
작성자의 원본 설명
Authorized assessment of federated identity systems: SAML, OIDC, OAuth2 flows, SSO misconfiguration, and token-confusion issues.
인기도
- GitHub 스타
- 48k
- 순위
- #4929
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.