Google Hacked Site Warnings Explained
When Google finds a problem on a site, search results and browsers can show a warning to visitors. If a review finds the site clean, the warnings are removed within 72 hours. If the review finds the problem still exists, they stay.1
The three messages you may see
| Message | Where it appears | What it means |
|---|---|---|
| "This site may be hacked" | Search results | Spam was added to the site.2 |
| "This site may harm your computer" | Search results, or a page the browser shows first | The site holds malware.2 |
| "Deceptive site ahead" | Chrome browser | Google detected social engineering content.3 |
Google says the last one can appear in Chrome when it detects social engineering content on your site.3
What social engineering means
Social engineering is content that tricks visitors into doing something dangerous, such as giving away confidential information or downloading software.3
A fake login page is a classic case. A hacker can take over a harmless site and use it to host or pass on that kind of content, often to get personal details like credit card numbers.3 So a deceptive-site warning doesn't mean you built anything deceptive yourself. It can mean someone used your site.
Why you might not see it yourself
Safe Browsing is Google's system that warns people before they visit dangerous pages. Its warnings depend on the user's browsing context, so as the owner you might not be able to reproduce them in your own browser.4
Don't take a clean look in your own browser as proof. Use Search Console instead. Its Security Issues report shows a sample of affected pages, and it tells you whether the issues Google saw have been addressed.24
Getting a warning removed
Before asking for a review, Google says to confirm four things. You have verified ownership in Search Console. You have cleaned the site. You have corrected the vulnerability. And the clean site is back online.1 Your pages must also be open to Googlebot, not blocked by robots.txt or noindex, so Google can check that they are clean.1
Be sure the problem is truly fixed. Asking while it still exists only prolongs the time your site is flagged.1
Then ask for a review in the Security Issues report. The wait differs by problem.1
- Spam hacks can need up to several weeks.
- Malware reviews need a few days.
- Phishing reviews take about a day.1
Google's Search Central page on social engineering says a review of deceptive content can take several days, so the time can vary.3
If Google finds the site clean, warnings from browsers and search results are removed within 72 hours.1
If Google decides the problem isn't fixed, the warnings stay, and the report may list more sample addresses to help your next check.1
Where to go next
The order of work for cleaning the site is laid out in the step-by-step list. The signs that often come before a warning are in spotting a hack early.
Warnings can show up for a site whose owner never saw a problem. That's why a regular look at the Security Issues report, even when things seem fine, is a sensible habit.
What a finished review looks like depends on the problem. A malware review gets its answer in your Messages in Search Console, so check there after you've asked. If a spam review is approved, the Security Issues report no longer shows hacked category types or example hacked URLs. If a phishing review succeeds, the user-visible warning is removed.1
Where the facts come from
- Request a review, web.dev (Google)
- Hacked with malware, web.dev (Google)
- Social Engineering (Phishing and Deceptive Sites), Google Search Central
- FAQ for hacked sites, web.dev (Google)