DarkLooks – Dark Mode Switcher For WordPress Security & Risk Analysis

wordpress.org/plugins/darklooks-dark-mode-switcher

Short Description: Enable dark mode on your WordPress site for better eye comfort in low-light environments.

1K active installs v1.0.7 PHP 7.4+ WP + Updated Jan 14, 2026
darkdark-modedark-themenight-modewordpress-dark-mode
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is DarkLooks – Dark Mode Switcher For WordPress Safe to Use in 2026?

Generally Safe

Score 100/100

DarkLooks – Dark Mode Switcher For WordPress has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2mo ago
Risk Assessment

The darklooks-dark-mode-switcher plugin v1.0.7 demonstrates a generally strong security posture based on the provided static analysis and vulnerability history. The absence of any known CVEs, critical taint flows, dangerous functions, or raw SQL queries is highly positive. The code also shows good practices with a substantial number of output escapes and the presence of nonce and capability checks, indicating an effort to secure its operations. The plugin's attack surface is effectively zero, with no AJAX handlers, REST API routes, shortcodes, or cron events, which significantly reduces its potential for exploitation.

However, a potential area of concern lies in the output escaping. While 82% of outputs are properly escaped, this leaves 18% that are not. This could represent a risk of Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is ever rendered without proper sanitization in these unescaped outputs. Additionally, the plugin makes three external HTTP requests, which, although not inherently a vulnerability, could be a vector for certain attacks if not handled with extreme care regarding the data fetched and how it's processed. The plugin's clean vulnerability history is a significant strength, but the small percentage of unescaped output warrants attention.

Key Concerns

  • 18% of outputs are not properly escaped
  • 3 external HTTP requests made
Vulnerabilities
None known

DarkLooks – Dark Mode Switcher For WordPress Security Vulnerabilities

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

DarkLooks – Dark Mode Switcher For WordPress Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

82% escaped233 total outputs
Attack Surface

DarkLooks – Dark Mode Switcher For WordPress Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 17
actionadmin_menuadmin\Admin.php:22
actionadmin_initadmin\Admin.php:23
actionadmin_enqueue_scriptsadmin\Admin.php:24
actionswitch_themeappsero\src\Insights.php:140
actionswitch_themeappsero\src\Insights.php:141
actionadmin_footerappsero\src\Insights.php:158
actionadmin_noticesappsero\src\Insights.php:175
actionadmin_initappsero\src\Insights.php:178
filtercron_schedulesappsero\src\Insights.php:184
actionadmin_menuappsero\src\License.php:219
actionafter_switch_themeappsero\src\License.php:781
actionswitch_themeappsero\src\License.php:782
actioninitdarklooks.php:64
actionwp_enqueue_scriptsinc\Enqueue.php:23
actionwp_footerinc\Hooks.php:20
actionwp_headinc\Hooks.php:21
filterwp_nav_menu_itemsinc\Hooks.php:22
Maintenance & Trust

DarkLooks – Dark Mode Switcher For WordPress Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 14, 2026
PHP min version7.4
Downloads26K

Community Trust

Rating96/100
Number of ratings16
Active installs1K
Developer Profile

DarkLooks – Dark Mode Switcher For WordPress Developer Profile

themelooks

11 plugins · 3K total installs

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

How We Detect DarkLooks – Dark Mode Switcher For WordPress

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/darklooks-dark-mode-switcher/admin/assets/css/style.css/wp-content/plugins/darklooks-dark-mode-switcher/admin/assets/img/logo-icon.png/wp-content/plugins/darklooks-dark-mode-switcher/admin/assets/js/script.js/wp-content/plugins/darklooks-dark-mode-switcher/assets/css/darklooks.css/wp-content/plugins/darklooks-dark-mode-switcher/assets/js/darklooks
Script Paths
//cdnjs.cloudflare.com/ajax/libs/ace/1.4.12/ace.js
Version Parameters
darklooks-style?ver=1.0.0darklooks-script?ver=1.0darklooks?ver=1.0.0

HTML / DOM Fingerprints

CSS Classes
dl-main-wrapper
FAQ

Frequently Asked Questions about DarkLooks – Dark Mode Switcher For WordPress