The FBI says over 1,000 hacked WordPress sites hid ransomware lures in Google. You can open yours and see a normal page.

Details

Malware scanner

What is a false positive? (malware scanner results explained)

A false positive is when malware scanning flags safe code. Learn how to review flagged files and when not to delete them.

Last updated ( published )

The Malware Scanner checks folders and files on your site for malicious code. Safe code can sometimes look malicious. That is a false positive.

A file marked as suspicious does not always contain harmful code.

Sometimes the match is clear and points to a known attack. Other times it is legitimate programming, or malicious code trying to hide.

If you see warnings or suspect a hack, start here: open the flagged files and review them before you delete anything.

We try to limit wrong matches, but we would rather show a few safe files than miss something dangerous. A flagged file means you should look closer, not that you must delete it.

For example, the scanner once looked for a simple footprint: the word “ShellBOT” in a file.

False positive detecting a script in a plugin

False positive detecting a script in a plugin

The word was found, but on closer inspection it came from the Theme Check plugin. That plugin looks for common worms, including the same phrase our scanner looks for. The file was safe.

Do not delete a file only because the scanner marked it. Deleting the wrong file can break part of your site, or the whole site.

If you confirm a real infection, follow the malware cleanup checklist.

Common questions

What is a false positive? +

A false positive is when a security scanner flags something as dangerous that is actually safe. In malware scanning, normal code can look like malicious code, for example a plugin that contains the name of a known worm because it checks for it. A flagged file means look closer, not delete it.

What should I do with a false positive in the malware scanner? +

Open the flagged file and check where it comes from. If it belongs to a known plugin or theme and matches the official copy, it is safe. Do not delete files only because they were flagged, because that can break your site. If you are unsure, contact us and we will help you check.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image