yaklang avatar

Saml Sso Assertion Attacks

You'll want this when you're poking at enterprise SSO flows and need to think through SAML trust assumptions systematically. It walks you through signature wrapping, audience restriction bypasses, assertion replay, and the kinds of XML parsing quirks that let you impersonate users across identity provider boundaries. The triage checklist is solid: capture the full round trip, check which nodes are actually signed, test both SP-initiated and IdP-initiated flows, then start swapping attributes and issuers. It's focused on the trust confusion and binding logic that breaks most often in real deployments, not just textbook vulnerabilities.

skills.sh installs
3.8K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill saml-sso-assertion-attacks --agent claude-code

Installs into .claude/skills of the current project.

Files

SKILL: SAML SSO and Assertion Attacks — Signature Validation, Binding, and Trust Confusion

AI LOAD INSTRUCTION: Use this skill when the target uses SAML-based SSO and you need to validate assertion trust: signature coverage, audience and recipient checks, ACS handling, XML parsing weaknesses, and IdP/SP confusion.

1. WHEN TO LOAD THIS SKILL

Load when:

  • Enterprise SSO uses SAML requests or responses
  • You see SAMLRequest, SAMLResponse, XML assertions, or ACS endpoints
  • Login flows involve an external IdP and browser POST/redirect binding

2. HIGH-VALUE MISCONFIGURATION CHECKS

ThemeWhat to Check
signature validationunsigned assertion accepted, wrong node signed, signature wrapping
audience and recipientweak Audience, Recipient, Destination, or ACS validation
issuer trustwrong IdP accepted or multi-tenant issuer confusion
replay and freshnessmissing InResponseTo, weak NotBefore / NotOnOrAfter enforcement
account mappingemail-only binding, case folding, unverified attributes
XML parser behaviorXXE-like parser issues or unsafe transforms around SAML documents

3. QUICK TRIAGE

Sponsors

Details

Repository
github.com/yaklang/hack-skills
Category
Testing & QA
First seen
May 16, 2026

More from yaklang/hack-skills

All 102
1yaklang avatarxslt-injectionyaklang/hack-skillsXSLT injection testing: processor fingerprinting, XXE and document() SSRF, EXSLT write primitives, PHP/Java/.NET extension RCE surfaces. Use when user-controlle3.8Kskills.sh installs
2yaklang avatarupload-insecure-filesyaklang/hack-skillsInsecure file upload playbook. Use when testing upload validation, storage paths, processing pipelines, preview behavior, overwrite risks, and upload-to-RCE cha3.7Kskills.sh installs
3sanyuan0704 avatarbook-studysanyuan0704/sanyuan-skillsReading coach: guides users through books systematically with knowledge compilation, mastery testing, spaced repetition, and knowledge querying. Use when user s3.6Kskills.sh installs
4wondelai avatarsteve-jobs-design-reviewwondelai/skillsReview designs, products, and features with Steve Jobs' standards: ruthless simplicity, focus, and end-to-end excellence. Use when the user mentions "Steve Jobs3.6Kskills.sh installs
5github avatarautoresearchgithub/awesome-copilotAutonomous iterative experimentation loop for any programming task. Guides the user through defining goals, measurable metrics, and scope constraints, then runs3.4Kskills.sh installs
6arize-ai avatararize-experimentarize-ai/arize-skillsCreates, runs, and analyzes Arize experiments for evaluating and comparing model performance. Covers experiment CRUD, exporting runs, comparing results, and eva3.2Kskills.sh installs