WP Dark Mode Block Security & Risk Analysis

wordpress.org/plugins/wp-dark-mode-block

Add a switch button to toggle between dark mode and normal mode with the Dark Mode Switch block.

10 active installs v1.0.0 PHP 5.6+ WP 5.0+ Updated Aug 21, 2020
blockblocksdarkdark-modenight-mode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Dark Mode Block Safe to Use in 2026?

Generally Safe

Score 85/100

WP Dark Mode Block 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

Based on the provided static analysis and vulnerability history, the 'wp-dark-mode-block' plugin v1.0.0 exhibits a strong security posture. The absence of any identified dangerous functions, SQL queries without prepared statements, unescaped output, file operations, external HTTP requests, or taint flows with unsanitized paths is highly positive. Furthermore, the lack of any recorded vulnerabilities, critical or otherwise, suggests a commitment to secure coding practices or a history of rapid patching. The complete absence of an attack surface, including unprotected AJAX handlers, REST API routes, shortcodes, and cron events, is a significant strength, as it minimizes the potential entry points for attackers. While the lack of explicit capability checks and nonce checks on entry points might raise a theoretical concern in other contexts, given the zero identified entry points, this appears to be a non-issue for this specific version. The plugin demonstrates excellent adherence to fundamental WordPress security principles.

Vulnerabilities
None known

WP Dark Mode Block Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

WP Dark Mode Block Release Timeline

No version history available.
Code Analysis
Analyzed Mar 16, 2026

WP Dark Mode Block Code Analysis

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

WP Dark Mode Block Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actioninitplugin.php:24
Maintenance & Trust

WP Dark Mode Block Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedAug 21, 2020
PHP min version5.6
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WP Dark Mode Block Developer Profile

WPPOOL

16 plugins · 32K total installs

78
trust score
Avg Security Score
98/100
Avg Patch Time
322 days
View full developer profile
Detection Fingerprints

How We Detect WP Dark Mode Block

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-dark-mode-block/build/index.js/wp-content/plugins/wp-dark-mode-block/build/editor.css/wp-content/plugins/wp-dark-mode-block/build/style.css/wp-content/plugins/wp-dark-mode-block/build/script.js
Script Paths
build/index.jsbuild/editor.cssbuild/style.cssbuild/script.js
Version Parameters
wp-dark-mode-block/build/index.js?ver=wp-dark-mode-block/build/editor.css?ver=wp-dark-mode-block/build/style.css?ver=wp-dark-mode-block/build/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wp-block-wp-dark-mode-block-switch
JS Globals
wp_dark_mode_editor_script
FAQ

Frequently Asked Questions about WP Dark Mode Block