Skip to content

Clickjacking playbook covering frameability checks, PoC templates, and bypasses for UI redress attacks on sensitive actions.

CCM score
64 of 100
skills.sh installs
4K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers detection of frameable pages via X-Frame-Options and CSP frame-ancestors, plus PoC construction and bypass techniques
  • Includes single-click, multi-step, and drag-and-drop attack templates, with frame-busting bypasses using the sandbox attribute
  • Notes that ALLOW-FROM is ignored by Chrome and Safari, leaving pages relying on it frameable
  • Designed for security testers assessing account deletion, credential change, admin, and OAuth authorization pages

Install

$ npx -y skills add yaklang/hack-skills --skill clickjacking -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: Clickjacking — Expert Attack Playbook

AI LOAD INSTRUCTION: Clickjacking (UI redress) techniques. Covers iframe transparency tricks, X-Frame-Options bypass, CSP frame-ancestors, multi-step clickjacking, drag-and-drop attacks, and chaining with other vulnerabilities. Often a "low severity" finding that becomes critical when targeting admin actions.

1. CORE CONCEPT

Clickjacking loads a target page in a transparent iframe overlaid on an attacker's page. The victim sees the attacker's UI but clicks on the invisible target page, performing unintended actions.

<style>
  iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.0001; z-index: 2; }
  .decoy { position: absolute; top: 200px; left: 100px; z-index: 1; }
</style>
<div class="decoy"><button>Click to win a prize!</button></div>
<iframe src="https://target.com/account/delete?confirm=yes"></iframe>

2. DETECTION — IS THE PAGE FRAMEABLE?

Check X-Frame-Options Header

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102

Similar to Clickjacking

More Security