Logo Auditing Clickjacking And Ui Redressing

Auditing Clickjacking And Ui Redressing

Tổ chức
UnboundCompute
auditing-clickjacking-and-ui-redressing

Audit a web application for UI-redressing attacks where an attacker frames the real site and tricks a user into acting on it unknowingly: a sensitive page that can be embedded in an attacker's iframe because it lacks frame-ancestors or X-Frame-Options, a state-changing action reachable by a single click that an overlay or transparent frame steers, a drag-and-drop or keystroke redressing that captures input meant for the attacker page, and a confirmation step that a framed overlay hides. Covers web pages with authenticated, state-changing actions (settings changes, purchases, approvals, connect flows) that could be loaded inside a frame the user cannot see. Use when a sensitive action can be triggered by a click and the page can be framed by another origin, making framing the boundary. The attacker page that frames or overlays the real site is the source, the unknowing state-changing click is the sink, and the missing framing protection or unguarded one-click action is the bug.

Tổng quan

Nhà phát hànhUnboundCompute
Kho mãsecurity-agent-skills
Tên kỹ năngauditing-clickjacking-and-ui-redressing
Sao
27
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được UnboundCompute công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Auditing Clickjacking And Ui Redressing trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-clickjacking-and-ui-redressing
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-clickjacking-and-ui-redressing .claude/skills/auditing-clickjacking-and-ui-redressing
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Auditing Clickjacking And Ui Redressing trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Auditing Clickjacking And Ui Redressing ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Auditing Clickjacking And Ui Redressing với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Auditing clickjacking and UI redressing: the user clicks your button on the attacker's page

Clickjacking works because the browser will happily render your real, authenticated page inside a frame on someone else's site, and the user cannot tell. The attacker loads your page in a transparent or hidden iframe, positions it under decoy content, and lures the user into clicking what looks like the attacker's button, when the click actually lands on your page, taken with the user's own session. So any sensitive, state-changing action that a single click can trigger, changing a setting, confirming a purchase, granting an approval, connecting an account, is exposed if your page can be framed by another origin. The defense is to refuse framing by untrusted origins, with a Content-Security-Policy frame-ancestors directive (and the older X-Frame-Options as a fallback), and, for the highest-value actions, to not make them one-click blind: a confirmation the overlay cannot fake. Related redressing tricks, drag-and-drop and keystroke capture, exploit the same framing to steal input. The audit checks, for every sensitive page, whether it can be framed and whether its state-changing actions are reachable by a single hidden click. You audit this by trying to frame the real page from another origin and drive its actions.

When to use

  • A web page performs authenticated, state-changing actions triggerable by a click (settings, purchase, approval, connect, delete).
  • The page may lack a frame-ancestors CSP directive or X-Frame-Options, so another origin can frame it.
  • A sensitive action may be one-click with no confirmation an overlay cannot hide.

Scope check

Audit clickjacking only on applications you own or are authorized to assess. Framing the real site to demonstrate the attack uses a real authenticated session, so use test accounts and your own attacker-page test harness and never trick a real user or act on an account that is not yours. If you can't name the authorization, stop.

The loop

  1. Establish which actions are sensitive and whether the page can be framed first. Inventory the authenticated, state-changing actions on each page and name which are high-value (money, permissions, data deletion, account connection). Then determine the intended framing policy: which origins, if any, may embed the page. This is the false-positive killer: a page that refuses framing by untrusted origins via frame-ancestors and whose highest-value actions require a confirmation an overlay cannot fake is not clickjackable. Name the sensitive actions and the framing policy, then test framing.

  2. Test whether the page can be framed. From an attacker-origin test page, load the target in an iframe and confirm whether the browser renders it. Check for a frame-ancestors CSP directive and, as a fallback, X-Frame-Options; confirm they name only trusted origins. A page that renders in an arbitrary origin's frame is embeddable for a redress.

  3. Map one-click state-changing actions. For each sensitive action, determine whether a single click triggers it with no further step. A framed one-click action, positioned under a decoy, is taken the moment the user clicks the decoy. Actions that change money, permissions, or data with one click are the priority targets.

  4. Test overlay and confirmation hiding. Simulate the attack: overlay the framed page with decoy content and confirm whether the sensitive control can be positioned under an innocuous-looking click. Check whether any confirmation step is one the overlay can hide or auto-satisfy, or a genuine barrier the attacker cannot fake. A confirmation the frame can cover is not protection.

  5. Check drag-and-drop and keystroke redressing. Beyond clicks, test whether framing enables dragging a value into a field, or capturing keystrokes the user believes go to the attacker page, to fill a sensitive form on the framed site. These redressing variants exploit the same missing framing protection.

  6. Confirm and record. Confirm from an attacker-origin test page by framing the real page and driving a sensitive action with a click aimed at a decoy, using a test account and your own harness, without tricking a real user. Kill the lead if the page refuses framing by untrusted origins via frame-ancestors (with X-Frame-Options fallback) and its high-value actions require a confirmation the overlay cannot fake. Record the attacker page that frames the site, the unknowing state-changing click, and the missing framing protection or unguarded one-click action.

