hunt-clickjacking is a skill for Claude covering clickjacking, also known as UI redressing: embedding a target page in an invisible iframe so a victim clicks a hidden button while seeing an attacker’s decoy interface. It targets login flows, money transfers, account settings, and OAuth authorization dialogs.
The skill treats a missing X-Frame-Options or Content-Security-Policy frame-ancestors header as the trigger for investigation, not the finding itself, and requires a two-step proof: a header check followed by a real browser test that the page frames, survives any framebusting script, and still carries the victim’s authenticated session across the cross-site context despite SameSite cookie defaults. It is for assets covered by a program or engagement you are authorized to test.
What You Get
- A two-step test: a header check for X-Frame-Options and CSP frame-ancestors, followed by a mandatory real-browser iframe proof
- A minimal HTML proof-of-concept template for embedding a target page in a transparent iframe
- A checklist of what must hold for a valid finding: the page renders in the frame, no framebusting script blocks it, and the session cookie survives the cross-site context
- Target prioritization pointing at login, payment, account-settings and OAuth-authorization pages first
- A false-positive section covering read-only pages, non-HTML endpoints, and the SameSite cookie default that defeats many header-absence cases
Common Use Cases
- Checking whether a money-transfer or account-settings page lacks frame-ancestors protection and can be embedded in an attacker-controlled page
- Confirming in a real browser that a framed sensitive action still executes with the victim’s session, not just that a header is absent
- Testing an OAuth authorize confirmation dialog for clickjacking before treating a social-login flow as safe
What Makes It Unique
Many clickjacking checks stop at a curl header read. This skill states directly that header absence alone is not a finding and requires a browser-rendered iframe proof plus a working state-changing action, because SameSite cookie defaults and framebusting scripts can each independently defeat an attack that a header check alone would miss.
Under The Hood
The skill is a single SKILL.md of guidance with no bundled scripts. Following it, the agent fetches a target page’s response headers with curl to screen for frame protection, then writes a minimal HTML file containing an iframe pointed at the target page to test in a real browser. Use it only against assets you are authorized to test.