UnhackMySite-Checker

Our site checker

We look for WordPress sites that show visible signs of a hack, such as spam links shown only to search engines, visitors being sent to another site, or a listing on a public malware list. When we find one, we tell the owner what we saw. The checker is the small program that does the looking.

If you’ve seen it in your logs, this page says what it does and how to stop it.

User-Agent
UnhackMySite-Checker/1.0 (+https://unhackmysite.net/checker)
What it does

A short look, not a scan

  • It reads public pages only

    Usually just the homepage, the page anyone sees when they type in your address. It never asks for anything under /wp-admin, /wp-login.php or /xmlrpc.php, and never asks a site to list its users.

  • A few requests at most

    At most four requests on each visit: up to three pages, and the sitemap your robots.txt points to when it names an unusual one. They are at least two seconds apart, each given up after ten seconds and never retried. It reads robots.txt first and follows it for everything beyond the homepage.

  • It never logs in or changes anything

    It only reads. It doesn’t try passwords, fill in forms, upload files or test for weaknesses, and it never runs the page’s scripts.

  • It says who it is

    Its requests identify themselves as our checker, with a link to this page. The exceptions are the two requests that compare what a page shows: one presents itself as a search engine’s crawler and one as an ordinary web browser, because the most common hacks show spam only to search engines, or send only people somewhere else.

Opt out

How to opt your site out

Either way works, and either way it lasts.

Add two lines to robots.txt

The checker reads your robots.txt before it asks for any page. When it finds these lines, it leaves the whole site alone, homepage included:

User-agent: UnhackMySite-Checker
Disallow: /

Search engines and everyone else are unaffected.

Or email us

Write to hello@unhackmysite.net from an address at your site’s domain and name the site. We add it to our opt-out list, and the checker never asks for a page from it again.

What we keep

Only what the check saw

For a site that shows signs of a hack, we keep its address, what we saw and when, and copies of the pages we were shown, as evidence for the owner. The copies are deleted after 60 days. We don’t build profiles of people. Our privacy policy has the rest.