saml-sso-assertion-attacks

Analyze SAML SSO assertions for signature validation and trust boundary weaknesses.

5|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Yliken/ai4 --skill saml-sso-assertion-attacks-yliken
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: saml-sso-assertion-attacks
Source: https://github.com/Yliken/ai4/tree/main/skills/saml-sso-assertion-attacks
Command: npx skills add https://github.com/Yliken/ai4 --skill saml-sso-assertion-attacks-yliken

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SAML SSO assertion attack playbook helps security testers identify and validate weaknesses in SAML-based authentication systems, including signature coverage, assertion handling, and trust boundary enforcement.

Core Features & Use Cases

  • Evaluate signature validation, including correct signing nodes and wrapping scenarios.
  • Validate audience, recipient, ACS handling, and issuer trust across IdP/SP configurations.
  • Compare IdP-initiated vs SP-initiated flows to surface misconfigurations and replay risks.
  • Provide rapid triage findings and actionable remediation guidance for enterprise SSO deployments.

Quick Start

Execute a full SAML-based login flow against the target to identify signature validation gaps and trust boundary weaknesses.

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 attacks against my IdP and SP configurations?

Test SAML SSO assertion attacks by executing a full login flow against the target to identify signature validation gaps, audience binding issues, and trust boundary weaknesses across IdP and SP configurations. It provides rapid triage findings and remediation guidance.

What is a SAML assertion wrapping attack and how does signature validation fail?

A SAML assertion wrapping attack exploits signature validation failures by manipulating XML parsing boundaries to inject unverified assertions. This Skill evaluates correct signing nodes and wrapping scenarios to surface where signature coverage is incomplete or improperly enforced.

How can I check if my SAML SSO deployment is vulnerable to replay attacks?

Check SAML SSO replay vulnerability by comparing IdP-initiated versus SP-initiated flows to surface misconfigurations and replay risks. This Skill validates NotBefore and NotOnOrAfter enforcement, ACS endpoint handling, and recipient binding to identify exposure.

Does this SAML testing approach work for enterprise SSO deployments using XML parsing boundaries?

Yes, this SAML testing approach is applicable to enterprise SSO deployments using SAML requests and responses. It analyzes IdP and SP flows, ACS endpoints, and XML parsing boundaries to evaluate validation coverage and resilience against replay or wrapping attempts.

What is the best way to validate SAML audience and issuer trust configurations?

Validate SAML audience and issuer trust by analyzing audience restriction, recipient handling, and ACS configurations across IdP and SP deployments. This Skill identifies misconfigurations in issuer trust and improper audience binding that could weaken authentication boundaries.

Why does SAML signature presence not guarantee secure authentication boundaries?

SAML signature presence alone does not guarantee secure authentication because wrapping attacks can bypass validation if the wrong signing node is verified. This Skill evaluates signature coverage depth and proper enforcement to ensure trust boundaries remain intact.