U.S. Debt Clock Widget Security & Risk Analysis

wordpress.org/plugins/us-debt-clock-widget

This plugin creates a widget displaying the most recently available amount of the U.S. National Debt.

100 active installs v1.6 PHP + WP 2.8+ Updated Aug 17, 2024
economyfinancegovernmentmoneywidgets
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is U.S. Debt Clock Widget Safe to Use in 2026?

Generally Safe

Score 92/100

U.S. Debt Clock Widget 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 "us-debt-clock-widget" plugin, version 1.6, exhibits a generally strong security posture based on the provided static analysis. The complete absence of SQL injection vulnerabilities due to the use of prepared statements, 100% properly escaped output, and no file operations or external HTTP requests are significant strengths. Furthermore, the plugin has no recorded vulnerability history, indicating a commitment to security or a lack of past exploitation, which is positive. However, there are areas for concern. The presence of two instances of `preg_replace(/e)` is a red flag, as this can be a vector for remote code execution if not handled with extreme care and robust sanitization, though no specific taint flows were identified in this analysis. The lack of any nonce checks or capability checks, particularly for potential future extensions or if the plugin were to introduce AJAX or REST API endpoints, represents a missed opportunity for fundamental security best practices and could expose it to CSRF or unauthorized access if new entry points are added without proper checks.

Key Concerns

  • Dangerous function: preg_replace(/e) found
  • No nonce checks present
  • No capability checks present
Vulnerabilities
None known

U.S. Debt Clock Widget Security Vulnerabilities

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

U.S. Debt Clock Widget Code Analysis

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

Dangerous Functions Found

preg_replace(/e)preg_replace( '/^.*Total Public Debt Outstanding:<\/eus-debt-clock-widget.php:310
preg_replace(/e)preg_replace( '/^.*Total Public Debt Outstanding:<\/eus-debt-clock-widget.php:311

Output Escaping

100% escaped41 total outputs
Attack Surface

U.S. Debt Clock Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actioninitus-debt-clock-widget.php:233
actionwp_headus-debt-clock-widget.php:244
actionus_debtclock_widget_event_hookus-debt-clock-widget.php:257
actionwidgets_initus-debt-clock-widget.php:332

Scheduled Events 1

us_debtclock_widget_event_hook
Maintenance & Trust

U.S. Debt Clock Widget Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedAug 17, 2024
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings3
Active installs100
Developer Profile

U.S. Debt Clock Widget Developer Profile

Chris Hardie

4 plugins · 310 total installs

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

How We Detect U.S. Debt Clock Widget

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
us_debtclock_widget_introductionus_debtclock_widget_amountus_debtclock_widget_errorus_debtclock_widget_creditus_debtclock_widget_credit_link
Data Attributes
id="debtclock_amount"id="debtclock_error"class="us_debtclock_widget_credit_link"
JS Globals
INTERVALINCREMENTSTART_VALUEcountwindow.setInterval
FAQ

Frequently Asked Questions about U.S. Debt Clock Widget