Status: Stable
Version: 1.0.0
Author: Rifteo
Tags: pentest, security, web
Summary
Detect and exploit UI redressing vulnerabilities across sensitive endpoints from header checks to a fully functional PoC page.- Phase 1 checks framing protections via
X-Frame-OptionsandContent-Security-Policy: frame-ancestorsacross all sensitive endpoints - Phase 2 confirms that the target page actually loads inside an iframe before building the full PoC
- Phases 3–4 produce single-click and multi-step PoC HTML pages with an opacity slider for alignment screenshots; includes JS frame-busting bypass via
sandboxattribute and double-framing - Phase 5 identifies the highest-impact targets: account deletion, email change, 2FA disable, OAuth consent screens, and financial actions
- Includes automation script and a complete report structure with remediation guidance
SKILL.md file
Discover skill details
Discover skill details
Clickjacking Hunter
Clickjacking (UI redressing) tricks a victim into clicking elements on a hidden target page by overlaying invisible iframes on top of decoy content. Impact ranges from account deletion and fund transfer to OAuth authorization and 2FA disable any one-click sensitive action is a candidate.When to Use This Skill
Use this skill when the user:- Asks to test for clickjacking or UI redressing vulnerabilities
- Wants to check if a sensitive endpoint (account delete, 2FA disable, OAuth consent) is frameable
- Needs to build a clickjacking PoC for a report
- Wants to bypass JavaScript frame-busting protections
What Does It Check?
In scope:X-Frame-Options(DENY, SAMEORIGIN, ALLOW-FROM, missing)Content-Security-Policy: frame-ancestorsdirective- JavaScript frame-busting (
top.location,window.top,parent.frames) - All high-impact endpoints: account delete, email/password change, 2FA disable, fund transfer, OAuth consent, admin actions
- OAuth consent clickjacking and drag-and-drop variants
- Low-value pages with no sensitive action reachable clickjacking on a marketing page is not reportable
How It Works
Phase 1: Check Framing Protectionssandbox attribute (omitting allow-top-navigation) or double-framing techniques.Phase 5: High-Value TargetsPriority order:- Account deletion / email change one click → ATO or permanent loss
- 2FA disable security downgrade, enables ATO
- OAuth consent screens grants attacker app access to victim account
- Financial actions (transfer, checkout) direct financial impact
- Admin actions high impact if victim is an admin
Output
| Severity | Condition |
|---|---|
| High | Sensitive action (account delete, 2FA disable, fund transfer) frameable |
| Medium | Moderately sensitive action (settings change, app authorization) frameable |
| Low | Low-value page frameable with no sensitive action reachable |
Known Limitations
- Requires a browser where the victim is logged into the target to demonstrate the PoC
- CSP
frame-ancestorstakes precedence overX-Frame-Optionsin modern browsers both must be checked ALLOW-FROMis deprecated and ignored by modern browsers pages using only this directive are vulnerable
Related skills
xss-hunter
Complete XSS testing methodology reflected, stored, DOM-based, blind, and mutation XSS
redirect-forge
Complete open redirect detection and exploitation methodology including OAuth token theft
bugbounty-reporter
Converts raw bug bounty findings into a complete, triage-ready report

