Latest
Post an AI Image and Unfriend MeShe Asked How to Publish Her Bedtime Story. They Called Her a Thief.The AI Hype Cycle: Why the Crash Is Coming, and Who’s Causing ItSix Claude Prompts That Get You Unstuck, and Why the Order MattersDogpiled Over AI Art at the Renaissance FaireClaude Opus 5.5: What the New Release Means for WritersTrump’s AI Force Is a Fire Department With No Fire CodeWhat It Costs to Fix an AI-Written ManuscriptWhen Your Memoir Should Be a NovelThe Hugging Face AI Agent Attack: An Operations ReadingWhen Your Own Memoir Sounds Like BraggingWhat Belongs on a Copyright PageWhat an AI Detector Score on Your Manuscript Is WorthThe Clients Who Pay and VanishThe Quotation Marks That Get Authors SuedThe Work You Would Never Have StartedMonthly or Milestone: How Ghostwriting Gets BilledWhen a Client Thinks the Ghostwriter Used AIThe One-Hour Call Before I Quote Your BookBehind the Book: The Mysterious Island, Neb’s SideHow to Organize Decades of Memories Into a MemoirWhy Rotten Tomatoes Sucks: The Score Does Not Mean What You ThinkWhy Amazon KDP Sucks: They Terminated My Account OvernightIngramSpark: How I Publish Now and WhyWhy Fiverr Sucks for Ghostwriting: The Buyer’s SideWhy eBay Sucks Now: A Seller’s Numbers and a Buyer’s WarningThe Ghost Story TraditionThe Gothic TraditionThe Christmas Ghost Story TraditionBooks to Give a WriterResurrection as a Narrative StructureThe Beach Read ArgumentWhy It’s a Wonderful Life Failed on ReleaseWhat to Read in SpringWhat to Read in SummerWhat to Read in OctoberHow Warner Bros. Dismantled a $17 Billion Cartoon EmpireThe Imaginary Scarcity TrapThe Graph That Goes Vertical Is Usually Somebody Else’sSubstack Is Not Collapsing. The Promise Was.The Disasters That Happen to Ordinary PeopleToba: The Winter That Almost Ended UsJay Stifflemire: Nothing Ever Gets Written DownGeorgie-Ann Getton: I Forgot I Had Free WillAI Detection Cannot Be Evidence, and Publishing Is Using It That WayAI Consciousness Left Philosophy and Entered the LaboratoryThe Office Block Where the Bedrooms AreBlack Tuesday: The Web Ring War Nobody Outside It NoticedThe Web Got Fenced: What AI Search Costs Small SitesWhat the AI Visibility Industry Sells, and What the Evidence Says
The Writing King Your Ethical Ghostwriter. Your Story, Done Right.

My Own Site Got Hit: Anatomy of a WordPress Supply-Chain Attack

This entry is part 8 of 9 in the series WordPress for Writers
TL;DR: A WordPress plugin vendor sold their entire catalog, and the buyer poisoned it, pushing malware to hundreds of thousands of sites. Mine was one of them. My host quarantined the payload and gave me three days to fix it. Deleting the file took a minute. Finding out how it got there took two days of forensics, and the trail ended at a supply chain sold to an attacker. Here’s the whole incident, including the thirty-second clue that cracked it.

I’ve spent decades in cybersecurity, so I know how this sounds: my website got malware. Both my sites run WordPress on SiteGround, and one morning I got an email from their scanner. Malware detected, quarantined, fix this within three days or bad things happen. That’s nearly a direct quote. My heart fluttered. This site is my business.

The prescribed fix was easy. The quarantined file was sitting right there; delete it and the alert clears. I deleted it immediately. And then I didn’t stop, because deleting the payload without understanding the entry isn’t remediation, it’s housekeeping. If you don’t know how it got in, it’s coming back.

Two days of forensics

I spent the next two days investigating, working with an AI assistant as a research partner, a workflow I recommend to anyone doing solo incident response. The question was simple: what put that file there?

The answer turned out to be bigger than my site. A WordPress plugin vendor had sold their entire plugin catalog to a new owner, and the new owner poisoned it. Updates pushed through the legitimate update channel carried malware to every site running those plugins. Hundreds of thousands of installations received the infection through the front door, signed and delivered by the normal update mechanism. The episode is publicly documented, and reading the reports was an education: this wasn’t a break-in. The attackers bought the supply chain.

My plugins didn’t appear on the published list of the sold catalog. That proved nothing, and I treated it as proving nothing. Lists compiled during an active incident are incomplete by nature.

Why are supply chain attacks the scariest?

Understand the economics and you understand why this attack class is growing. Breaking into one website earns an attacker one website. Poisoning a plugin vendor earns the attacker every site running that vendor’s code, delivered automatically, through a channel every site trusts by design. In this incident, one acquisition converted into a foothold on hundreds of thousands of sites at the same time. No exploit development, no scanning for vulnerabilities, no defenses to defeat, because the update mechanism isn’t a defense, it’s a welcome mat.

