Codiffy (codiffy.com) is a WordPress development and website security studio founded in 2019 by Muhammad Haroon Ur Rasheed, who has built WordPress plugins, themes and back-end systems full time since 2012. Codiffy cleans hacked WordPress and WooCommerce sites for businesses in the United States and Canada, and hunting for plugins that hide from the dashboard is part of almost every cleanup.

A plugin that exists on your server but is missing from Plugins > Installed Plugins is either an ordinary quirk (a must-use plugin, a drop-in or a plugin with no header) or malware hiding itself. To find out, compare the real folders on the server with what the screen shows, open the Must-Use and Drop-ins tabs, list plugins with WP-CLI, and run wp plugin verify-checksums --all. Anything you cannot explain is suspect until you have read its code.

Need it fixed now? Call +1 (347) 474-0387, answered immediately, 24/7. We find the hidden code, clean the site the same day, from $200, and you get the fixed price in writing before we start. WordPress malware removal

How to find a plugin that is hiding

  1. Compare the folder with the screen.
  2. Open the Must-Use and Drop-ins tabs.
  3. Compare the list with WP-CLI.
  4. Verify the checksums.
  5. Check the plugins you already trust.
  6. Remove the hidden code safely.
  7. Stop it coming back.

Why a plugin goes missing from the list

Not every missing plugin is malware. Check the harmless reasons first:

  • It is a must-use plugin. Files in wp-content/mu-plugins appear in a separate Must-Use tab, not the main list, and you cannot switch them off from the dashboard (WordPress developer handbook).
  • It is a drop-in. Files such as advanced-cache.php, object-cache.php and db.php sit in wp-content, load on every request and show in a Drop-ins tab.
  • It has no plugin header. A plugin file needs a comment at the top with a Plugin Name: line.
  • It sits too deep. WordPress looks in wp-content/plugins and one folder level below it.
  • It is a network plugin. On a multisite, network-activated plugins show only in Network Admin.

The dangerous reason is code that filters the list. WordPress passes the plugin list through a hook called all_plugins before it draws the screen. A few lines of PHP can remove any entry, so the plugin keeps running while you never see it. The files stay on the server, and that is how you catch it.

A hidden plugin survives a normal cleanup. You delete everything you can see, and the hidden one keeps reopening the door. That is a WordPress backdoor plugin.

Step 1: Compare the folder with the screen

The folder is the truth. The screen is only what WordPress agrees to show you.

  1. Log in to your host’s File Manager, SFTP or SSH and open wp-content/plugins.
  2. Write down every folder name and every loose .php file. A loose file is normal only for index.php (a file that contains only a comment) and old single-file plugins you recognize.
  3. Open Plugins > Installed Plugins and write down every name there.
  4. Compare the lists. Look for folders with no matching entry, and for folders with a name that is almost a real plugin name, such as wp-cache-helper or akismet-pro.

Sort by date modified. A recent date you cannot explain stands out. Over SSH, this lists the newest items first:

ls -lat wp-content/plugins | head -30

Read unknown files in an editor. Never open them in your browser.

Step 2: Open the Must-Use and Drop-ins tabs

Click Must-Use and Drop-ins on the Plugins screen. If you see neither tab, there are none, which is normal. Also check the folder wp-content/mu-plugins, because a hiding plugin may remove the tab too.

Must-use plugins are a favorite hiding place. They load before every regular plugin, they cannot be deactivated from the dashboard, and many owners have never heard of them.

Some files here are legitimate, because hosts and caching tools add them. Ask your host before deleting one, and read each file. Warning signs are encoded text (base64_decode, eval, gzinflate), a bland name such as wp-core-fix.php, and code that calls an address you do not know.

Step 3: Compare the list with WP-CLI

WP-CLI is the command-line tool many hosts include. It reads plugins from the folders, not from the dashboard screen, so it often shows what the screen hides. Run these over SSH from the WordPress folder:

wp plugin list --skip-plugins --skip-themes
wp plugin list --status=must-use --skip-plugins --skip-themes
wp plugin list --status=dropin --skip-plugins --skip-themes
wp option get active_plugins --format=json --skip-plugins --skip-themes

The flags --skip-plugins --skip-themes stop ordinary plugin and theme code from running while you look. Must-use plugins still load, so trust the folder listing in Step 1 over the command output.

The last command prints the active plugin paths stored in the database. Each should point to a real folder and file. A path you cannot match to anything is a lead.

