OPcache Reset Security & Risk Analysis

wordpress.org/plugins/opcache-reset

Automatic OPcache reset for WordPress. Invalidates both in-memory and file-based OPCache upon upgrading WordPress.

200 active installs v2.4.0 PHP 7.4+ WP 5.0+ Updated Dec 15, 2025
cacheopcachephpwp-clizend
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is OPcache Reset Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 3mo ago
Risk Assessment

The 'opcache-reset' v2.4.0 plugin exhibits a generally good security posture regarding its attack surface, with no exposed AJAX handlers, REST API routes, shortcodes, or cron events. The code also demonstrates strong practices in SQL query preparation and output escaping. However, the presence of five instances of the dangerous 'shell_exec' function is a significant concern. While no taint flows were identified as unsanitized, the potential for misuse of 'shell_exec' cannot be ignored, especially if these functions are ever to interact with user-supplied input, even indirectly.

The plugin's vulnerability history is clean, with no known CVEs recorded. This, combined with the absence of common vulnerability types and recent issues, suggests a history of secure development or a lack of historical security scrutiny. Despite the clean history, the identified 'shell_exec' usage presents a latent risk. The plugin's strengths lie in its minimal attack surface and robust data handling for SQL and output. Its weakness lies in the direct use of potentially dangerous system functions.

Key Concerns

  • Use of dangerous function 'shell_exec'
Vulnerabilities
None known

OPcache Reset Security Vulnerabilities

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

OPcache Reset Code Analysis

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

Dangerous Functions Found

shell_execshell_exec( "mv {$file_cache_dir} {$file_cache_dir}.rm" );opcache-reset.php:81
shell_execshell_exec( "rm -rf {$file_cache_dir}.rm" );opcache-reset.php:91
shell_execshell_exec( "mkdir -p {$file_cache_dir}" );opcache-reset.php:94
shell_exec$cachetool = trim( shell_exec( "PATH={$path} which cachetool 2>/dev/null" ) );opcache-reset.php:108
shell_execshell_exec( "PATH={$path} {$cmd} 2>&1" );opcache-reset.php:111

Output Escaping

100% escaped5 total outputs
Attack Surface

OPcache Reset Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_noticesopcache-admin.php:94
actionadmin_noticesopcache-admin.php:96
actionload-plugin-editor.phpopcache-admin.php:100
actioninitopcache-admin.php:119
actionupgrader_process_completeopcache-reset.php:129
actiondeleted_pluginopcache-reset.php:133
Maintenance & Trust

OPcache Reset Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 15, 2025
PHP min version7.4
Downloads8K

Community Trust

Rating80/100
Number of ratings1
Active installs200
Developer Profile

OPcache Reset Developer Profile

Danila Vershinin

3 plugins · 40K total installs

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

How We Detect OPcache Reset

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

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about OPcache Reset