identity-federation

identity-federation

Popular

Use for authorized assessment of federated identity systems including SAML, OIDC, OAuth2 flows, SSO misconfiguration, and token confusion issues.

39Kstars
5.5Kforks
Updated 9/22/2026
SKILL.md
read-only
name
identity-federation
description

Use for authorized assessment of federated identity systems including SAML, OIDC, OAuth2 flows, SSO misconfiguration, and token confusion issues.

Identity Federation (SAML / OIDC / OAuth)

ACTION REQUIRED (Execute immediately after reading)

  1. NOW: Read precedent-pentest; bring SSO test accounts and IdP/SP boundaries into scope.
  2. NOW: Brute-force attempts that lock real user accounts are strictly prohibited.
  3. NEXT: Set up packet capture tools and gather documentation (metadata URLs).
  4. ACT: Map protocol flows → Check common misconfigurations → Validate vulnerabilities.

Applicable Scenarios

  • SAML Response signature/assertion tampering attack surfaces (classic flaw patterns)
  • OIDC Implicit/Authorization Code flow + missing PKCE
  • redirect_uri / state / nonce implementation issues
  • IdP and SP metadata, multi-tenant issuer confusion
  • Complementary to api-security JWT attacks (this skill focuses on federation and SSO flows)

Workflow

□ Map out clearly: User → SP → IdP → Token → SP
□ Collect: /.well-known/openid-configuration, SAML metadata
□ Verify: Exact redirect_uri matching, state binding, PKCE
□ Verify: SAML signature coverage, algorithm downgrade
□ Check: Session fixation and logout invalidation issues

Tooling

Tool Purpose
Burp + SAML Raider, etc. Assertion editing (authorized)
jwt_tool JWT analysis
Browser DevTools Redirect chain analysis
IdP Admin Logs Auditing

References

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

Routing Context

Upstream: MASTER R37
Downstream: Pure API JWT → api-security; Cloud IdP → cloud-k8s

Completion Checklist

  • [ ] Has the complete SSO flow been mapped?
  • [ ] Does every finding include reproduction steps and impact analysis?
  • [ ] Have all items in the Checklist been verified?