The purchase angle deserves more fear than it gets. We train ourselves to imagine attackers as intruders, but nothing requires intrusion when ownership is for sale. Small software vendors sell their products constantly, for retirement, for consolidation, for a payday, and the transaction transfers something no one prices correctly: the standing, trusted access to every installation. The buyer of a plugin catalog buys the update keys to every site running it. Due diligence flows one direction in those sales, toward the buyer.

The users, whose sites are the actual asset changing hands, are never consulted and rarely notified.

Nobody broke in. The attackers bought the plugin vendor and pushed malware through the update channel every site trusts by design.
Share on X

What clue revealed the WordPress supply chain attack?

What cracked it was timestamps. One of my plugins had updated within the same thirty seconds as the infection landing on my server. Update completes, malware appears, thirty seconds apart. That’s not coincidence, that’s causation with a receipt. I proceeded on the basis that the plugin was poisoned, removed it, and moved to hardening.

How do you harden WordPress after a supply chain attack?

Because I’m a security guy, cleanup wasn’t the end. I went through the whole site the way I used to go through enterprise systems after an incident. I removed every plugin that wasn’t earning its place, on the reasoning that every plugin is a vendor relationship and every vendor relationship is supply-chain exposure. I hardened configurations across both sites.

Then I upgraded my host’s scanning to the premium tier, and the reason is worth understanding. The base scanner detects and notifies: you get the three-days-or-else email and you do the work. The premium tier quarantines automatically, no email, no three-day clock, plus a weekly scan report. I pay for the privilege of never getting that heart-flutter email again. Anything that drops malware into the site gets locked in a box before I ever hear about it. For a business that lives on its website, that’s some of the cheapest insurance available.

How do you audit your own supply chain?

After the incident I formalized what I now do routinely, and what I recommend to anyone whose business depends on a website. Inventory your plugins and ask of each one: who owns this today, and is that who owned it when I installed it? Ownership changes are usually announced quietly, in changelog entries and transferred support addresses, and they’re the single highest-value signal available. A plugin that changes hands isn’t necessarily compromised, but it’s just re-rolled the dice on the only question that matters. That’s whose code executes inside your site.

Then shrink the surface. Every plugin I removed during the hardening pass was a vendor relationship I no longer had to monitor. The plugin count on a typical WordPress site reflects accumulation, not need, and each entry on the list is a party you’ve granted code execution. Treat the list the way an enterprise treats vendor access, because that’s precisely what it is.

Finally, assume the front door will fail anyway and position something behind it: server-side malware scanning with automatic quarantine, file-change monitoring, and backups that predate any compromise. My quarantine email was the system working. The premium upgrade was me deciding the system should work without needing me in the loop.

The lesson that transfers

Every breach, every near-breach, every breach I merely read about, I treat the same way: as a lesson, followed by whatever work it takes to make that class of incident impossible for me. That habit came from enterprise incident response and it applies at every scale. The supply-chain angle is the part most site owners never consider. You audit your own security and forget that every plugin author, every theme shop, every vendor in your stack can be bought, and their access to your site transfers with the sale.

Trust is transitive, and attackers know it.

For more from this series, see The Cybersecurity Hub: breaches, audits, and hard-won security lessons from four decades in the trenches.

Frequently Asked Questions

What is a WordPress supply-chain attack?
A WordPress supply-chain attack happens when someone compromises a plugin or theme at its source, so malware rides in through the normal update channel that every site trusts by design. That’s what happened to me: a plugin vendor sold their entire catalog, the new owner poisoned it, and updates pushed through the legitimate update mechanism carried malware to hundreds of thousands of installations, mine included. Nobody broke into my site through a vulnerability or a scan for weaknesses. The attacker simply bought the vendor and pushed the payload through the front door, the one channel I never thought to guard against. My host’s scanner caught the file and quarantined it, giving me three days to fix things before they got worse.
How do you trace where WordPress malware came from?
Correlate timestamps. Compare the infection time against plugin and theme update times, file modification dates, and access logs. In my case a plugin update landed within thirty seconds of the malware appearing. That identified the vector.
Is deleting the malware file enough to fix a hacked site?
No. Deleting the payload removes the symptom. Without identifying the entry vector, the site remains open to reinfection. Real remediation means finding the vector, closing it, and hardening the site against the same class of attack.

About the Author
Richard Lowe, professional ghostwriter

Richard Lowe is a professional ghostwriter and author with 113+ books authored and 54+ ghostwritten. Before writing full time he spent 33 years in enterprise technology, including 20 years as Director of Computer Operations and Technical Services at Trader Joe's. He writes nonfiction, fiction and memoir, and works with executives and experts on books that build authority.

More about Richard Lowe →

Disclaimer

The views and opinions expressed in this blog post are solely those of Richard Lowe and are based on personal experience and research. This content is for informational purposes only and should not be construed as professional legal, financial, accounting, or business advice. Always consult with qualified professionals before making important business or legal decisions. Richard Lowe is not a lawyer, accountant, or licensed professional advisor, and this content does not establish any professional relationship.