Website Security Case Study: How Routine Maintenance Found and Removed a Hidden Spam Plugin

Most website problems don’t announce themselves. There’s no error message, no warning on the home page and no phone call from Google. The site loads, the contact form works and everything looks fine. That’s exactly why website security checks are part of routine maintenance, not something to do only after a site breaks.

This case study walks through a real security issue we found and fixed during a routine SEO and maintenance review of a WordPress site we look after. It shows what we found, how we cleaned it up, and why regular maintenance matters for every business website in South Africa.

What We Found During a Routine Review

We were reviewing the site’s Google Search Console data to see which pages were getting impressions and clicks. Among the normal pages, a few odd web addresses stood out, such as /product/category/… and /product-similar-image/…. The site doesn’t sell products, so those pages shouldn’t have existed.

We traced them to a plugin called “ItemPress”. It wasn’t from the official WordPress plugin directory, and when we checked it we found that:

  • it was connected to a remote server overseas;
  • it had hidden endpoints that allowed that server to push updates and new content to the website;
  • it was designed to create spam product pages on the site’s domain so they would show up in Google.

This is a common type of attack called SEO spam. Instead of defacing a website, attackers quietly use its good name to get their own pages into Google. The owner usually only finds out when something unusual shows up in Search Console, or when Google starts warning visitors.

Why This Kind of Problem Matters

Even if a visitor never sees the spam pages, a hidden plugin like this can cause real damage to a business:

  • Google rankings: spam pages on your domain can hurt how Google sees your whole website.
  • Security warnings: if Google flags a site as hacked, visitors may see a warning before they can open it.
  • Remote access: a plugin that takes instructions from an outside server can be used to add more harmful code at any time.
  • Customer trust: a business website that sends people to spam pages, or shows a security warning, loses enquiries.

How We Cleaned It Up

We dealt with it the same day, following the same process we use for our website maintenance and hacked-site cleanup clients:

  1. Switched the plugin off immediately, cutting the connection to the remote server, then confirmed its hidden endpoints no longer responded.
  2. Deleted the plugin from the website completely.
  3. Checked user accounts to make sure no hidden administrator accounts had been added.
  4. Changed every password: WordPress, hosting and FTP. We also logged out all other sessions so nobody could stay logged in.
  5. Confirmed two-factor authentication was active on the hosting control panel.
  6. Ran a full malware scan with Wordfence to check for anything else left behind.
  7. Checked Google Search Console for security warnings or manual actions.

The Result: A Clean, Secure Website

The malware scan checked 15,033 files, every plugin and theme, and 1,033 web addresses, and found no malware and no suspicious files. The only items flagged were two routine plugin updates.

Wordfence malware scan showing no malware after WordPress security cleanup
Wordfence scan after the cleanup: no malware found.

Google Search Console confirmed there were no security issues on the site, so visitors were never shown a warning. The spam web addresses now return “page not found”, so Google will drop them from its results over the coming weeks.

Google Search Console showing no security issues detected
Google Search Console: no security issues detected.

How Do Unwanted Plugins End Up on a Website?

It isn’t always possible to know exactly how a plugin got onto a site, but the most common ways in are:

  • passwords that are reused, weak or were leaked in another data breach;
  • old FTP or hosting logins that are no longer needed but were never removed;
  • “free” copies of paid plugins and themes downloaded from unofficial websites;
  • outdated plugins with known security holes.

That’s why a proper cleanup doesn’t stop at deleting the plugin. Changing every password and checking for anything else left behind closes the door it came in through.

Warning Signs Your Website May Have a Security Problem

  • Strange pages or products in Google that you didn’t create (try searching site:yourdomain.co.za)
  • Plugins, users or files you don’t recognise
  • Your website suddenly redirecting to other sites
  • A sudden drop in Google rankings or traffic
  • Emails from your domain landing in spam, or your host warning you about your account
  • A browser or Google warning that the site may be hacked

Why Regular Website Maintenance Matters

This issue was caught because someone was actively looking at the website’s data and checking what was installed. That’s what website maintenance is really about: not just installing updates, but regularly checking that your website is doing only what it should.

Our website maintenance plans start from R299 per month and include:

  • software, plugin and theme updates
  • security and uptime monitoring
  • daily backups, so a problem can be rolled back quickly
  • a monthly report, so you always know what’s been checked and done

We maintain WordPress websites, AI-built websites and custom-coded websites. If your site has already been hacked, we offer emergency hacked-site cleanup at R795 per hour.

Worried something is hiding on your website?

Send us your website address and we’ll check it for unknown plugins, spam pages and security issues, and tell you what we find.

WhatsApp us for a website check

Scroll to Top
Chat on WhatsApp