Skip to content
Sign in

ScanForge Database Security

Database scanner for WordPress: finds and cleans malware in posts, options and meta, and lists spam so you can review and delete it.

Not scanned yet WordPress plugin 90 installs

Install in

No install steps yet

Follow the steps on the source page.

ScanForge Database Security is a WordPress database scanner. It finds malware and spam hidden in your posts, options, post meta, user meta and comments, cleans the malware, and lets you review the spam and delete only what you choose.

Use it as a malware cleaner and a spam cleaner for your database: it handles malware removal for infected rows, and gives you a separate page to review and remove spam.

Many hacks live only in the database: a redirect script inside an option, a spam link inside an old post, an obfuscated payload in a custom field. A file scanner cannot see these. ScanForge looks at the database tables directly, and it runs entirely on your server with no external service.

Who is this plugin for?

  • Site owners whose file scanner says “clean” but whose site still redirects visitors or shows spam
  • Freelancers and agencies cleaning up hacked client sites
  • Hosting support staff who need a quick database check after a hack
  • Anyone who wants to check the database after removing a nulled plugin or theme

What does it work with?

  • WordPress 5.0 or newer and PHP 7.4 or newer
  • The five tables attackers use most: wp_posts, wp_options, wp_postmeta, wp_usermeta and wp_comments
  • Custom table prefixes, because it uses the WordPress database object
  • Data stored by other plugins in those tables. It is designed to avoid false alarms on plugins such as Wordfence, Elementor and Gravity Forms
  • It scans the database only. To audit plugin and theme files, use our separate plugin ScanForge File & Theme Security

Two pages, two jobs

Malware Scanner finds known malware signatures and cleans them.

  • Traffic hijacking scripts and nulled plugin backdoors
  • Obfuscated PHP injections that use encoded or compressed payloads
  • Dynamic script injections and tracking cookie injections
  • Known malware loader functions
  • Shell command execution attempts and known web shell signatures
  • Clean one row or all threats at once
  • Download a database backup (.sql) before cleaning
  • Export the results as a CSV report

Spam Detection lists spam content so you can decide what to do with it.

  • Gambling and casino spam
  • Pharmaceutical spam
  • Adult spam
  • Cryptocurrency spam
  • Financial and loan spam
  • SEO and backlink spam
  • Nothing is deleted automatically. Delete one item, or tick several and use Delete Selected
  • Posts go to the Trash so you can restore them. Comments, post meta, user meta and options are deleted permanently
  • Core WordPress options, such as the site URL, can never be deleted from this page
  • Each item is checked again just before deletion, and skipped if it no longer matches

How to use it

  1. Go to ScanForge Database Security > Malware Scanner
  2. Click Download Backup to save a copy of your database
  3. Click Scan Database and review the threats found
  4. Click Clean All Threats, or clean rows one at a time
  5. Scan again to confirm the database is clean
  6. Open ScanForge Database Security > Spam Detection, click Scan for Spam, and delete only the items you want removed

Want to scan files too?

ScanForge Database Security checks the database only. Our separate plugin, ScanForge File & Theme Security, audits your plugin and theme files. It compares them with the official WordPress.org checksums and looks for web shells and modified code.

Each plugin works fully on its own, and you do not need both. They are only connected by links. A card at the bottom of the Malware Scanner and Spam Detection pages shows whether the file scanner is installed:

  • Not installed: click Install & Activate to download it from WordPress.org and turn it on
  • Installed but off: click Activate
  • Already active: the card turns green, says “Full stack covered”, and shows an Open File Scanner button that takes you straight to it

Nothing is installed unless an administrator clicks the button.

Important Notice

This plugin helps clean database infections but it does NOT prevent reinfection if the source of the malware (such as nulled or pirated plugins or themes) is still installed. Remove nulled software and keep everything updated to fix the cause.

Spam detection is based on phrases, so a genuine post that uses one of them (for example an article about online casinos) can be listed. Always review each result and take a backup first.

External Services

The scanner itself runs entirely on your server and sends no data anywhere.

The only external connection is optional and happens when you click Install & Activate on the file scanner card:

  • Service: the WordPress.org plugin directory (api.wordpress.org and downloads.wordpress.org)
  • Purpose: to find and download the ScanForge File & Theme Security plugin
  • Data sent: the plugin slug, using the standard WordPress plugin installer. No personal data, visitor data, site content or credentials are sent
  • Privacy policy: https://wordpress.org/about/privacy/

Written by Joobi from the project's own listing. See the source page

database scannerdatabase securitymalware Cleanermalware removalspam cleaner
21 Nov 2026
Version 1.1.0 released. Not scanned yet.

