Plugin Directory Stats Security & Risk Analysis

wordpress.org/plugins/plugin-directory-stats

This plugin gets plugin's download count and other stats from WordPress.ORG and allows you to show them on your blog using shortcode.

10 active installs v0.1.4 PHP + WP 2.8+ Updated May 15, 2012
directorydownloadstat
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Plugin Directory Stats Safe to Use in 2026?

Generally Safe

Score 85/100

Plugin Directory Stats has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The plugin "plugin-directory-stats" v0.1.4 exhibits a generally good security posture based on the provided static analysis. The absence of any known CVEs, critical or high severity taint flows, dangerous functions, or file operations is a strong indicator of secure development practices. The high percentage of SQL queries using prepared statements and the presence of nonce and capability checks further bolster this assessment.

However, there are areas for improvement. A significant portion of output is not properly escaped (43%), which could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is present in these outputs. While the attack surface is composed entirely of shortcodes, and there are no unprotected entry points, the sheer number of shortcodes (20) warrants careful attention to ensure each is implemented securely, especially regarding input sanitization. The single external HTTP request should also be scrutinized for potential vulnerabilities related to external service interactions.

Overall, the plugin is in a relatively strong security position, with no immediate critical threats identified. The main focus for improvement should be on ensuring all output is properly escaped and rigorously auditing the security of all shortcode implementations to mitigate potential XSS risks.

Key Concerns

  • Unescaped output percentage is high
  • External HTTP request needs scrutiny
Vulnerabilities
None known

Plugin Directory Stats Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Plugin Directory Stats Code Analysis

Dangerous Functions
0
Raw SQL Queries
3
20 prepared
Unescaped Output
13
17 escaped
Nonce Checks
2
Capability Checks
1
File Operations
0
External Requests
1
Bundled Libraries
0

SQL Query Safety

87% prepared23 total queries

Output Escaping

57% escaped30 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<plugin-directory-stats-admin> (plugin-directory-stats-admin.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Plugin Directory Stats Attack Surface

Entry Points20
Unprotected0

Shortcodes 20

[plugin_name] plugin-directory-stats.php:53
[plugin_version] plugin-directory-stats.php:54
[plugin_last_updated] plugin-directory-stats.php:55
[plugin_requires] plugin-directory-stats.php:56
[plugin_tested] plugin-directory-stats.php:57
[plugin_dl] plugin-directory-stats.php:58
[plugin_rating] plugin-directory-stats.php:59
[plugin_num_ratings] plugin-directory-stats.php:60
[plugin_download_link] plugin-directory-stats.php:61
[plugin_author] plugin-directory-stats.php:64
[plugin_site] plugin-directory-stats.php:65
[plugin_hp] plugin-directory-stats.php:66
[plugin_added] plugin-directory-stats.php:67
[plugin_compatibility] plugin-directory-stats.php:68
[plugin_today] plugin-directory-stats.php:72
[plugin_yesterday] plugin-directory-stats.php:73
[plugin_last_week] plugin-directory-stats.php:74
[plugin_stats] plugin-directory-stats.php:77
[plugin_list_all] plugin-directory-stats.php:78
[plugin_list] plugin-directory-stats.php:79
WordPress Hooks 6
actionin_admin_footerplugin-directory-stats-admin.php:14
actionplugins_loadedplugin-directory-stats.php:50
filterwidget_textplugin-directory-stats.php:82
actionadmin_menuplugin-directory-stats.php:85
filterplugin_action_linksplugin-directory-stats.php:86
actionadmin_noticesplugin-directory-stats.php:153
Maintenance & Trust

Plugin Directory Stats Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedMay 15, 2012
PHP min version
Downloads5K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Plugin Directory Stats Developer Profile

redcocker

7 plugins · 660 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Plugin Directory Stats

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/plugin-directory-stats/rc-admin-js.js
Script Paths
/wp-content/plugins/plugin-directory-stats/rc-admin-js.js
Version Parameters
plugin-directory-stats/rc-admin-js.js?ver=1.3

HTML / DOM Fingerprints

HTML Comments
Copyright 2011 M. SumitomoThis program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or+9 more
Shortcode Output
[plugin_name][plugin_version][plugin_last_updated][plugin_requires]
FAQ

Frequently Asked Questions about Plugin Directory Stats