Critical security advisoryCriticalFlagged by our vulnerability database: PHP2Shell: two critical PHP flaws affect most WordPress hosting. See if your site is affectedFlagged by our vulnerability database: PHP2Shell, two critical PHP flaws. DetailsFlagged: PHP2Shell. Check your site
HuttenlocherTechnologies

Security · 5 min read · Updated October 25, 2026

The Japanese keyword hack and the pharma hack

Short answer: Two of the most common hacks don’t break your site at all. They add thousands of spam pages in Japanese, or about pills and replica goods, that only Google sees. You find out when your search results fill with junk.

How they work

Google documents both and has cleanup guides for each. They’re usually the result of an out-of-date plugin, theme or platform.

  • The Japanese keyword hack generates pages of auto-written Japanese text with links to counterfeit stores, on new addresses inside your site. Attackers often add themselves as an owner in Search Console and submit their own sitemap.
  • The pharma or cloaked keywords hack injects pages or links about pills, replica goods or gambling, often shown only to search engine crawlers (cloaking), so the site looks normal to you.

How to find them

  1. Search for themsite:yourbusiness.com japan, or site:yourbusiness.com with words like viagra, cialis, replica, casino.
  2. Check Search ConsoleUsers and permissions for owners you didn’t add, Sitemaps for ones you didn’t submit, the Pages report for thousands of unfamiliar addresses, and Security issues.
  3. See what Google seesUse URL Inspection on a spam address to view it as Googlebot.

How to clean them

Spam pages can linger in search results for weeks after cleanup while Google recrawls. Submitting your real sitemap helps.

  • Remove unknown Search Console owners and their sitemaps first.
  • Find and remove the injected code and files, including the backdoor; check .htaccess, theme files and the database.
  • Update everything and change every password.
  • Make the spam addresses return a 404 or 410, so Google drops them.
  • Request a review in Search Console if there’s a security warning.

Written by Nikita Huttenlocher, founder and lead engineer at Huttenlocher Technologies, a web design and software company in Myrtle Beach, South Carolina.

Questions

Will this hurt my rankings?

It can, badly, while it’s live: Google may show a hacked warning and the spam dilutes your site. Rankings usually recover after a proper cleanup.

Can you clean it?

Yes. Hacked website repair is part of our incident response, including the Search Console cleanup.

Start a project

Tell us what you're building.

A website, a booking system, an app, or the thing you've been running out of a spreadsheet for three years. A few lines is plenty.

01The person who'll build it writes back
02A planning call, then a written plan with the price and the date
03A preview on your phone while it's being built
04Launch night handled: redirects, email, Google
843-331-6339

Not ready to talk yet? Run the free website check and see what Google sees.

What do you need?

No newsletter, no sales sequence. Just a reply.