Where UI-redressing trust leaks

  • No frame-ancestors or X-Frame-Options. A page with no framing restriction renders inside any origin's iframe, ready to be overlaid and redressed.
  • Permissive framing policy. A frame-ancestors or X-Frame-Options that allows broad or wrong origins lets an attacker-controlled or compromised origin frame the page.
  • One-click sensitive actions. A state-changing action a single click triggers is taken the instant the user clicks a decoy positioned over it.
  • Fakeable confirmations. A confirmation step the framed overlay can hide, cover, or auto-satisfy is not a barrier to a redress.
  • Input redressing. Framing that allows drag-and-drop or keystroke capture fills sensitive fields on the real page with input the user meant for the decoy.

Worked example (a confirm and a kill)

Confirm. An account settings page lets a user connect an external account or change a security setting with a single button click, and the page sends no frame-ancestors CSP directive and no X-Frame-Options. An attacker-origin test page loads it in a transparent iframe under a decoy game, positions the connect button under the decoy's "play" button, and a test user's click connects the account without their awareness. Confirmed clickjacking of a sensitive one-click action via missing framing protection, high, remediation = set frame-ancestors 'self' (and X-Frame-Options DENY or SAMEORIGIN as fallback) on sensitive pages, and require a confirmation an overlay cannot fake for high-value actions.

Kill. Sensitive pages send frame-ancestors 'self' (with X-Frame-Options as a fallback) so no untrusted origin can frame them, and the highest-value actions require a confirmation the overlay cannot hide or auto-satisfy. An attacker-origin frame is refused by the browser, so no decoy overlay can steer a click. Killed, kill_reason = "page refuses framing by untrusted origins via frame-ancestors and high-value actions require a non-fakeable confirmation; no framed click reaches a sensitive action."

Rationalizations to reject

  • "Who would frame our site." → Framing is a single iframe tag on any attacker page; the barrier is frame-ancestors, not obscurity, and without it the page is embeddable by anyone.
  • "We set X-Frame-Options." → Confirm it is actually sent on the sensitive pages and not overridden, and add frame-ancestors since X-Frame-Options is the legacy fallback; a header set on some pages but not the sensitive one still exposes it.
  • "The action needs a confirmation." → Confirm the overlay cannot hide or auto-satisfy that confirmation; a dialog the frame can cover or a checkbox the attacker pre-clicks is not a barrier.
  • "It is behind login." → Clickjacking uses the victim's own logged-in session; being authenticated is the precondition for the attack, not a defense.
  • "CSP is for script." → CSP also governs framing via frame-ancestors; the same header that constrains script is where you refuse untrusted framers.

Executing this in practice

You need the sensitive, state-changing actions on each page, the framing headers each page sends (frame-ancestors and X-Frame-Options), whether each sensitive action is one-click, and whether its confirmation is fakeable under an overlay. From an attacker-origin test harness, try to frame each sensitive page and drive its actions under a decoy. Reading the response headers shows the intended framing policy; a sensitive action driven from a framed decoy on your harness shows whether it holds.

Related

  • auditing-third-party-script-and-sri-trust - the other front-end trust boundary set by response headers; CSP carries both frame-ancestors here and the script allowlist there.
  • auditing-cors-and-cross-origin-trust - the cross-origin trust boundary framing sits within; both decide what another origin may do with your authenticated context, one via requests, the other via a frame.
  • hunting-wallet-drainer-and-dapp-approval-abuse - a redressed dApp UI hides a signing prompt; UI redressing and approval deception combine to get a user to authorize what they cannot see.
  • mapping-attack-surface - use it to enumerate the authenticated, state-changing pages that need framing protection before testing each.
  • FINDING-SCHEMA.md - source = the attacker page that frames or overlays the real site, sink = the unknowing state-changing click, evidence = the missing framing protection or unguarded one-click action.

Câu hỏi thường gặp

Kỹ năng AI Auditing Clickjacking And Ui Redressing làm được gì?

Audit a web application for UI-redressing attacks where an attacker frames the real site and tricks a user into acting on it unknowingly: a sensitive page that can be embedded in an attacker's iframe because it lacks frame-ancestors or X-Frame-Options, a state-changing action reachable by a single click that an overlay or transparent frame steers, a drag-and-drop or keystroke redressing that captures input meant for the attacker page, and a confirmation step that a framed overlay hides. Covers web pages with authenticated, state-changing actions (settings changes, purchases, approvals, conn...

Vì sao nên dùng Auditing Clickjacking And Ui Redressing trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Auditing Clickjacking And Ui Redressing là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Auditing Clickjacking And Ui Redressing trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-clickjacking-and-ui-redressing. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Auditing Clickjacking And Ui Redressing?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Auditing Clickjacking And Ui Redressing với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Auditing Clickjacking And Ui Redressing với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Auditing Clickjacking And Ui Redressing có miễn phí không?

Có. Kỹ năng này được UnboundCompute phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