saml-sso-assertion-attacks

Validate SAML SSO assertions for signature coverage, audience constraints, and issuer trust.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-sikll --skill saml-sso-assertion-attacks-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saml-sso-assertion-attacks
Source: https://github.com/Prohao42/aimy-sikll/tree/main/ai-mian/hack-skills/skills/saml-sso-assertion-attacks
Command: npx skills add https://github.com/Prohao42/aimy-sikll --skill saml-sso-assertion-attacks-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SAML SSO deployments often suffer from weaknesses in signature coverage, assertion handling, audience restrictions, and trust boundaries. This playbook provides a structured approach to identify and remediate SAML-related misconfigurations before exploitation.

Core Features & Use Cases

  • Signature validation checks for unsigned assertions, incorrect signed nodes, and signature wrapping.
  • Audience, recipient, and ACS validation checks to ensure assertions bind to the correct SP and endpoint.
  • Issuer trust checks to prevent IdP/SP confusion and multi-tenant issuer issues.
  • Replay protection and freshness checks, including InResponseTo and NotBefore/NotOnOrAfter enforcement.
  • XML parser behavior considerations and potential XXE-like weaknesses in SAML processing.
  • Triage guidance to compare SP-initiated vs IdP-initiated flows and document findings.

Quick Start

Load this skill during SAML SSO testing and execute a full login round trip to verify signatures, audience constraints, and ACS handling.

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 assertions for signature wrapping and replay attacks?

To test SAML SSO assertions for signature wrapping and replay attacks, execute a full login round trip to verify signature presence, correct node signing, InResponseTo enforcement, and NotBefore/NotOnOrAfter boundaries. This identifies assertion wrapping and replay weaknesses.

What checks are needed to prevent issuer confusion in SAML SSO deployments?

Preventing issuer confusion in SAML SSO deployments requires validating issuer trust, audience restrictions, and ACS endpoint bindings. These checks ensure assertions bind to the correct Service Provider and prevent IdP/SP confusion in multi-tenant environments.

How does SAML signature validation handle incorrect signed nodes?

SAML signature validation handles incorrect signed nodes by verifying signature presence and correctness across the assertion and response. Proper node signing ensures the signature covers the intended XML elements, preventing assertion manipulation and bypass vulnerabilities.

Can I use this skill to test XML parser behavior for XXE-like weaknesses in SAML?

Yes, you can use this skill to test XML parser behavior for XXE-like weaknesses in SAML processing. It evaluates parser configurations and XML handling to identify potential vulnerabilities in SAML request and response parsing.

What is the best way to compare SP-initiated vs IdP-initiated SAML flows during pentest?

The best way to compare SP-initiated vs IdP-initiated SAML flows is to execute both round trips and document findings. Triage guidance helps differentiate flow behaviors and identify trust boundary misconfigurations in staging environments.