Mechanic Visitor Counter Security & Risk Analysis

wordpress.org/plugins/mechanic-visitor-counter

Mechanic Visitor Counter is a widgets which will display the Visitor counter and traffic statistics on WordPress. Some of the features offered include …

8K active installs v3.3.3 PHP + WP 4.5.3+ Updated Jan 2, 2021
blog-statstraffic-countertraffic-statisticsvisitor-countervisitor-traffic
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Mechanic Visitor Counter Safe to Use in 2026?

Generally Safe

Score 85/100

Mechanic Visitor Counter has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The "mechanic-visitor-counter" plugin version 3.3.3 exhibits a mixed security posture. On the positive side, it has a very small attack surface with no AJAX handlers, REST API routes, or cron events that lack authentication. The plugin also avoids dangerous functions, file operations, and external HTTP requests, which are common vectors for exploitation. Furthermore, there is no known vulnerability history, suggesting a history of responsible development or minimal scrutiny, both of which are beneficial for security.

However, significant concerns arise from the static analysis results. The most critical finding is that 100% of output is not properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any user-provided data that is displayed by the plugin is susceptible to injection. Additionally, while the plugin uses capability checks, it lacks nonce checks entirely, which, combined with the unescaped output, presents a substantial risk if any user input is processed without proper validation and authorization. The taint analysis, though limited, did identify a flow with unsanitized paths, further highlighting potential vulnerabilities.

In conclusion, while the plugin's small attack surface and lack of known vulnerabilities are commendable, the complete absence of output escaping and nonce checks creates a critical security flaw. The plugin is highly vulnerable to XSS attacks. The presence of a taint flow with unsanitized paths further supports this. Developers should prioritize addressing the unescaped output immediately. The plugin's strengths lie in its limited external interactions and attack vectors, but its weaknesses in input validation and output sanitization are severe.

Key Concerns

  • 100% of outputs not properly escaped
  • No nonce checks found
  • Flow with unsanitized paths
  • 41% SQL queries not using prepared statements
Vulnerabilities
None known

Mechanic Visitor Counter Security Vulnerabilities

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

Mechanic Visitor Counter Code Analysis

Dangerous Functions
0
Raw SQL Queries
10
7 prepared
Unescaped Output
107
0 escaped
Nonce Checks
0
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

41% prepared17 total queries

Output Escaping

0% escaped107 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
widget (wp-statsmechanic.php:130)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Mechanic Visitor Counter Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[mechanic_visitor] wp-statsmechanic.php:313
WordPress Hooks 4
actionplugins_loadedwp-statsmechanic.php:13
actionwidgets_initwp-statsmechanic.php:286
actionadmin_menuwp-statsmechanic.php:318
actionadmin_noticeswp-statsmechanic.php:506
Maintenance & Trust

Mechanic Visitor Counter Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedJan 2, 2021
PHP min version
Downloads223K

Community Trust

Rating72/100
Number of ratings15
Active installs8K
Developer Profile

Mechanic Visitor Counter Developer Profile

Aditya Subawa

4 plugins · 8K total installs

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

How We Detect Mechanic Visitor Counter

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/mechanic-visitor-counter/css/style.css/wp-content/plugins/mechanic-visitor-counter/js/frontend.js
Script Paths
/wp-content/plugins/mechanic-visitor-counter/js/frontend.js
Version Parameters
mechanic-visitor-counter/css/style.css?ver=mechanic-visitor-counter/js/frontend.js?ver=

HTML / DOM Fingerprints

Data Attributes
id="mechanic-visitor-counter-widget-widget"for="mechanic-visitor-counter-widget-widget-title"name="mechanic-visitor-counter-widget-widget-title"id="mechanic-visitor-counter-widget-widget-font_color"name="mechanic-visitor-counter-widget-widget-font_color"id="mechanic-visitor-counter-widget-widget-count_start"+19 more
JS Globals
window.BMW_STATS_MECHANIC_LOCALIZE
FAQ

Frequently Asked Questions about Mechanic Visitor Counter