saml-sso-assertion-attacks

Detect SAML assertion trust and validation flaws in SSO flows.

11|4|Updated Jun 7, 2026
One-click install
npx skills add https://github.com/sayseven7/frameseven --skill saml-sso-assertion-attacks-sayseven7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saml-sso-assertion-attacks
Source: https://github.com/sayseven7/frameseven/tree/main/internal/mcp/skills/saml-sso-assertion-attacks
Command: npx skills add https://github.com/sayseven7/frameseven --skill saml-sso-assertion-attacks-sayseven7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps security testers find flaws in SAML-based single sign-on flows where assertions, signatures, recipients, audiences, or account mappings can be trusted too broadly.

Core Features & Use Cases

  • Signature and assertion validation: Check whether the correct XML nodes are signed and whether unsigned or misbound assertions are accepted.
  • Trust boundary testing: Validate audience, recipient, destination, issuer, and ACS restrictions across service provider and identity provider flows.
  • Replay and binding checks: Examine freshness constraints, replay resistance, and SP-initiated versus IdP-initiated login behavior.
  • Use case: Use this Skill when an enterprise login flow exposes SAMLRequest or SAMLResponse values and you need to confirm that authentication, attribute handling, and XML parsing are all enforced correctly.

Quick Start

Ask the agent to review a captured SAML login exchange and assess signature coverage, audience enforcement, replay handling, ACS validation, and assertion wrapping risk.

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 SSO assertion validation for signature wrapping flaws?

SAML SSO assertion validation is tested by capturing a login exchange and verifying whether unsigned or misbound assertions are accepted by checking XML node signature coverage and ACS endpoint enforcement. This detects trust boundary failures in identity provider flows.

What is assertion wrapping in SAML authentication and how does it bypass signature checks?

Assertion wrapping in SAML authentication is an attack where malicious unsigned assertions are injected alongside signed ones. It bypasses signature checks when a service provider validates the signature but processes the unsigned assertion, granting unauthorized SSO access.

How do I validate audience and recipient restrictions in a SAMLResponse?

Validating audience and recipient restrictions in a SAMLResponse involves examining the SSO login flow to ensure the service provider strictly enforces intended audience URI and recipient ACS endpoint values. Broad trust mappings indicate vulnerable SSO configuration.

Can I check replay resistance and freshness constraints for SP-initiated versus IdP-initiated SSO?

You can check replay resistance and freshness constraints by analyzing SAMLResponse tokens during SP-initiated versus IdP-initiated SSO logins. This verifies whether time validity windows and one-time use conditions are properly enforced by the ACS endpoint.

Does this approach detect issuer confusion and account mapping vulnerabilities in enterprise SSO?

This approach detects issuer confusion and account mapping vulnerabilities in enterprise SSO by analyzing SAMLResponse attributes and issuer values. It confirms whether service providers correctly map identity provider assertions to local accounts without broad trust.