← ClaudeAtlas

auditing-clickjacking-and-ui-redressinglisted

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.
UnboundCompute/security-agent-skills · ★ 5 · AI & Automation · score 80
Install: claude install-skill UnboundCompute/security-agent-skills
# 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 lac