security-review-owasp-cookie-theft-mitigation

Detect cookie theft mitigation weaknesses in browser-facing applications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps reviewers spot browser-side weaknesses that can expose cookies, session data, or trusted UI flows to theft, leakage, or framing abuse.

Core Features & Use Cases

  • Focused Security Review: Examines frontend code, headers, storage, messaging, and third-party integrations for cookie theft mitigation gaps.
  • OWASP-Aligned Checks: Prioritizes DOM injection, policy bypasses, cross-origin trust mistakes, and unsafe browser behaviors that increase exposure.
  • Review Output: Produces evidence-based findings, review gaps, and passed checks so teams can separate confirmed issues from unknowns.
  • Use Case: A reviewer can assess an authentication page, embedded widget, or web app response headers to determine whether attacker-controlled content can steal cookies or subvert browser trust boundaries.

Quick Start

Use this skill to review the relevant frontend files, headers, and browser interactions for cookie theft mitigation weaknesses and report any confirmed findings with concrete evidence.

Frequently Asked Questions about security-review-owasp-cookie-theft-mitigation

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

FAQPage Schema
How do I review frontend code for cookie theft vulnerabilities?

Assess frontend files, response headers, and browser interactions for cookie theft mitigation weaknesses. The review examines DOM sinks, cross-origin trust boundaries, storage handling, and third-party scripts to produce evidence-based findings.

What browser policies are checked during an OWASP cookie theft security review?

The review checks framing controls, cross-origin interactions, and response headers for policy bypasses. It evaluates DOM injection risks, unsafe browser behaviors, and client-side trust boundaries to detect exposure to cookie theft or session data leakage.

Can I assess third-party scripts for cross-origin cookie leakage?

Yes, you can assess third-party integrations and cross-origin interactions for cookie leakage. The review evaluates third-party scripts against client-side trust boundaries and browser policies to identify unsafe behaviors that expose cookies or session data.

What is the best way to detect DOM injection risks in web applications?

The best way is to analyze DOM sinks and evaluate browser policies for bypasses during a security review. This approach applies OWASP-aligned checks to identify DOM injection risks and framing abuse, producing evidence-based findings and passed checks.

Does this security review evaluate response headers and storage handling for session data exposure?

Yes, the review evaluates response headers, storage handling, and framing controls for session data exposure. It examines frontend code and browser interactions to determine whether attacker-controlled content can steal cookies or subvert client-side trust boundaries.