Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/emre-guler/websec/clickjackingnpx skills add emre-guler/websec --skill clickjackinggit clone --depth 1 https://github.com/emre-guler/websecWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00111 | $0.05385 |
| Opus 5 | $0.00056 | $0.02693 |
| Sonnet 5 | $0.00022 | $0.01077 |
| Haiku 4.5 | $0.00011 | $0.00539 |
Grade A, and why
clickjacking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clickjacking Detection
Overview
Clickjacking is an interface attack: the attacker loads a genuine page of the target application inside a nearly invisible frame, positions it above a decoy of their own, and lines up a specific control under something the victim wants to click. The victim clicks the decoy, the click lands on the real application in their own authenticated session, and a real action fires — change the account email, delete the account, approve a payment, grant a permission. Because the request is produced by the authentic page, it carries that page's own anti-forgery token, so token-based defences do not help; the correct control is a response header that refuses framing. The attacker is a remote site the victim is lured to visit while logged in, and the cost is one real interaction — which also caps likelihood, since no click means no attack. Variants extend it: values prefilled from the URL let the attacker decide the outcome in advance, stacked overlays walk the victim through multi-step flows, and a framed page carrying a script sink turns one click into code execution. This skill locates every sensitive page together with the framing controls that do or do not cover it, checks each one in parallel, and merges results into <output_dir>/clickjacking-results.md.
What it is NOT
- Cross-site request forgery (
/websec:csrf): forgery fabricates a request with no victim interaction and is stopped by a per-session token. Clickjacking needs a real click and defeats tokens because the framed authentic page supplies a valid one. Test: does the attack require the victim to interact with a rendered copy of the real page? Yes is this class, and the fix is a framing header, not a token. - Cross-site scripting (
/websec:xss) and other client-side sinks (/websec:dom-based): framing injects nothing. When a framed page reaches script execution, the injection flaw is the finding and belongs to/websec:xss; record here only that framing supplies the interaction it needs. A sink reached through a URL parameter without framing is not this class at all. - Broken access control (
/websec:access-control): if the action should have been refused for this caller in the first place, the missing check is authorisation. Clickjacking borrows an authority the victim genuinely holds. - Cross-origin read policy (
/websec:cors): sharing headers govern whether script may read a response; framing headers govern whether a document may be embedded. They are separate mechanisms and neither substitutes for the other. - Content spoofing and embedding-based phishing: framing a purely informational public page so an attacker's site looks legitimate is a presentation and brand issue with no state change behind it. No skill in this set owns it. Test: name the action a victim's click would perform in the framed page; if there is none, it is out of scope — say so and move on rather than reaching for a neighbouring class.
- Not a finding: a page that sends
X-Frame-Options: DENY/SAMEORIGINor a CSPframe-ancestorsdirective restricting framers to'none'or'self'— the browser simply refuses to render it, however sensitive the action; a frameable page with no state-changing single-click control; a page whose sensitive action requires an unpredictable interaction the attacker cannot pre-aim, such as re-authentication, a one-time code, or typing a value only shown on that page; framing deliberately permitted for a named partner origin via an explicitframe-ancestorsallowlist that the architecture documents.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 163 lines · 111 tokens per session scan A 8d601f32644a
clickjacking is a skill published in the GitHub repository emre-guler/websec (2 stars, last pushed 5d ago), licensed MIT. It adds 111 tokens to every session and 5,385 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
vantage
Autonomous, artifact-driven SAST (Static Application Security Testing) for web AND mobile app repositories, plus optional code-level remediation. Use whenever the user asks to security-review, pentest, audit, or scan a codebase for vulnerabilities — web (SQLi, XSS, IDOR/BOLA, auth bypass, SSRF, XXE, hardcoded secrets…
prowler-ui
Prowler UI-specific patterns. For generic patterns, see: typescript, react-19, nextjs-16, tailwind-4. Trigger: When working inside ui/ on Prowler-specific conventions (shadcn, folder placement, actions/adapters, shared types/hooks/lib).
prowler-test-api
Testing patterns for Prowler API: JSON:API, Celery tasks, RLS isolation, RBAC. Trigger: When writing tests for api/ (JSON:API requests/assertions, cross-tenant isolation, RBAC, Celery tasks, viewsets/serializers).
prowler-pr
Creates Pull Requests for Prowler following the project template and conventions. Trigger: When working on pull request requirements or creation (PR template sections, PR title Conventional Commits check, changelog gate/no-changelog label), or when inspecting PR-related GitHub workflows like conventional-commit.yml…
tailwind-4
Tailwind CSS 4 patterns and best practices. Trigger: When styling with Tailwind (className, variants, cn()), especially when dynamic styling or CSS variables are involved (no var() in className).
prowler-docs
Prowler documentation style guide and writing standards. Trigger: When writing documentation for Prowler features, tutorials, or guides.