This is a solid playbook for testing UI redress vulnerabilities. It walks you through checking X-Frame-Options and CSP frame-ancestors headers, building transparent iframe PoCs, and bypassing frame-busting scripts with the sandbox attribute. The templates cover single-click, multi-step, and drag-and-drop scenarios, with specific targets like account deletion and OAuth consent pages. What makes it useful is the testing checklist and the honest framing that clickjacking is often marked low severity until you chain it with admin actions. If you're doing web app pentests and need to quickly validate whether sensitive pages can be framed, this gives you the detection logic and HTML snippets to prove it out.

skills.sh installs
3.8K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill clickjacking --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from yaklang/hack-skills

All 102
1hashicorp avatarrun-acceptance-testshashicorp/agent-skillsGuide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.3.8Kskills.sh installs
2yaklang avatarhash-attack-techniquesyaklang/hack-skillsHash attack playbook. Use when exploiting length extension, MD5/SHA1 collisions, HMAC timing leaks, birthday attacks, or hash-based proof of work in CTF and aut3.8Kskills.sh installs
3yaklang avatarprototype-pollutionyaklang/hack-skillsPrototype pollution testing for JavaScript stacks. Use when user input is merged into objects (query parsers, JSON bodies, deep assign), when configuring librar3.8Kskills.sh installs
4yaklang avatardns-rebinding-attacksyaklang/hack-skillsDNS rebinding attack playbook. Use when testing applications that trust DNS resolution for origin checks, interact with internal services from browser context, 3.8Kskills.sh installs
5yaklang avataremail-header-injectionyaklang/hack-skillsEmail header injection and spoofing playbook. Use when testing contact forms, email APIs, password reset flows, or any feature that constructs SMTP messages wit3.8Kskills.sh installs
6dpearson2699 avatartipkitdpearson2699/swift-ios-skillsImplement and review Apple TipKit feature-discovery UI for iOS 17+ apps. Use when adding or auditing in-app tips, contextual help, coach marks, Tip, TipView, po3.8Kskills.sh installs