On this page
What this issue is
ClickFix is a social engineering trick. A page shows a box that looks like a Cloudflare, Google or similar human check. Instead of asking you to click pictures, it asks you to press Win+R (or open a terminal), paste, and press Enter. The page has already copied a hidden command to your clipboard. That command downloads malware, often an info-stealer.
Why it costs you leads or sales
The overlay sits on top of your page, so visitors cannot use your form, checkout or call button. Those who do follow the instructions may infect their own devices, which harms your customers and your reputation. Browsers and security vendors may also flag the domain, which can bring red warning screens and drops in ad and search traffic.
- Ad or search clickVisitor arrives
- Landing page loadsInjected script runs
- Fake CAPTCHA overlayCovers the page and asks for a paste command
- Form or checkoutCannot be reached
- Lead or saleNever happens
The overlay appears before visitors can reach the form.
The fake check sits over your call to action, so clicks never reach it.
How to check if your site has it
Do not follow any on-screen instructions while testing. Never paste anything the box gives you. Use a separate browser profile or a device you do not use for admin work.
Load key pages in a clean browser
Open your homepage, top landing pages and checkout in a private window with no extensions. Try desktop and mobile, and arrive from a Google search result or an ad link, because some hacks show only to certain visitors.
View the page source
Right-click, choose View page source, and search for words such as 'verify', 'human', 'clipboard', 'navigator.clipboard', 'execCommand', 'powershell', 'mshta' and 'atob('. Look for script tags from domains you do not recognise.
Check the Network tab
In Chrome DevTools, open Network, reload, and sort by domain. Look for scripts loaded from unfamiliar hosts.
Review your tag managerGoogle Tag Manager
In Google Tag Manager, open each container and look for Custom HTML tags you did not create, and check the version history for recent unknown publishes.
Check files and users
Look for recently modified theme or plugin files, unknown admin users and unexpected scripts in header or footer settings.
grep -rIlE "navigator\.clipboard|execCommand\('copy'\)|powershell|mshta|atob\(" wp-content/ --include=*.php --include=*.js --include=*.htmlHow to fix it
Take a backup and put the site in maintenance mode
Keep a copy of the infected state for investigation, then limit visitor exposure while you clean.
Find the injection point
Check theme header and footer files, the database (for example options and posts containing script tags), tag manager containers, third-party widgets and any code injection settings.
Remove the malicious code
Delete the injected script. Replace core, theme and plugin files with fresh copies from the official source rather than editing around the malware.
Remove what let them in
Delete unknown admin users, outdated or abandoned plugins, and any unknown files. Update everything else.
Change every credential
Reset passwords for admin users, hosting, FTP/SFTP, database, tag manager and your domain account. Enable two-factor authentication and regenerate API keys and salts.
Get help if you cannot find it
Ask your host to scan the account, or use a professional malware cleanup service. Reinfection usually means a backdoor was missed.
Reinstall core
Go to Dashboard > Updates and choose Re-install version, or replace wp-admin and wp-includes with fresh files.
Audit plugins and users
Under Plugins, delete anything unused or unknown and update the rest. Under Users, remove unknown administrators.
Check injected code
Review header and footer script plugins, the theme's functions.php and header.php, and the wp_options and wp_posts tables for unfamiliar script tags.
Find unknown tags
Open Tags and look for Custom HTML tags you did not create. Check Admin > User Management for unknown users.
Roll back
Under Versions, publish a known clean version, then remove unknown users and review access.
Check theme code
In Online Store > Themes > Edit code, look in theme.liquid for unknown script tags. Also check Settings > Customer events for unknown custom pixels.
Review apps and staff
Remove unknown apps and staff accounts, then reset staff passwords and enable two-step authentication.
Check custom code
Open Site settings > Custom code and each page's settings, and remove unknown scripts. Review Workspace members.
Check custom code
Open Settings > Custom code and remove unknown snippets. Review site collaborators and change your password.
Check code injection
Open Settings > Advanced > Code Injection and remove unknown scripts. Review contributors and reset passwords.
Check tracking code areas
Review the header and footer tracking code on each funnel, website and page, and remove unknown scripts. Review team members.
Compare with version control
Diff the deployed files against your repository and redeploy from a clean commit. Check build dependencies and CI secrets too.
Compromised
- Full-screen fake human check appears
- Unknown script loads from another domain
- Forms and buttons are unreachable
- Unknown admin user exists
Clean
- Pages load with no overlay
- Only scripts you recognise load
- Forms and buttons work
- Credentials changed, two-factor on
How to confirm it's fixed
- Key pages load with no overlay on desktop and mobile, in a private window
- Page source and Network tab show no unknown scripts or domains
- Search results and ad landing arrivals show the normal page
- Unknown users, plugins and tag manager tags are gone
- Cache and CDN are purged so old infected copies are not served
- Form and checkout complete a test submission
- Google Search Console Security issues shows no warnings; request a review if one was raised
How to prevent it happening again
- Keep core, themes and plugins updated and remove unused ones
- Use unique strong passwords and two-factor authentication on every admin login
- Limit who can publish in your tag manager and review its change history
- Use least-privilege roles for agencies and freelancers, and remove old accounts
- Keep offsite backups so you can restore a clean copy
- Add a Content Security Policy to restrict which domains scripts can load from
- Check key pages regularly from a clean browser
Content-Security-Policy: script-src 'self' https://www.googletagmanager.com https://www.google-analytics.com; object-src 'none'; base-uri 'self'How FunnelGuard handles this
FunnelGuard detects this issue only partly. Its robot visitor runs your real customer journeys on a schedule, and its cta_not_covered check may catch the overlay when something sits on top of a call-to-action button and blocks it. If that happens, you get one alert with a screenshot and a likely cause, after a second-region re-check.
What it does not do: it does not scan your files or code for malware, does not read the text of an overlay to recognise it as ClickFix, and may miss an overlay that does not cover the monitored button, or one shown only to certain visitors. FunnelGuard never bypasses CAPTCHAs or bot protection, so it cannot tell a real challenge from a fake one.
To cover the rest by hand: load key pages in a clean private window each week, review your page source and tag manager for unknown scripts, check Search Console's Security issues report, and ask your host for malware scans. A free read-only website audit is available, and the Free plan covers 1 site and 2 journeys with daily checks and no card.
| Situation | FunnelGuard | Do by hand |
|---|---|---|
| Overlay covers a monitored CTA button | May catch via cta_not_covered | Still clean the site |
| Overlay appears elsewhere on the page | Not detected | Visual check in a clean browser |
| Injected script in files or tags | Not scanned | Source review, host scan |
| Shown only to some visitors or regions | May miss | Test from search and ad arrivals |
Related checks
A ClickFix overlay often comes with other signs of compromise, such as injected popups, rogue admin users, backdoor files and Safe Browsing warnings. Work through those too before you consider the site clean.
Questions people ask
What is a ClickFix fake CAPTCHA?
It is a fake 'verify you are human' box that tells you to press keys and paste a command into the Run dialog or a terminal. The page has secretly copied a malicious command to your clipboard, so following the steps installs malware. Real CAPTCHAs never ask for this.
Why is my website showing a fake CAPTCHA I did not add?
A script has almost certainly been injected into your site. Common routes are an outdated plugin or theme, a stolen admin or hosting password, or a malicious tag in your tag manager. Treat it as a hack and clean it up.
How do I remove a fake CAPTCHA overlay from my website?
Find the injected script in your theme, database, code injection settings or tag manager, and remove it. Replace core, theme and plugin files with clean copies, delete unknown users, and change all passwords. Then purge caches and re-test in a clean browser.
Is it dangerous to visit my own site if it shows a fake CAPTCHA?
Viewing the page is usually fine, but never follow the instructions or paste anything. Test in a private window on a device you do not use for sensitive work, and never run the copied command.
Can I see the fake CAPTCHA only on some devices or from Google?
Yes. Attackers often show malicious code only to certain visitors, such as those from search or ads, on mobile, or in particular countries. Test from those routes rather than typing the URL directly.
Will Google or Chrome warn people about my site?
They can. If the site is flagged, visitors may see a red warning screen and Search Console may list a security issue. After cleaning, fix the cause and request a review in Search Console.
Can FunnelGuard detect a ClickFix overlay?
Only partly. Its cta_not_covered check may catch the overlay if it covers a monitored call-to-action button. It does not scan code for malware or recognise the overlay's text, so you still need manual checks.
Related issues
- OPS-147Injected popups / malvertisingFix guide
- OPS-148Rogue admin user createdFix guide
- OPS-149Backdoor files (web shells) on serverFix guide
- OPS-150Search Console security issues / manual actionsFix guide
- OPS-138Google Safe Browsing 'Deceptive site' warningFix guide
- OPS-139Chrome 'dangerous site' red screen on funnelFix guide