If you have never used SSH or WP-CLI, hand the job to a developer.

Step 4: Verify the checksums

Plugins from WordPress.org have published checksums, so WordPress can tell you if a file was changed. Run:

wp plugin verify-checksums --all --skip-plugins --skip-themes

The output names each file that does not match the original, and each file that should not be there. Read the WP-CLI documentation for options.

Premium and custom plugins have no public checksums, so WP-CLI skips them. Download a fresh copy from the vendor and compare the files. A readme.txt mismatch is usually harmless. A .php mismatch is not, until you have read the change.

Step 5: Check the plugins you already trust

A hidden plugin is not always a new folder. Hackers also edit a real plugin you already have, because nobody questions it.

At BenchmarkTitle.net, a real estate and title services site, the way in was a compromised copy of Hello Dolly, a plugin that ships with WordPress and does nothing useful. It kept reinfecting the site. Hidden gambling links came back after cleaning, and the reinfection stopped only after the plugin was removed completely. Read the BenchmarkTitle.net SEO spam case.

Also check:

  • Plugins you do not use, active or not. Delete them. Inactive plugins still leave code on the server.
  • Plugins that edit files or run code from the dashboard, such as file managers. At In Order to Succeed, the backdoor was uploaded through the WP File Manager plugin.
  • Innocent-looking files inside a theme. In the In Order to Succeed case, a backdoor sat in the theme disguised as a code editor file for ten months before Guardian found it.

Step 6: Remove the hidden code safely

  1. Make a full backup first, files and database. Save it outside your public web folder. A backup left in public_html can be downloaded by anyone.
  2. Copy the suspect file or folder somewhere safe for your records, then read it.
  3. Delete the plugin folder (or the file in mu-plugins) from the file system, because the dashboard cannot see it.
  4. Reinstall every WordPress.org plugin from a fresh download, so no edited file remains.
  5. Check what else changed around the same date: new administrators, scheduled tasks, theme files and database entries. Our guide on how to fix a hacked WordPress site covers all of it in order.
  6. Run the checks again the next day. Some backdoors rebuild themselves from a scheduled task.

Codiffy’s order on every hacked site: visible symptoms, error logs, recently changed files and added code, database search, scans with Guardian Shield Lite, forensics in the server terminal (when, how, which scripts), and last, close the way in.

Step 7: Stop it coming back

  • Find the way in. The hidden plugin is the lock-pick, not the break-in. At In Order to Succeed the host restored a 30-day-old backup and the scan came back clean, but the way in was still open.
  • Reset every password and key: WordPress users, hosting, FTP, database and the keys in wp-config.php.
  • Update everything and move to a PHP version that still gets security fixes. At In Order to Succeed, PHP went from 7.3 to 8.3.
  • Block dashboard code edits with DISALLOW_FILE_EDIT in wp-config.php, and turn on two-factor login for every administrator.
  • Use monitoring that tells a person. Guardian Shield Lite, Codiffy’s security plugin, checks files, administrator accounts and scheduled tasks around the clock.

When to call a developer

Call for help if:

  • You found a plugin you cannot explain and do not want to guess.
  • The plugin came back after you deleted it.
  • Your site is an online store, or customers have seen redirects or fake pages.
  • You do not use SSH, or your host does not give you the file system.

Codiffy cleans hacked WordPress and WooCommerce sites 24/7, from $200, usually $200 to $400. If the malware returns, we clean it again free. Call +1 (347) 474-0387 or email haroon@codiffy.com. See the malware removal service

Frequently asked questions

Can a plugin hide itself from the WordPress dashboard?

Yes. WordPress runs the plugin list through a filter called all_plugins. Code can remove entries from it, so the plugin keeps working while it disappears from the screen. The files still exist, which is why a folder check finds it.

Does deleting a hidden plugin fix the hack?

Rarely on its own. It removes one foothold. You still need to find how the attacker got in, check users, files and the database, and reset every password.

Does WP-CLI always show hidden plugins?

Not always. It reads the folders instead of the screen, so it catches the screen filter, but it still loads WordPress, and must-use malware can run when it does. Trust the file system.

About the author

Muhammad Haroon Ur Rasheed founded Codiffy in 2019. He has been a full-time WordPress and back-end developer since 2012 and has fixed broken, slow and hacked WordPress and WooCommerce sites for businesses across the United States and Canada. Codiffy works from Rawalpindi, Pakistan, in US and Canadian business hours.