This is a very simple threat scan that looks for things out of place in the content directory as well as the database.
Prioritized issue groups from the latest Plugin Check scan
Security
28
7 issue groups
Maintainability
16
6 issue groups
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '", value: $pline<br><br>"'.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Use placeholders and $wpdb->prepare(); found $sql
Sample message
Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 182.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Threat Scan Plugin" - contains the restricted term "plugin" which cannot be used at all in your plugin name.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_POST['kpg_threat_opt']
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['kpg_threat_opt']. Check that the array index exists before using it.
Sample message
$_POST['kpg_threat_opt'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Tested up to: 6.6 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Potential connections found in static code analysis.
Outbound calls
2
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v1.4
41
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 41 | 46 | 29 | 17 | v1.4 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.