How Google Safe Browsing Works
Google Safe Browsing checks web pages and downloads for phishing, malware, unwanted software and social engineering and publishes the results as lists. According to Google, the service assesses more than 10 billion URLs and files every day (Google 2024). Firefox uses Google Safe Browsing against malicious downloads and phishing, according to its privacy notice (Mozilla). Safari also checks against Google Safe Browsing, and for users with China mainland or Hong Kong set as their region additionally against Tencent Safe Browsing (Apple). Microsoft Edge, by contrast, uses its own system, Microsoft Defender SmartScreen (Microsoft).
How quickly a listing takes effect changed in 2024. Until then, Chrome's Standard protection checked sites against a list stored on the device that was updated every 30 to 60 minutes. According to Google, however, the average malicious site exists for less than 10 minutes. Since the switch Google announced in March 2024, Chrome on desktop and iOS checks visited sites against the server-side list in real time; Google expected this to block 25% more phishing attempts (Google 2024). There is hardly any buffer left in Chrome between a listing and the first warning page.
In the Search Console Security Issues report, Google assigns findings to categories: hacked content placed on the site without your permission through a security vulnerability; malware and unwanted software; and social engineering, meaning content that tricks visitors into doing something dangerous (Google Search Console Help). The category tells you where to start looking.
Why Legitimate Websites Get Flagged
Many operators assume that Safe Browsing warnings only affect criminal sites. In reality, legitimate websites regularly end up on the lists because attackers have taken them over. The European Union Agency for Cybersecurity (ENISA), for example, describes how compromised WordPress sites distribute malware through drive-by downloads (ENISA Threat Landscape 2025). Typical entry points:
- Compromised CMS installation: Outdated WordPress, Joomla or Drupal versions and extensions with known vulnerabilities are a common entry point. Injected code redirects visitors to phishing pages or loads malware.
- Infected third-party scripts: A compromised JavaScript file from an external provider runs malicious code on your page without your server ever being attacked. The security of third-party scripts is not directly in your hands.
- Fake verification dialogs: Overlays styled like a CAPTCHA ask visitors to run a command. This technique has gained considerable ground since 2025.
- Manipulated ads (malvertising): The website itself is not infected, but it serves the malicious ad and can therefore be listed as well.
- SEO spam and redirects: Hidden pages, links or manipulated .htaccess files send visitors to other sites, often only visitors from search engines or mobile devices.
Current Causes: Fake CAPTCHAs and Tampered Third-Party Scripts
One technique that has gained a lot of ground since 2025 works without any visible change to the website: a hijacked page displays a fake verification dialog that looks like a CAPTCHA. Instead of clicking images, the visitor is told to paste a command that the page has silently copied to the clipboard. MITRE's attack knowledge base describes this as "ClickFix": malicious websites present fake error messages or CAPTCHA prompts that instruct users to open a terminal or the Windows Run dialog and execute a command (MITRE).
ENISA observed the technique gaining momentum in the first quarter of 2025. From the second quarter of 2025, attackers embedded fake CAPTCHA and verification prompts into compromised websites (ENISA Threat Landscape 2025). The ClearFake campaign, which the report names in this context, distributed credential-stealing malware; ENISA reports 9,300 confirmed infections (ENISA Threat Landscape 2025). Google Safe Browsing can then classify the abused site as dangerous. How to find and remove such overlays is covered in our article on fake CAPTCHAs on compromised websites.
How many addresses distribute malware is shown by a reporting statistic that Germany's Federal Office for Information Security (BSI) evaluates: in the first quarter of 2025, more than 100,000 new malicious websites were identified on the abuse.ch platform, roughly twice as many as in the first quarter of 2024 (BSI). The BSI notes that the statistic is not representative and only covers sites that distribute malware.
The second current cause is tampered third-party scripts. According to the Search Console Help, deceptive content may be included via embedded resources such as images, other third-party components or ads (Google Search Console Help). If an external provider is compromised, your website serves the malicious code even though no file on your server was changed. Subresource Integrity with ongoing monitoring helps here: the browser only runs a script if its hash matches the stored value.
A legitimate verification dialog does not ask visitors to paste a command into the Run dialog or a terminal. Typical traces are a script from an unknown domain in the source code, an overlay that only appears on Windows or only on the first visit, and code that writes text to the clipboard on click.
The Impact of a Safe Browsing Warning
Visitors Turn Back at the Warning Page
The warning page appears in Chrome, Firefox and Safari; Edge shows warnings from its own system. How many visitors turn back was measured in a field study that analyzed over 25 million warning impressions from Firefox and Chrome telemetry: in the stable browser versions, 7.2% of Firefox users and 23.2% of Chrome users clicked through malware warnings, and 9.1% and 18.0% clicked through phishing warnings (Akhawe/Felt 2013). The vast majority abandoned the visit. The data dates from 2013 and the warning pages have changed since then. The order of magnitude still shows why a listing is practically equivalent to an outage.
Warning Labels in Google Search
Google can also show affected pages with a warning label in search results (Google Search Console Help). Important for cleanup: fixed pages do not return to search results one by one while the problem persists on other pages. Google does not say how quickly rankings recover afterwards; track the trend with SEO monitoring.
Trust Erosion and Reputation Damage
Even after the warning is lifted, visitors often retain a negative impression, and for shops this damage can last longer than the direct loss of visitors. How to calculate the cost of an outage is explained in our article on downtime costs. A listing has a similar effect but can last considerably longer, because the Google review alone can take a few days to several weeks (Google Search Console Help).
Checking Safe Browsing Status
Before you begin cleanup, determine the exact status:
- Google Transparency Report: At transparencyreport.google.com/safe-browsing/search, Google shows the current status of an address and the type of threat detected.
- Google Search Console, Security Issues report: It names the type of problem, sample URLs and the date of first detection. Google advises relying on this report because Safe Browsing displays warnings based on the browsing context, so you may not be able to reproduce them (Google Search Console Help).
- XICTRAQ® Security Scan: The security scan checks your domain's Safe Browsing status automatically and adds checks such as HTTP security headers, SSL and an inventory of embedded third-party scripts.
- Manual browser check: Open your website in a private window. If the warning page does not appear, that is not yet an all-clear: manipulations often only show to certain browsers, devices or visitors arriving from a search engine.
Early Detection: How to Find Out Before Your Visitors Do
Because Chrome on desktop and iOS checks addresses in real time, visitors see a new listing almost immediately. If you only learn about it from customer calls or a drop in visitor numbers, you lose hours or days. Early detection therefore works on several levels:
- Detect the manipulation before Google lists it. XICTRAQ®'s defacement detection in the screenshot changelog compares screenshots, a normalized HTML hash and the embedded external script and iframe hosts against a learned baseline; from a correlated score of 60 it creates an event and raises an alert (XICTRAQ). It is available from the Starter plan and is switched on per website. Swapped third-party scripts are caught by script integrity monitoring through a changed SHA-256 hash; it re-fetches the monitored scripts every ten minutes and is included from the Business plan (XICTRAQ documentation).
- Query the listing automatically. XICTRAQ® checks the Safe Browsing status daily on the Free plan and every 6 hours on paid plans (XICTRAQ documentation). A listing triggers a critical alert through your notification channels, and XICTRAQ® opens an incident with a timeline. When Google reports the site as clean again, the alert is resolved automatically.
- Use Search Console as the authoritative source. Add all domains as properties and open the Security Issues report after every alert.
A worked example shows what the check interval means. If Google lists a site shortly after a check, the listing goes unnoticed for about a day in the worst case with daily checks, and for about 6 hours with a 6-hour interval. Suppose a shop earns EUR 1,200 a day, spread evenly, which is EUR 50 per hour: in the first case about EUR 1,200 in revenue is at stake before anyone reacts, in the second about EUR 300. The bigger lever is still the first level: if you remove the manipulation before it is listed, there is no review to wait for.
Step by Step: Removing a Safe Browsing Warning
Step 1: Identify the Cause
Evaluate the Security Issues report and check the source code of the affected pages for injected foreign code, especially scripts from unknown domains. According to the Search Console Help, hackers often attack only specific user agents or referrers to avoid detection (Google Search Console Help). So also fetch the pages with a different user agent and a search engine as referrer, for example using cURL. Search your files for recently modified PHP, JavaScript or HTML files, the .htaccess file for redirects and the database for injected content. A screenshot changelog helps narrow down when the manipulation happened.
Step 2: Remove Malicious Code
Remove the malicious code completely. Update the CMS and plugins to the latest version and replace the core files with the originals from the official download. Remove unknown plugins, themes and user accounts. Change all passwords: database, FTP credentials, admin accounts and API keys. Check the web server for backdoors. If the malicious code comes from an external script, remove the embed or replace it with a reviewed, self-hosted version.
Step 3: Secure the Website
Eliminate the cause of the breach, otherwise the malicious code will return. Install all security updates and configure HTTP security headers; a strict Content-Security-Policy defines which domains may load scripts. Activate a Web Application Firewall (WAF) and two-factor authentication for all admin access, and protect third-party scripts with Subresource Integrity.
Step 4: Request a Review in Search Console
When all reported issues are fixed on all pages, request the review. Google describes the process in the Security Issues report help:
- Open the report and expand the description of each issue. The sample URLs are a selection; if they are missing altogether, that does not mean no pages are affected.
- Fix every issue throughout the site and test your fixes.
- Select Request Review. According to Google, a good request does three things: it explains the exact issue, describes the steps taken to fix it and documents the outcome (Google Search Console Help).
- Wait for the confirmation email and do not submit another request until you have a decision. Google also informs you by email when the review is complete.
- If the request is rejected, keep looking before you resubmit. A request for an issue that has not been fixed can lengthen the next turnaround, and in the worst case Google marks the site as a repeat offender (Google Search Console Help).
There is no fixed deadline. Google states that a review can take a few days to several weeks (Google Search Console Help), plus the cleanup itself. As a rule, plan in weeks rather than days and deal with other blocklists in parallel.
Common Mistakes in Cleanup and Review
Many delays do not arise at Google but in your own cleanup:
- Cleaning only the sample URLs: Search the entire site, not just the pages in the report, and revisit the sample URLs after cleanup before you submit the request.
- Checking only while logged in as an administrator: In some cases, hackers hide injected links from the site owner. Google therefore advises visiting the sample URLs with the URL Inspection tool, or logged in with a different account or on another computer (Google Search Console Help).
- Restoring an infected backup: Google names replacing the affected files with the last good backup as one option (Google Search Console Help), but the most recent backup may already contain the malicious code. Use one that is older than the manipulation; the date of first detection in the report is only an upper limit.
- Not documenting anything: Record the timing, affected files and measures taken. You need this for the request and possibly for a report under NIS2. What that looks like for manipulated pages is explained in our article on defacement attacks and NIS2.
Prevention: How to Avoid Safe Browsing Entries
Prevention costs considerably less than cleanup:
- Regular software updates: Keep CMS, plugins, themes and server software up to date. Many attacks exploit known vulnerabilities in outdated software.
- Automated checks: XICTRAQ® regularly checks security headers, SSL, the Safe Browsing status and DNS-based blocklists and reports any deterioration.
- Content-Security-Policy (CSP): A correctly configured CSP prevents unapproved scripts from running and makes injected overlays harder.
- Third-party script monitoring: When a third-party provider is compromised, every website embedding its scripts is affected. Background is in our article on the risks of third-party scripts.
- Backups and access control: Keep several backup generations, because an infection can go unnoticed for a while. Keep the number of administrators small and use two-factor authentication.
Safe Browsing API: Version 5 Instead of Version 4
Google provides the Safe Browsing API for your own applications, currently in version 5. Google lists the version 4 Safe Browsing APIs, with the Lookup API and the Update API, as deprecated and points to a migration guide (Google for Developers). Version 5 offers a real-time mode, a local list mode and a real-time mode without local storage. New is a global cache of likely benign addresses; anything not found there is queried instead of being allowed by default as in version 4. When matching via hash prefixes, the client only sends a 4-byte prefix of the URL hash (Google for Developers).
Important for businesses: according to Google, the Safe Browsing API is for non-commercial use only; for commercial purposes, Google refers to the Web Risk API (Google for Developers). If you only want to keep an eye on your own domains, you usually do not need an integration of your own. XICTRAQ® handles the query as part of the security scan. If Google has no information on a domain, XICTRAQ® does not treat that as an all-clear.
Other Blocklists and Warning Systems Beyond Google Safe Browsing
For cleanup, what matters most is who maintains a list and how an entry gets removed:
- Microsoft Defender SmartScreen: Protects users of Edge and Windows. According to Microsoft, SmartScreen analyzes visited pages for suspicious behavior and checks them against a dynamic list of reported phishing and malware sites (Microsoft). A Search Console review has no effect here.
- Safari and Firefox: Both rely on Google Safe Browsing, and Safari additionally uses Tencent Safe Browsing in China mainland and Hong Kong (Apple). Clearance by Google therefore usually takes effect here as well.
- Spamhaus Domain Blocklist: A list of domains with poor reputation, mainly for filtering email, explicitly including hijacked domains. According to Spamhaus, most listings expire automatically once the suspicious activity stops; removals are handled exclusively through check.spamhaus.org (Spamhaus).
- Malware address lists from abuse.ch: The platform collects addresses used to distribute malware and shares submissions with blocklist operators, including Spamhaus and Google Safe Browsing (abuse.ch). One entry can therefore affect several lists.
XICTRAQ® also checks your website's IP address against DNS-based blocklists (DNSBL), daily on the Free plan and every 6 hours on paid plans (XICTRAQ documentation), and checks the mail servers of your domain against such lists as well. An entry there mainly affects email delivery but can point to the same vulnerability. More in our article on blacklist monitoring for email deliverability.
Preventing Safe Browsing Warnings Before They Occur
The most effective protection is the combination of hardening and automated monitoring. XICTRAQ® combines the security scan with the Safe Browsing query, blocklist checks, defacement detection and the GDPR compliance check, which shows which scripts and trackers load before consent. These signals are indications, not proof; only an analysis clarifies whether a site has been compromised. Start with a free demo; which plan offers which check interval is shown on the pricing page.
How long does it take to remove a Google Safe Browsing warning?
Can my website be blacklisted without being at fault?
What is ClickFix and why does it lead to a Safe Browsing warning?
How do I check if my website is on the Google Safe Browsing list?
How much does a Safe Browsing warning cost a business?
Does clearance by Google also lift warnings in Microsoft Edge?
This article is based on information from: Google (Chrome blog 2024, Search Console Help, Google for Developers), Akhawe/Felt (USENIX Security Symposium 2013), ENISA Threat Landscape 2025, MITRE, BSI (situation report, malicious websites), Microsoft, Apple, Mozilla, Spamhaus, abuse.ch, XICTRAQ documentation.