hunt-clickjacking

Validates clickjacking exposure by testing frame embedding policies on sensitive pages.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-clickjacking-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-clickjacking
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/hunt-clickjacking
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-clickjacking-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security testers need a controlled, evidence-gated way to determine whether sensitive pages can be embedded in attacker-controlled frames, without deceiving real users or causing irreversible side effects. ## Core Features & Use Cases - Framing Policy Verification: Checks for missing CSP frame-ancestors and X-Frame-Options headers and confirms actual cross-origin embeddability in a browser. - Safe Action Oracle: Uses only reversible, low-risk actions on self-owned test accounts to prove exploitability without triggering payments, emails, or permission changes. - Evidence Collection: Captures response headers, browser console and frame screenshots, and before/after states of reversible actions for reporting. - Use Case: During an authorized web assessment, confirm that a settings page lacking X-Frame-Options can be framed from an external origin and that a reversible preference toggle completes without extra confirmation. ## Quick Start Ask the agent to run the clickjacking specialist route against the authorized target's sensitive settings page and report whether it can be framed and acted on safely.

Frequently Asked Questions about hunt-clickjacking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test a page for clickjacking vulnerabilities?

Check whether the page sends CSP frame-ancestors or X-Frame-Options headers, then attempt to embed it in an external-origin demo page you control. Confirm in the browser console and network panel that the frame actually loads, since headers alone do not prove exploitability.

What headers prevent clickjacking attacks?

The CSP frame-ancestors directive and the X-Frame-Options header control which origins may frame a page. This skill verifies both are missing or misconfigured before proceeding, and links remediation to CSP hardening and CSRF defenses.

Can clickjacking be tested without tricking real users?

Yes. This skill only uses self-owned accounts, test pages, and reversible low-risk actions such as toggling a non-security preference. Any test requiring deception of real users, irreversible operations, or third-party iframes triggers an immediate stop.

Why is a missing X-Frame-Options header not enough to prove clickjacking?

A missing header only indicates potential exposure; the page may still block framing via CSP, same-origin checks, or browser policies. The oracle requires an external origin to actually frame the page and complete a predefined low-risk action without extra confirmation.

When should a clickjacking test be marked inconclusive?

WAF blocks, CAPTCHAs, timeouts, or one-off anomalies are recorded as INCONCLUSIVE rather than exploited or safe. Browser policy blocking and required user re-authentication also prevent a positive finding.