Custom REST API Prefix Security & Risk Analysis

wordpress.org/plugins/custom-rest-api-prefix

A simple plugin to customize the default WordPress REST API prefix.

10 active installs v1.0.1 PHP 5.5+ WP 5.5+ Updated Jan 6, 2024
rest-apiwp-rest-api
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom REST API Prefix Safe to Use in 2026?

Generally Safe

Score 85/100

Custom REST API Prefix has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The "custom-rest-api-prefix" v1.0.1 plugin exhibits a strong static security posture with no identified attack surface entry points, dangerous functions, or direct SQL queries. The code analysis indicates adherence to good practices like using prepared statements for all SQL queries and proper output escaping, which significantly mitigates common web application vulnerabilities. The absence of file operations, external HTTP requests, and bundled libraries further contributes to its secure design.

However, a notable concern arises from the taint analysis, which revealed two flows with unsanitized paths. While these did not escalate to critical or high severity, they represent potential vectors for directory traversal or path manipulation attacks if a specific, unverified scenario were to occur. The plugin's vulnerability history is clean, with no recorded CVEs, suggesting a generally well-maintained codebase. Despite this clean history and excellent static analysis results, the presence of unsanitized paths warrants attention as a latent risk.

Key Concerns

  • Flows with unsanitized paths found
Vulnerabilities
None known

Custom REST API Prefix Security Vulnerabilities

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

Custom REST API Prefix Code Analysis

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

Output Escaping

100% escaped3 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
cra_prefix_initialize_options (custom-rest-api-prefix.php:27)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Custom REST API Prefix Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionadmin_initcustom-rest-api-prefix.php:58
filterrest_url_prefixcustom-rest-api-prefix.php:112
Maintenance & Trust

Custom REST API Prefix Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedJan 6, 2024
PHP min version5.5
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Custom REST API Prefix Developer Profile

Alvind

2 plugins · 10 total installs

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

How We Detect Custom REST API Prefix

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
regular-text
Data Attributes
id="cra_prefix_setting"name="cra_prefix_setting"
REST Endpoints
/api/wp-json
FAQ

Frequently Asked Questions about Custom REST API Prefix