How to check if a website has malware, and what a free external scan can really tell you

To check if a website has malware for free, run an external reputation scan: it checks the site against Google Safe Browsing reputation and common IP blocklists, and looks for a few tell-tale exposed files, giving you a fast first signal in about ten seconds with nothing to install.

How to check7 min read

That is a useful starting point, but it has a clear limit. An external scan reads only what a site already serves to the public. It does not log in, and it cannot open or read the files on your server, so it cannot confirm the files themselves are clean. What it tells you is how the wider internet currently sees your site.

This page explains the difference between a reputation or blocklist check (what a free external scanner does) and a deep server-side file scan, and how to read a clean-but-not-guaranteed result without fooling yourself.

What a free external scan can check for malware

A free external scanner, including the EB Security check, looks at malware from the outside in. It cannot see your files, so instead it asks two questions: does the rest of the internet currently treat this site as dangerous, and is the site leaking anything it should not?

Three external signals do most of the work here.

  • Google Safe Browsing reputation: whether the domain has been flagged for hosting malware or deceptive content. This is a reputation lookup that runs when an API key is configured, so treat it as a check rather than a promise on every single scan.
  • IP blocklists: whether the server's IP address appears on common spam and abuse lists such as Spamhaus, SpamCop and Barracuda, which often pick up a compromised or abused server.
  • Exposed sensitive files: a small set of well-known paths (such as /.git/HEAD, /.env, phpinfo pages, /server-status and config backups) plus open directory listings, which can signal a careless setup or an existing break-in.

Reputation check versus server-side file scan: the key difference

These are two different jobs, and confusing them is the most common mistake people make when they want to check if a website has malware.

A reputation or blocklist check, which is what a free external scanner does, stands outside your site and reports how it is currently seen and what it is leaking. It is fast, needs no access to your server, and gives you an instant signal.

A server-side file scan runs on the server itself, reads your PHP, theme and plugin files, and compares them against known malware signatures. It can find injected code that an external scan simply cannot see, because that code may only run for certain visitors or sit quietly in a file. It needs login or host-level access to work, so it is not something a passive external check can do.

How to read a clean external result

A clean external scan is good news, but it is not a clean bill of health for your files. It means that, right now, the reputation sources checked have not flagged you, your server IP is not on the common blocklists, and no obvious exposed files turned up.

Malware can still be present and stay invisible from the outside. Some infections only serve bad content to search engines or to first-time visitors, redirect people from certain countries, or sit dormant until triggered. None of that necessarily shows up to an external check straight away.

So read a clean result as a reassuring first signal, not as proof. If you have an actual reason to suspect a hack (a host warning, a sudden traffic drop, strange new files, or a customer report), go a layer deeper with a server-side scan.

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.

When you need a deeper scan, and where to get one

If anything points to an active compromise, an external check on its own is not enough. You need eyes on the actual files, which means access the external scan does not have.

Take one of these steps for a proper file-level scan.

  • Ask your hosting provider: most hosts run server-side malware scanning and can tell you whether they have detected or quarantined anything on your account.
  • Use a server-side scanner: a tool that runs on the server (for example via your control panel, or a security plugin that scans the WordPress filesystem) compares your files against malware signatures.
  • Bring in a specialist: for a confirmed hack, a clean-up service or experienced developer can find the entry point, remove the malicious code and close the hole so it does not happen again.
  • Use the free external check first: it is a quick way to confirm whether you are currently flagged or leaking, which helps you judge how urgently to act.

Lower the risk of malware in the first place

Most site infections start with something an external scan can also flag: outdated software, or an exposed file an attacker can use as a way in.

Alongside the reputation signals above, the EB Security check looks at a few things that quietly reduce the chance of being compromised. Note that it covers WordPress core only, not the plugins or themes where many real-world infections begin, so treat these as early warnings rather than a full vulnerability audit.

  • Out-of-date software: an end-of-life PHP version (read from response headers) and an outdated WordPress core, both common entry points.
  • Exposed files and listings: leaked config files, backups and open directory listings that hand attackers useful information.
  • Information disclosure: server version banners and a published WordPress version that make a site easier to target.
  • Basic hardening: HTTPS, security headers and secure cookies, which make a site harder to tamper with.

A free external scan tells you whether a website is currently flagged by Google Safe Browsing reputation or common IP blocklists, and whether it is leaking sensitive files: a fast, useful first signal. It cannot log in or read your server's files, so a clean result is reassuring but not proof. If you have a real reason to suspect a hack, follow up with a server-side scan from your host or a specialist.

Common questions

Can I check a website for malware for free without installing anything?
Yes. An external scanner like the EB Security check runs from your browser and reads only what the site serves publicly. It looks up Google Safe Browsing reputation and common IP blocklists, and checks for exposed files, returning a result in about ten seconds with no download or login.
Does a free scan remove malware from my website?
No. The free external check is a detection signal, not a clean-up tool. It reports whether your site is currently flagged or leaking files, but it does not access, scan or change the files on your server. Removing an infection needs a server-side scan and usually your host or a specialist.
If the scan comes back clean, is my site definitely malware-free?
Not definitely. A clean external result means you are not currently flagged by the reputation sources checked and no obvious exposed files were found. Some malware only shows itself to certain visitors or sits dormant, so an external scan cannot prove the files are clean. Treat it as a strong first signal, not a guarantee.
What is the difference between a reputation check and a virus scan?
A reputation check stands outside your site and reports how the internet sees it (blocklists, Safe Browsing) and what it leaks. A virus or file scan runs on the server, reads your files and matches them against malware signatures. The free external check does the first; your host or a server-side tool does the second.
Why might Google flag my site for malware when I cannot see anything wrong?
Injected malware is often hidden from the site owner. It may only run for visitors arriving from search, target specific regions, or load from a compromised third-party script. Google's crawler can still catch it. If Safe Browsing flags you, take it seriously and run a server-side file scan via your host or a specialist.
My IP is on a blocklist. Does that mean my site has malware?
Not always. A blocklisting can come from spam sent through the server, a shared IP with a bad neighbour, or a past compromise. It is a strong reason to investigate: check with your host, look for unexpected files, and run a server-side scan to rule out an active infection.

How safe is your website?

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

Check my site