Skip to content
Back to skills

Sso Saml

ASecurity

Integrate enterprise SAML 2.0 SSO safely with signature checks, strict XML parsing, replay protection, and JIT mapping

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
developmentrustsecurity

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill sso-saml --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sso Saml?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sso Saml
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-sso-saml-anvil/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-sso-saml-anvil)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sso-saml
description: Integrate enterprise SAML 2.0 SSO safely with signature checks, strict XML parsing, replay protection, and JIT mapping
---

<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->

# SSO SAML

Use when implementing or auditing SAML 2.0 enterprise single sign-on flows.

## Validation and XML security
- Require XML signatures on the Assertion (and verify the signed element covers the extracted NameID/Attributes) against the tenant's pinned IdP X.509 certificate—never skip signature verification outside isolated local mocks.
- Use hardened XML parsers that forbid DTDs, external entities (XXE), and XSLT transforms to prevent XML signature wrapping and entity attacks.
- Enforce `Audience` matching your SP Entity ID, `Recipient` matching your exact ACS URL, bounded `NotBefore`/`NotOnOrAfter` clock skew, and `InResponseTo` tracking.

## Sessions and provisioning
- Store issued assertion IDs briefly until expiry to block SAML assertion replay attacks.
- Scope SAML trust strictly per organization/email domain so one tenant's IdP cannot assert users of another domain; bind `RelayState` to validated relative paths only.

## Verify
Test tampered XML signatures, expired assertions, mismatched Audience/Recipient values, cross-tenant domain attempts, and replayed assertions.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.