clickjacking

Detect clickjacking vulnerabilities by embedding pages in iframes and analyzing framing headers.

6|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/securityfortech/hacking-skills --skill clickjacking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clickjacking
Source: https://github.com/securityfortech/hacking-skills/tree/main/skills/web/client-side/clickjacking
Command: npx skills add https://github.com/securityfortech/hacking-skills --skill clickjacking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps identify and demonstrate clickjacking vulnerabilities, where users are tricked into clicking on hidden or disguised elements, leading to unintended actions.

Core Features & Use Cases

  • Frameability Detection: Checks if a target page can be loaded within an iframe.
  • Header Analysis: Inspects X-Frame-Options and Content-Security-Policy headers for framing restrictions.
  • Bypass Techniques: Explores methods to circumvent frame-busting JavaScript defenses.
  • Use Case: A security tester can use this skill to quickly verify if a sensitive web application endpoint, like a password reset function, is vulnerable to clickjacking attacks.

Quick Start

Use the clickjacking skill to test if the target URL 'https://example.com/transfer' can be loaded in an iframe.

Frequently Asked Questions about clickjacking

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

FAQPage Schema
How do I check if a web page is vulnerable to clickjacking?

You can check for clickjacking vulnerabilities by attempting to embed the target web page within an iframe and analyzing if it loads successfully without being blocked by framing protections. This process detects missing X-Frame-Options or Content-Security-Policy: frame-ancestors directives.

What headers prevent UI redressing attacks?

The primary headers that prevent UI redressing attacks are X-Frame-Options and Content-Security-Policy: frame-ancestors. Inspecting these HTTP response headers reveals whether the target application restricts other domains from framing its sensitive pages.

How do I bypass frame-busting JavaScript protections?

You can test bypass techniques against frame-busting JavaScript defenses by embedding the target URL in an iframe and analyzing whether the page's client-side scripts successfully prevent framing or if their execution can be circumvented to allow UI redressing.

When do I need to test for iframe embedding vulnerabilities?

You need to test for iframe embedding vulnerabilities when evaluating sensitive web application endpoints, such as a password reset function or fund transfer page, to ensure they cannot be framed and used to trick users into unintended state-changing actions.

Does this tool detect missing Content-Security-Policy frame-ancestors directives?

Yes, it detects missing Content-Security-Policy frame-ancestors directives by inspecting HTTP headers and attempting to load the target URL in an iframe. It identifies if sensitive endpoints lack proper framing restrictions and are vulnerable to clickjacking.