hunt-saml

Audits SAML SSO configurations for signature, audience, and recipient validation gaps in authorized test tenants.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-saml-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-saml
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/hunt-saml
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-saml-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security testers need a disciplined, evidence-gated method to assess SAML SSO implementations without touching production identity providers or fabricating attack artifacts. This Skill structures the modeling of metadata, signature coverage, audience/recipient checks, time windows, and account mapping inside authorized IdP/SP test tenants. ## Core Features & Use Cases - SAML Flow Modeling: Records EntityID, ACS endpoints, bindings, signing certificates, Audience, Recipient, InResponseTo, NotBefore/NotOnOrAfter, and NameID/role mappings from captured assertions. - Configuration Consistency Auditing: Verifies whether the SP requires response/assertion signatures and strictly validates issuer, audience, recipient, clock skew, and request correlation. - Evidence-Gated Oracles: Defines a valid finding as a self-owned test SP accepting a spec-noncompliant, repeatable assertion, while treating malformed XML, expired certificates, and IdP misconfiguration as non-findings. - Use Case: During an authorized enterprise SSO assessment, use this Skill to baseline the SP's validation behavior, test expected rejection paths, and document metadata hashes and assertion field summaries as evidence. ## Quick Start Ask the agent to model and audit the SAML SSO configuration of my authorized test IdP and SP tenant, checking signature requirements and audience/recipient validation.

Frequently Asked Questions about hunt-saml

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

FAQPage Schema
How do I test SAML SSO security in an authorized environment?

SAML SSO testing starts by modeling the IdP/SP metadata, EntityID, ACS endpoints, bindings, and signing certificates in your own test tenant. Then audit whether the SP enforces signature requirements and strictly validates issuer, audience, recipient, and time windows.

What SAML validation checks should a service provider enforce?

A service provider should require response or assertion signatures and strictly validate issuer, audience, recipient, InResponseTo correlation, and NotBefore/NotOnOrAfter time windows. Metadata and certificate rotation should also be controlled and auditable.

What counts as a valid SAML vulnerability finding?

A valid finding is a self-owned test SP accepting a spec-noncompliant, repeatable assertion that should have been rejected. Malformed XML, expired certificates, test IdP misconfiguration, captchas, and WAF blocks are inconclusive, not vulnerabilities.

Can I test SAML signature wrapping against a production IdP?

No. Parser differential or XML signature coverage tests must run against a local mirror or test SP with an audited test plan. Production environments should only be used to verify expected rejection paths, never to alter real SSO configurations.

What evidence should be collected during a SAML assessment?

Collect metadata hashes, assertion field summaries with PII and signatures removed, validation logs, and the differences between expected and actual rejection behavior. Cross-check account mapping and session impact with authentication and session testing workflows.