security-review-owasp-xs-leaks

Detect cross-site information leakage in authenticated web flows.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/sjinks/ai-owasp-skillset --skill security-review-owasp-xs-leaks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review-owasp-xs-leaks
Source: https://github.com/sjinks/ai-owasp-skillset/tree/main/.github/skills/security-review-owasp-xs-leaks
Command: npx skills add https://github.com/sjinks/ai-owasp-skillset --skill security-review-owasp-xs-leaks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps reviewers detect cross-site information leaks that reveal authentication state, membership, or protected workflow details through browser-observable behavior.

Core Features & Use Cases

  • Framing and isolation review: Checks whether sensitive pages can be embedded, enumerated, or distinguished across origins through framing or browsing-context issues.
  • Request and message validation: Examines Fetch Metadata handling, SameSite behavior, CORP, COOP, and postMessage origin checks for weaknesses.
  • Response and cache analysis: Looks for timing, redirect, content-length, and cache differences that expose state changes to cross-site attackers.
  • Use Case: A reviewer can assess an authenticated dashboard, webhook receiver, or admin page to confirm whether it leaks state through browser side channels.

Quick Start

Use the security-review-owasp-xs-leaks skill to review this web flow for framing exposure, Fetch Metadata gaps, postMessage validation, and response differences.

Frequently Asked Questions about security-review-owasp-xs-leaks

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

FAQPage Schema
How do I detect cross-site information leaks in authenticated web flows?

Cross-site information leaks in authenticated web flows are detected by validating framing controls, response normalization, browser-context isolation, and cross-origin request filtering. Reviewers examine fetch metadata, postMessage handlers, and cache-sensitive responses for observable state changes.

What are XS-Leaks and how do they expose authentication state through the browser?

XS-Leaks are cross-site information leaks that reveal authentication state, membership, or protected workflow details through browser-observable behavior. They exploit timing, redirect, content-length, and cache differences in framed pages, navigation targets, and postMessage handlers.

How do I review Fetch Metadata and SameSite cookie isolation for cross-origin request filtering?

Reviewing Fetch Metadata and SameSite cookie isolation involves examining request validation handlers for cross-origin filtering weaknesses. Evidence-based validation confirms whether sensitive pages can be embedded, enumerated, or distinguished across origins through framing or browsing-context issues.

When do I need to check postMessage origin validation and framing controls?

PostMessage origin validation and framing controls need checking when assessing authenticated dashboards, webhook receivers, or admin pages. This review confirms whether these targets leak state through browser side channels like cache-sensitive responses and cross-origin interactions.

What is the best way to analyze response and cache differences that expose state changes to cross-site attackers?

Analyzing response and cache differences that expose state changes requires examining timing, redirect, and content-length variations. This evidence-based approach identifies whether cache-sensitive responses leak authentication state or protected workflow details to cross-site attackers.

Can I use this review approach for CORP and COOP headers to prevent browser isolation bypasses?

Yes, reviewing CORP and COOP headers prevents browser isolation bypasses by validating cross-origin request filtering and browsing-context isolation. This confirms whether sensitive pages can be embedded, enumerated, or distinguished across origins through framing or browsing-context issues.