saml-sso-assertion-attacks

Tests SAML SSO assertions for signature validation, wrapping, and trust boundary flaws.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/lNwNl/Praxis --skill saml-sso-assertion-attacks-lnwnl
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: saml-sso-assertion-attacks
Source: https://github.com/lNwNl/Praxis/tree/main/skills/_disabled/saml-sso-assertion-attacks
Command: npx skills add https://github.com/lNwNl/Praxis --skill saml-sso-assertion-attacks-lnwnl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Enterprise SSO integrations built on SAML often contain subtle assertion trust flaws—unsigned assertions, signature wrapping, weak audience checks—that are easy to miss during manual security testing. This Skill provides a structured playbook for systematically validating SAML assertion trust boundaries. ## Core Features & Use Cases - Signature Validation Testing: Checks for unsigned assertions, wrong signed nodes, and XML signature wrapping (XSW) attacks. - Trust Boundary Auditing: Validates Audience, Recipient, Destination, ACS handling, issuer trust, and replay protections like InResponseTo and NotOnOrAfter. - Account Mapping Review: Detects email-only binding, case folding, and unverified attribute issues that enable account takeover. - Use Case: During a penetration test of an enterprise application using IdP-initiated SSO, capture the SAMLResponse, then follow the triage steps to test altered attributes, assertion placement confusion, and replay against the ACS endpoint. ## Quick Start Analyze the captured SAML login flow for this target and test whether the service provider accepts modified or unsigned assertions. ## Related Skills Pair with XML external entity testing for parser-level attacks and OAuth/OIDC misconfiguration checks for non-SAML SSO flows.

Frequently Asked Questions about saml-sso-assertion-attacks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test SAML signature validation vulnerabilities?▼

Capture a full SAML login round trip, identify which XML nodes are signed, then test whether the service provider accepts unsigned assertions, assertions with the wrong node signed, or signature wrapping where a forged assertion is placed alongside the valid signed one.

What is a SAML signature wrapping attack?▼

Signature wrapping (XSW) moves or duplicates the signed assertion within the XML document so the validator checks the legitimate signature while the application processes a forged assertion. It exploits inconsistencies between signature verification and assertion consumption logic.

Which SAML attributes should be checked for replay attacks?▼

Check InResponseTo, NotBefore, and NotOnOrAfter conditions. Missing InResponseTo validation or weak timestamp enforcement allows captured assertions to be replayed against the Assertion Consumer Service endpoint.

Does this apply to OAuth or OIDC single sign-on?▼

No, this playbook targets SAML XML assertions specifically. OAuth and OIDC use different token formats and flows, which require separate misconfiguration checks referenced in the related oauth-oidc skill.

What are common SAML account mapping flaws?▼

Common flaws include email-only identity binding, case folding inconsistencies, and trusting unverified attributes from the assertion. These allow attackers to alter attributes like email addresses to impersonate other accounts.