GS JWT Authentication for WP REST API Security & Risk Analysis

wordpress.org/plugins/gs-jwt-auth-and-otp-varification

Extends the WP REST API using JSON Web Tokens as an authentication method.

10 active installs v1.0.0 PHP 5.3.0+ WP 4.2+ Updated Jan 13, 2022
json-web-authenticationjwtotpwp-apiwp-json
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is GS JWT Authentication for WP REST API Safe to Use in 2026?

Generally Safe

Score 85/100

GS JWT Authentication for WP REST API has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

Based on the provided static analysis and vulnerability history, the "gs-jwt-auth-and-otp-varification" v1.0.0 plugin exhibits a generally good security posture. The static analysis reveals a clean code base with no dangerous functions, all SQL queries utilizing prepared statements, and all outputs being properly escaped. Importantly, there are no identified taint flows, suggesting that user-supplied data is not being mishandled in critical ways. The plugin also has no external HTTP requests or file operations, reducing potential attack vectors.

However, a significant concern arises from the complete absence of nonce checks and capability checks. While the REST API routes do have permission callbacks, the lack of nonce checks on AJAX handlers (of which there are none in this version, but it's a common entry point) and the absence of any capability checks leaves the plugin vulnerable to various client-side attacks or unauthorized actions if any entry points were to be introduced without proper authorization mechanisms. The lack of any historical vulnerabilities is a positive sign, indicating a diligent approach to security in its development or a short history. Overall, the plugin is well-coded in terms of data handling and database interaction, but a lack of fundamental WordPress security practices like nonce and capability checks represents a notable weakness.

Key Concerns

  • Missing nonce checks on AJAX handlers
  • Missing capability checks
Vulnerabilities
None known

GS JWT Authentication for WP REST API Security Vulnerabilities

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

GS JWT Authentication for WP REST API Code Analysis

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

SQL Query Safety

100% prepared4 total queries

Output Escaping

100% escaped10 total outputs
Attack Surface

GS JWT Authentication for WP REST API Attack Surface

Entry Points7
Unprotected0

REST API Routes 7

POST/wp-json/gs-jwt/v1logings-jwt.php:66
POST/wp-json/gs-jwt/v1token/validategs-jwt.php:77
POST/wp-json/gs-jwt/v1get-otpgs-jwt.php:88
POST/wp-json/gs-jwt/v1verify-otpgs-jwt.php:99
POST/wp-json/gs-jwt/v1register_usergs-jwt.php:110
POST/wp-json/gs-jwt/v1register_userbymobilegs-jwt.php:121
GET/wp-json/gs-jwt/v1login_testgs-jwt.php:132
WordPress Hooks 6
actioninitgs-jwt.php:19
actionrest_api_initgs-jwt.php:21
filterrest_api_initgs-jwt.php:22
filterrest_pre_serve_requestgs-jwt.php:23
filterrest_pre_dispatchgs-jwt.php:24
filterdetermine_current_usergs-jwt.php:698
Maintenance & Trust

GS JWT Authentication for WP REST API Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedJan 13, 2022
PHP min version5.3.0
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

GS JWT Authentication for WP REST API Developer Profile

Gaurav Sharma

2 plugins · 10 total installs

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

How We Detect GS JWT Authentication for WP REST API

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

Asset Fingerprints

HTML / DOM Fingerprints

REST Endpoints
/gs-jwt/v1/login/gs-jwt/v1/token/validate/gs-jwt/v1/get-otp/gs-jwt/v1/verify-otp/gs-jwt/v1/register_user/gs-jwt/v1/register_userbymobile/gs-jwt/v1/login_test
FAQ

Frequently Asked Questions about GS JWT Authentication for WP REST API