Skills for Real Engineers. Straight from my .agents directory.
hunt-clickjacking
Agent skill fromelementalsouls/Claude-BugHunter
Hunt Clickjacking — missing X-Frame-Options / CSP frame-ancestors lets an attacker embed the target page in an invisible iframe and trick victims into clicking buttons they cannot see (UI redressing). Targets: login flows, money transfers, account settings, OAuth confirmation pages. Confirm by fetching the page, then PROVE it frames in a real browser and a sensitive state-changing action survives the cross-site context (SameSite cookies / framebusting JS can defeat it) — header-absence alone is not a finding.
How to install hunt-clickjacking
npx skills add elementalsouls/Claude-BugHunter# or add only this skill to Claude Code: copy the folder
skills/hunt-clickjacking/
# into
~/.claude/skills/hunt-clickjacking/ (all projects)
.claude/skills/hunt-clickjacking/ (one project)
1## What is Clickjacking23Clickjacking (UI Redressing) lets an attacker load a target page inside a transparent iframe on a malicious site. The victim sees the attacker's decoy UI but clicks the hidden target UI beneath it. No JavaScript on the target is required.45**Highest-value targets:**6- Login / authentication pages — force login with attacker credentials7- Money transfer / checkout / "confirm payment" buttons8- Account settings (email change, password change, 2FA disable)9- OAuth / social-login "Authorize app" confirmation dialogs10- Admin actions (delete, promote user, change role)1112## Protection Headers1314Two mechanisms prevent framing:1516```17X-Frame-Options: DENY # strongest — blocks all framing18X-Frame-Options: SAMEORIGIN # allows same-origin frames only19Content-Security-Policy: frame-ancestors 'none' # CSP equivalent of DENY20Content-Security-Policy: frame-ancestors 'self' # CSP equivalent of SAMEORIGIN21```2223If NEITHER is present, the page is frameable from any origin.2425## How to Test2627Header-absence is the **trigger for investigation, not the finding**. Two steps:2829**Step 1 — Header check (screening).** Fetch the target page and inspect the response headers:3031```32curl -sI https://target.example/account/transfer | grep -iE 'x-frame-options|content-security-policy'33```34…
Excerpt shown under the repository's MIT license.
More skills in Claude-BugHunter
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
