Decoding the "this site may be hacked" meaning in Google search

"This site may be hacked" means Google believes someone may have added pages, or altered existing pages, on a site without the owner's permission. It is a small grey note under a normal search result, not a block: you can still click through, and the site usually loads as normal.

Explainer6 min read

It almost always points to spam injection, where an attacker quietly adds pages (often pushing pills, counterfeit goods or dodgy downloads) or hidden text onto pages that already rank. Google flags it so searchers know the listing may not be what it appears.

The label is fixable. Once the unwanted content is removed and the gap that let it in is closed, you request a review in Google Search Console and Google drops the note.

Why Google shows the "this site may be hacked" label

Google adds this label when its crawl data and Search Console signals suggest a third party has tampered with the site's content. The usual root cause is a content management system that has been left open, very often an out-of-date WordPress core, plugin or theme, which let an attacker inject spam pages or scripts.

The label is about indexed content rather than your visitor experience, which is why a site can look perfectly normal to its owner and still be flagged. Common patterns behind it include:

  • Spammy pages added under your domain that you never created, often in unrelated languages or topics
  • Hidden links or blocks of text injected into existing pages, served to Google but masked from a casual visitor
  • Cloaking, where the site deliberately shows one version to Google and a spam page or redirect to real users
  • Conditional redirects that only fire for people arriving from a search result, not for direct visits

"May be hacked" versus the red Safe Browsing warning

These are two separate Google signals, and telling them apart matters. "This site may be hacked" is the quiet grey line inside an ordinary search listing. The page still opens when clicked, and Google is mainly flagging that some indexed content looks like spam injection.

The red full-page "Deceptive site ahead" or "The site ahead contains malware" screen is the Safe Browsing interstitial. That one blocks the page in Chrome and other browsers before it loads, because Safe Browsing has flagged the site for malware, social engineering or unwanted software. It is more serious and far more disruptive to visitors.

A site can have one, both or neither. The grey label leans towards SEO spam; the red wall leans towards active malware or phishing. In both cases the underlying cause is usually the same: something on the site has been compromised.

How to clear the "this site may be hacked" notice

Clearing the label is a clean-up first, then a review request. Work through it in order rather than deleting the one obvious page and hoping.

  • Open Google Search Console and check the Security Issues report, which lists what Google detected and often gives sample URLs
  • Take a backup, then remove the injected pages, spam content, hidden text and any unfamiliar admin users or files
  • Close the entry point: update the CMS core, plugins and themes, rotate all passwords, and review file permissions and any unknown scheduled tasks
  • If you cannot be confident the site is fully clean, ask your host or a malware-removal specialist to run a proper server-side scan and clean
  • Once you believe it is clean, use "Request a review" in Search Console; Google re-crawls, confirms the spam is gone and removes the label, which can take a few days

Free, instant, no account

See your site's security grade in seconds.

Free, instant, and no account needed to see your grade.

Scan my site free

Plain-English A to E grade in about 10 seconds. No account needed to see it.

How EB Security fits in, and where it stops

The EB Security scan is an external, read-only check. It reads only what your site already serves in public: response headers, the TLS certificate, public DNS and a small set of well-known paths. As part of that it can check your domain's Safe Browsing reputation (this runs when an API key is configured) and whether your server's IP appears on common blocklists such as Spamhaus, SpamCop and Barracuda. Those are the same reputation signals that sit behind Google's warnings, so the scan is a fast way to see whether your domain is currently flagged externally.

Be clear on its limits. It does not log in, and it does not read your server's files, scan for malware or remove anything. It also does not inspect WordPress plugins or themes for vulnerabilities. A clean external result is a useful first signal, not proof your files are clean, so if a hack is suspected the actual clean-up still has to happen on the site at the server level.

Where the scan does add value is spotting the kind of weaknesses that let a hack happen in the first place, such as outdated software banners, exposed files and open directory listings, and missing hardening like security headers. Fixing those reduces the chance of seeing this label again.

"This site may be hacked" means Google thinks spam content was injected into your site. Clean the content, close the gap that let it in, then request a review in Search Console to clear it.

Common questions

Does "this site may be hacked" mean my computer is at risk if I visit?
Not necessarily. The grey label is mainly about spam content Google found on the site, and the page usually still loads. The more dangerous case is the full red Safe Browsing warning, which blocks the page because malware or phishing was detected. Be cautious either way and avoid entering personal details on a flagged site.
How long does it take to remove the label after I fix the site?
Once the site is genuinely clean and you submit a review request in Google Search Console, removal typically takes a few days. The exact time depends on Google re-crawling and confirming the spam content has gone. Submitting before the site is fully cleaned just restarts the wait.
Will the EB Security scan remove the warning or clean a hacked site?
No. The scan is external and read-only, so it cannot log in, change files or remove malware. It can check your Safe Browsing reputation and common blocklists and flag exposed files and weak settings. The actual clean-up and the Search Console review request still have to be done on the site itself.
My site looks completely normal, so why is Google showing this?
Many hacks are deliberately hidden from the owner. Attackers commonly use cloaking, so spam pages or redirects only appear to Google or to visitors arriving from search, not to you when you log in directly. Always check the Search Console Security Issues report rather than trusting how the homepage looks.
What usually causes a site to get hacked in the first place?
On small-business sites the common cause is out-of-date software, especially an outdated WordPress core, plugin or theme, alongside weak or reused passwords. The EB Security check can flag outdated software banners, exposed files and missing security headers, which often point to that kind of risk, though it does not scan plugins or themes for vulnerabilities.

How safe is your website?

A free A to E grade in about 10 seconds. No account needed.

Check my site