WP Mercurial Security & Risk Analysis

wordpress.org/plugins/wp-mercurial

Basic Mercurial functionality from the dashboard. Automatically commit after updating core, plugins, or themes.

10 active installs v1.1 PHP + WP 3.4.0+ Updated Nov 18, 2012
mercurial
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Mercurial Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The wp-mercurial v1.1 plugin exhibits a strong security posture based on the provided static analysis. The absence of any identified attack surface (AJAX handlers, REST API routes, shortcodes, cron events) with unprotected entry points is a significant strength. The code also adheres to good practices by exclusively using prepared statements for SQL queries and properly escaping all output, and not performing file operations or external HTTP requests. The presence of a nonce check and a capability check indicates an awareness of common security controls. Taint analysis showing zero flows with unsanitized paths further reinforces this positive assessment. The complete lack of recorded CVEs and vulnerability history is also a very positive indicator of the plugin's security over time.

While the static analysis reveals no immediate critical vulnerabilities, the presence of 11 'dangerous functions' (specifically 'system') warrants a closer look. Although these functions are not directly exploited due to the lack of attack surface and the presence of checks, they represent potential vectors if the plugin's architecture were to change or if an attacker could find a way to bypass existing controls. The primary concern, therefore, is the *potential* for misuse of these dangerous functions rather than a directly exploitable vulnerability in the current version. Overall, wp-mercurial v1.1 appears to be a securely developed plugin, with the sole area for caution being the use of potentially risky system functions, which are currently mitigated by the plugin's design.

Key Concerns

  • Presence of 'system' dangerous functions
Vulnerabilities
None known

WP Mercurial Security Vulnerabilities

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

WP Mercurial Release Timeline

v1.1Current
Code Analysis
Analyzed Apr 16, 2026

WP Mercurial Code Analysis

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

Dangerous Functions Found

systemsystem("hg commit -A -m 'Updated WordPress to $wp_version'");wp-mercurial.php:35
systemsystem("hg commit -A -m '$action $what: {$child_result['destination_name']}'");wp-mercurial.php:57
systemsystem('hg push');wp-mercurial.php:102
systemsystem('hg status');wp-mercurial.php:106
systemsystem('hg log');wp-mercurial.php:110
systemsystem('hg addremove');wp-mercurial.php:113
systemsystem("hg commit -v -m '$msg'");wp-mercurial.php:119
systemsystem('hg pull');wp-mercurial.php:124
systemsystem('hg update');wp-mercurial.php:128
systemsystem('hg merge');wp-mercurial.php:132
systemsystem('hg verify');wp-mercurial.php:136
Attack Surface

WP Mercurial Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
action_core_updated_successfullywp-mercurial.php:31
actionwp_dashboard_setupwp-mercurial.php:39
actionwp_network_dashboard_setupwp-mercurial.php:40
filterupgrader_post_installwp-mercurial.php:42
Maintenance & Trust

WP Mercurial Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedNov 18, 2012
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Alternatives

WP Mercurial Alternatives

No alternatives data available yet.

Developer Profile

WP Mercurial Developer Profile

invisnet

8 plugins · 76K total installs

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

How We Detect WP Mercurial

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-mercurial/wp-mercurial.css
Version Parameters
wp-mercurial/wp-mercurial.css?ver=

HTML / DOM Fingerprints

CSS Classes
wp-mercurial
Data Attributes
id="wp-mercurial"name="wp-mercurial"
FAQ

Frequently Asked Questions about WP Mercurial