Dark Mode Toggle Block Security & Risk Analysis

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

A WordPress block for toggling between between light and dark appearance on your site.

200 active installs v1.0.5 PHP 7.0+ WP 6.4+ Updated Nov 21, 2024
block
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Dark Mode Toggle Block Safe to Use in 2026?

Generally Safe

Score 92/100

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

Based on the static analysis and vulnerability history provided, the "dark-mode-toggle-block" v1.0.5 plugin exhibits a strong security posture. The absence of any identified dangerous functions, SQL injection vulnerabilities (all queries use prepared statements), output escaping issues, file operations, or external HTTP requests is highly commendable. Furthermore, the complete lack of taint flows with unsanitized paths indicates rigorous code review and secure coding practices. The plugin also boasts a clean vulnerability history with zero recorded CVEs, suggesting a well-maintained and secure codebase over time.

While the attack surface is reported as zero entry points, this could be an artifact of the analysis tools or a testament to the plugin's minimal functionality. The absence of nonce and capability checks is noted, which, in a plugin with a larger attack surface, could be a concern. However, given the reported zero entry points, this appears to be a non-issue in this specific instance. Overall, this plugin demonstrates excellent security practices and a low risk profile based on the provided data.

Vulnerabilities
None known

Dark Mode Toggle Block Security Vulnerabilities

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

Dark Mode Toggle 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

Dark Mode Toggle Block Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actioninitdark-mode-toggle-block.php:28
actionwp_enqueue_scriptsdark-mode-toggle-block.php:58
Maintenance & Trust

Dark Mode Toggle Block Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedNov 21, 2024
PHP min version7.0
Downloads3K

Community Trust

Rating100/100
Number of ratings2
Active installs200
Developer Profile

Dark Mode Toggle Block Developer Profile

Rich Tabor

5 plugins · 1K total installs

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

How We Detect Dark Mode Toggle Block

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

Asset Fingerprints

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

HTML / DOM Fingerprints

CSS Classes
theme-dark
JS Globals
localStoragewindow.matchMedia
FAQ

Frequently Asked Questions about Dark Mode Toggle Block