1.0.0

  • Initial release
  • Scan wp_posts, wp_options, wp_postmeta, wp_usermeta, wp_comments
  • Detect 15+ malware patterns
  • Clean individual rows or all threats
  • Export CSV report

1.0.1

Added compatibility with PHP 7.0

1.0.2

Added single-table scanning functionality
Added “Scan All Tables” option for scanning the entire database
Improved scan performance and usability

1.0.3

  • Added Wordfence compatibility.
  • Added Elementor compatibility.
  • Added Gravity Forms compatibility.
  • Added Slide Security exclusions.
  • Fixed minor bugs and improved overall stability.

1.0.4

Improved scan performance and usability.

1.0.5

  • Added gambling, casino, betting, pharmaceutical, adult, cryptocurrency, financial, and SEO spam injection detection.
  • Added detection for common gambling and casino spam phrases, including online casino, sports betting, betting bonuses, free spins, and related content.
  • Improved detection of common pharmaceutical, adult, cryptocurrency, financial, and backlink/SEO spam injections.
  • Improved spam detection coverage while using targeted phrases to help reduce false positives.
  • Improved scan performance and usability.

1.0.6

  • New “Spam Detection” submenu page — spam is no longer mixed into the Malware Scanner results.
  • Gambling, pharmaceutical, adult, cryptocurrency, loan and SEO/backlink spam phrases are scanned only on the new page.
  • Nothing is removed automatically: delete a single item, or tick several and use “Delete Selected”.
  • Posts are moved to Trash (restorable); comments, post/user meta and options are deleted permanently. Core WordPress options are protected.
  • Each row is re-checked just before deletion and skipped if it no longer matches a spam phrase.
  • Fixed a duplicate spam phrase entry and a stale-cache issue after cleaning a row.

1.0.7

  • Spam Detection: deleted items now disappear from the results table straight away, and the “Spam Items Found” count shows how many are still left.
  • Spam Detection: fixed a bug where the last deleted row could stay on screen after deleting.
  • Spam Detection: the results table now fits the screen width, and long descriptions wrap over several lines instead of being cut off.
  • Malware signatures, spam phrases and cleaner rules now live in data/patterns.json instead of being written out in PHP code. This makes the detection list easier to maintain and update.
  • The scanner now refuses to run, and says why, if the signature file is missing or damaged, so a broken install can never report a falsely clean database.
  • Scan result labels no longer spell out function names and domains.
  • Removed set_time_limit() calls and fixed a WordPress coding-standards error in the scanner database query.
  • The plugin scripts and styles now reload automatically after an update, so an old cached copy is never used.
  • Readme: shorter short description, plus new Spam Detection and signature file documentation.

1.0.8

  • Added a “Want to scan files too?” card to the Malware Scanner and Spam Detection pages for our separate plugin, ScanForge File & Theme Security, which audits plugin and theme files. Each plugin works on its own, and this one scans the database only.
  • The card shows the plugin’s status: Install & Activate if it is missing, Activate if it is installed, and a green “Active” card with an Open File Scanner button once it is on.
  • Installing happens only when you click the button, and the plugin is downloaded from WordPress.org.
  • Readme: explains what each plugin covers, with a new description section, FAQ answers and an External Services note.

1.0.9

  • Fixed “Request failed” and timeout errors when scanning large databases. Scans now run in small batches of a few hundred rows, so no single request can run for long.
  • Faster scanning: all phrases are checked in one query per batch instead of one full-table search per phrase.
  • The scan shows a progress percentage for each table.
  • Clearer error messages: an expired session, an unexpected server response, a timeout and a server error now each say what happened.
  • A request that timed out is no longer sent again, which avoids piling extra load on a slow server.
  • Fixed a misleading “Backup failed” message that could appear when a scan failed.
  • Spam Detection now shows the phrase that matched, highlighted in the surrounding text, instead of only the first characters of a long value such as page-builder data.
  • Spam phrases must now match as whole words, so a phrase inside a longer word (for example “bet now” in “alphabet now”) is no longer reported. This removes many false positives.
  • Deleting from the Spam Detection page uses the same whole-word rule in its safety re-check.
  • Malware Scanner results also show the text around the match.

1.1.0

  • New: Ignore button on Spam Detection. Hide a false alarm from future scans, and restore it from the new “Ignored items” list.
  • New: each spam result now shows where it lives, such as the post title or comment author, with Edit and View links.
  • New: Export CSV on Spam Detection. Values that start with =, +, – or @ are made safe for spreadsheets.
  • New: a short, dismissible review request after a successful clean or delete. It appears once per administrator, never as an admin-wide notice.
29 Jun 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)