Speculative Loading Security & Risk Analysis

wordpress.org/plugins/speculation-rules

Enables browsers to speculatively prerender or prefetch pages to achieve near-instant loads based on user interaction.

70K active installs v1.6.0 PHP 7.2+ WP 6.6+ Updated Dec 2, 2025
javascriptperformanceprefetchprerenderspeculation-rules
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Speculative Loading Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 4mo ago
Risk Assessment

The "speculation-rules" plugin v1.6.0 exhibits a strong security posture based on the provided static analysis. The absence of any identified AJAX handlers, REST API routes, shortcodes, or cron events with unprotected entry points is a significant strength, indicating a minimal attack surface. The code also demonstrates good security practices, with no dangerous functions, all SQL queries using prepared statements, and 100% of output properly escaped. The lack of file operations and external HTTP requests further reduces potential vulnerabilities. However, the complete absence of taint analysis flows and a capability check on only one function, coupled with zero nonce checks, suggests potential blind spots or areas where such checks might be relevant but were not detected. The plugin's clean vulnerability history with zero known CVEs is a positive indicator of its overall security development and maintenance. Overall, the plugin appears to be developed with security in mind, focusing on robust input sanitization and secure database interactions. The primary weakness lies in the limited scope of static analysis demonstrated by the zero taint flows and the minimal evident authorization checks, which, while not currently showing vulnerabilities, could hide potential issues if the plugin's functionality were to expand.

Key Concerns

  • No taint analysis flows analyzed
  • Only 1 capability check found
  • No nonce checks implemented
Vulnerabilities
None known

Speculative Loading Security Vulnerabilities

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

Speculative Loading Code Analysis

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

Output Escaping

100% escaped19 total outputs
Attack Surface

Speculative Loading Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
filterwp_speculation_rules_configurationhooks.php:66
filterwp_speculation_rules_href_exclude_pathshooks.php:67
actionwp_footerhooks.php:72
actionwp_headhooks.php:86
actionafter_setup_themeload.php:48
actioninitsettings.php:199
actionload-options-reading.phpsettings.php:253
Maintenance & Trust

Speculative Loading Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 2, 2025
PHP min version7.2
Downloads401K

Community Trust

Rating100/100
Number of ratings18
Active installs70K
Developer Profile

Speculative Loading Developer Profile

WordPress Performance Team

10 plugins · 700K total installs

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

How We Detect Speculative Loading

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/speculation-rules/plugin-api.php/wp-content/plugins/speculation-rules/hooks.php/wp-content/plugins/speculation-rules/settings.php/wp-content/plugins/speculation-rules/wp-core-api.php/wp-content/plugins/speculation-rules/class-plsr-url-pattern-prefixer.php
Generator Patterns
speculation-rules
Version Parameters
speculation-rules?ver=speculation-rules/plugin-api.php?ver=speculation-rules/hooks.php?ver=speculation-rules/settings.php?ver=speculation-rules/wp-core-api.php?ver=speculation-rules/class-plsr-url-pattern-prefixer.php?ver=

HTML / DOM Fingerprints

JS Globals
plsr_pending_plugin_info
FAQ

Frequently Asked Questions about Speculative Loading