WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Keith P. Graham v1.4

Threat Scan Plugin

This is a very simple threat scan that looks for things out of place in the content directory as well as the database.

Threat Scan Plugin

The facts

Rating
5★ from 1
Active installs
400+
Price
Free
Last updated
14 Jul 2024
Added
Apr 2010
Requires WP
3.0
Tested up to
WP 6.6.7
Downloads
29,553

Our analysis

AI-assisted

The Threat Scan Plugin is a WordPress tool designed to identify potential security threats within your site's content directory and database. It specifically searches for the use of the eval() function in PHP files, which can be a vector for malicious code, and checks for suspicious HTML or JavaScript in database fields where they do not belong.

This plugin is suitable for users who want to perform a basic security check on their WordPress site. It does not attempt to fix any issues found but provides information on potential threats that should be manually inspected. Users are advised to take further action if threats are detected, such as consulting a professional or implementing backups.

Best for: This plugin suits WordPress users looking for a basic security scanning tool.

What it does well

  • Identifies use of the eval() function in PHP files
  • Checks database for suspicious HTML and JavaScript
  • Simple and straightforward scanning process
  • Active development with feedback welcome

Where it falls short

  • Does not fix any issues found
  • Requires manual inspection of potential threats
  • Limited information on specific security measures

Verdict

The Threat Scan Plugin offers a simple way to identify potential security issues, but users will need to take further steps to address any problems it uncovers.

From the developer

Keith P. Graham's own description of Threat Scan Plugin, lightly tidied.

This is a very simple threat scan that looks for things out of place in the content directory as well as the database.

It searches PHP files for the occurrence of the eval() function, which, although a valuable part of PHP is also the door that hackers use in order to infect systems. The eval() function is avoided by many programmers unless there is a real need. It is sometimes used by hackers to hide their malicious code or to inject future threats into infected systems. If you find a theme or a plugin that uses the eval() function it is safer to delete it and ask the author to provide a new version that does not use this function.

When you scan your system you undoubtedly see the eval used in javascript because it is used in the javascript AJAX and JSON functionality. The appearance of eval in these cases does not mean that there is a possible threat. It just means that you should inspect the code to make sure that it is in a javascript section and not native PHP.

The plugin continues its scan by checking the database tables for javascript or html where it should not be found.

Normally, javascript is common in the post body, but if the script tag is found in a title or a text field where it does not belong it is probably because the script is hiding something, such as a hidden admin user, so that the normal administration pages do not show bad records. The scan looks for this and displays the table and record number where it believes there is something hinky.

The scan continues looking in the database for certain html in places where it does not belong. Recent threats have been putting html into fields in the options table so that users will be sent to malicious sites. The presence of html in options values is suspect and should be checked.

The options table will have things placed there by plugins so it is difficult to tell if scripts, iframes, and other html tags are a threat. They will be reported, but they should be checked before deleting the entries.

This plugin is just a simple scan and does not try to fix any problems. It will show things that may not be threats, but should be checked. If anything shows up you should try to repair the damage or hire someone to do it. I am not a security expert, but a programmer who discovered these types of things in a friend’s blog. After many hours of checking I was able to fix the problem, but a professional could have done it faster and easier, although they would have charged for it.

You probably do not have a backup to your blog, so if this scan shows you are clean; your next step is to install one of the plugins that does regular backups of your system. Next make sure you have the latest WordPress version.

If you think you have problems, the first thing to do is change your user id and password. Next make a backup of the infected system. Any repairs to WordPress might delete important data so you might lose posts, and the backup will help you recover missing posts.

The next step is to install the latest version of WordPress. The new versions usually have fixes for older threats.

You may want to export your WordPress posts, make a new clean installation of WordPress, and then import the old posts.

If this doesn’t work it is time to get a pro involved.

A clean scan does not mean you are safe. Please do Backups and keep your installation up to date!

Support

This plugin is in active development. All feedback is welcome.
If this plugin helps you, you might support my programming by buying
one of my books: https://linktr.ee/keithpgraham

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for directory sites.

TablePress

Embed beautiful, accessible, and interactive tables into your WordPress website’s posts and pages, without hav...

Free 600k+ installs 5★ (4,625)
File Manager Pro

Best WordPress file manager without FTP access. Edit code with built-in editor, upload files, download plugins...

Free 100k+ installs 4.9★ (152)
User Profile Builder

Powerful user profile plugin to create front-end user registration forms, login & user profile forms. Incl...

Free 40k+ installs 4.7★ (735)
Ultimate Member

Membership & community plugin with user profiles, registration & login, member directories, content re...

Free 200k+ installs 4.4★ (1,444)
Media Sync

Simple plugin to scan "uploads" directory and bring those files into Media Library.

Free 50k+ installs 4.7★ (86)
HireZoot

Create modern careers page, list jobs, and manage applications directly from your WordPress dashboard.

Free 30k+ installs 4.8★ (193)