B2 Analytics Security & Risk Analysis

wordpress.org/plugins/b2-analytics

B2 Ad Block Detection informs you of the number of browser hits on your WordPress site that have ad blockers

10 active installs v1.0.5 PHP + WP 4.1+ Updated Jun 25, 2024
ad-blockingad-blockersadblockersadsadvertising
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is B2 Analytics Safe to Use in 2026?

Generally Safe

Score 92/100

B2 Analytics has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The b2-analytics plugin v1.0.5 exhibits a generally strong security posture based on the provided static analysis. The absence of dangerous functions, raw SQL queries, file operations, and the consistent use of prepared statements and output escaping are significant strengths. Furthermore, the lack of known CVEs and a clear vulnerability history suggests a well-maintained codebase. However, there are notable areas for improvement. The plugin makes external HTTP requests without clear indications of secure handling or authentication, which could be a potential vector for certain attacks if the endpoints are not properly secured. Additionally, the complete lack of nonce and capability checks across all identified entry points is a significant concern. While the attack surface is reported as zero, this could be due to the analysis not identifying any traditional entry points, or it implies that any potential entry points would be entirely unprotected, leaving the plugin vulnerable to unauthorized actions if any were discovered or introduced.

Overall, the plugin has a good foundation with its secure coding practices for SQL and output handling. The primary weaknesses lie in the lack of explicit authorization and validation mechanisms (nonces and capabilities) for any potential interactions, and the external HTTP requests that could introduce risks if not carefully managed. The absence of historical vulnerabilities is positive, but the identified code signals necessitate a cautious approach. The plugin's security could be significantly enhanced by implementing robust authorization checks and securing its external communication channels.

Key Concerns

  • No nonce checks found
  • No capability checks found
  • External HTTP requests without explicit checks
Vulnerabilities
None known

B2 Analytics Security Vulnerabilities

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

B2 Analytics Code Analysis

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

Output Escaping

100% escaped20 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
plugin_settings_page_content (includes\class-b2-analytics.php:111)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

B2 Analytics Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actionadmin_menuincludes\class-b2-analytics.php:82
actionadmin_initincludes\class-b2-analytics.php:83
actionwp_enqueue_scriptsincludes\class-b2-analytics.php:113
actionadmin_enqueue_scriptsincludes\class-b2-analytics.php:114
actionplugins_loadedincludes\class-b2-analytics.php:993
actionadmin_enqueue_scriptsincludes\class-b2-analytics.php:1009
actionadmin_enqueue_scriptsincludes\class-b2-analytics.php:1010
actionwp_enqueue_scriptsincludes\class-b2-analytics.php:1025
actionwp_enqueue_scriptsincludes\class-b2-analytics.php:1026
actionwp_footerincludes\class-b2-analytics.php:1028
Maintenance & Trust

B2 Analytics Maintenance & Trust

Maintenance Signals

WordPress version tested6.3.8
Last updatedJun 25, 2024
PHP min version
Downloads949

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

B2 Analytics Developer Profile

b2

1 plugin · 10 total installs

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

How We Detect B2 Analytics

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/b2-analytics/css/bootstrap/bootstrap.min.css/wp-content/plugins/b2-analytics/css/app.css/wp-content/plugins/b2-analytics/js/apexcharts.min.js/wp-content/plugins/b2-analytics/js/popper.min.js/wp-content/plugins/b2-analytics/js/bootstrap.min.js
Script Paths
/wp-content/plugins/b2-analytics/js/apexcharts.min.js/wp-content/plugins/b2-analytics/js/popper.min.js/wp-content/plugins/b2-analytics/js/bootstrap.min.js
Version Parameters
b2-analytics/css/bootstrap/bootstrap.min.css?ver=b2-analytics/css/app.css?ver=b2-analytics/js/apexcharts.min.js?ver=b2-analytics/js/popper.min.js?ver=b2-analytics/js/bootstrap.min.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about B2 Analytics