Random Posts for Query Loop Block Security & Risk Analysis

wordpress.org/plugins/random-posts-for-query-loop-block

Adds "rand" to the REST API orderby options so the Query Loop block can use random post order safely without breaking the Site Editor preview.

0 active installs v1.0.5 PHP 7.4+ WP 6.0+ Updated Jan 7, 2026
block-editorgutenbergorderbyquery-looprandom
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Random Posts for Query Loop Block Safe to Use in 2026?

Generally Safe

Score 100/100

Random Posts for Query Loop Block 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 "random-posts-for-query-loop-block" plugin, version 1.0.5, demonstrates a strong security posture based on the provided static analysis. The absence of any detected dangerous functions, SQL queries not using prepared statements, unescaped output, file operations, external HTTP requests, or critical taint flows indicates robust coding practices. Furthermore, the plugin lacks any recorded historical vulnerabilities, suggesting a history of secure development or a lack of targeted attacks. The zero count for AJAX handlers, REST API routes, shortcodes, and cron events, all without authentication checks, means there are no immediately obvious direct entry points for exploitation.

While the static analysis is positive, the absence of any nonce checks or capability checks is a notable area of concern. Although the current attack surface is zero, this indicates that if new entry points were introduced or discovered, they might not have adequate built-in security measures to prevent unauthorized access or privilege escalation. The plugin's history of zero vulnerabilities is a positive indicator, but it doesn't entirely mitigate the risk associated with missing authorization checks. A balanced conclusion is that the plugin is currently secure due to the lack of exploitable code and a clean vulnerability history, but there is room for improvement in implementing authorization checks for future development.

Key Concerns

  • No nonce checks found
  • No capability checks found
Vulnerabilities
None known

Random Posts for Query Loop Block Security Vulnerabilities

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

Random Posts for Query Loop Block Code Analysis

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

Random Posts for Query Loop Block Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionrest_api_initrandom-posts-for-query-loop-block.php:48
Maintenance & Trust

Random Posts for Query Loop Block Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 7, 2026
PHP min version7.4
Downloads135

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Random Posts for Query Loop Block Developer Profile

Abhay Rautela

1 plugin · 0 total installs

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

How We Detect Random Posts for Query Loop Block

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

Asset Fingerprints

HTML / DOM Fingerprints

REST Endpoints
/wp-json/wp/v2/posts?orderby=rand/wp-json/wp/v2/pages?orderby=rand
FAQ

Frequently Asked Questions about Random Posts for Query Loop Block