Redirect to login if not logged in Security & Risk Analysis

wordpress.org/plugins/redirect-to-login-if-not-logged-in

Redirects users to the login page if the visitor is not logged in.

200 active installs v1.7.0 PHP + WP 3.0.1+ Updated Sep 13, 2018
loginredirect
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Redirect to login if not logged in Safe to Use in 2026?

Generally Safe

Score 85/100

Redirect to login if not logged in has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The plugin 'redirect-to-login-if-not-logged-in' v1.7.0 exhibits a strong security posture based on the provided static analysis. The absence of dangerous functions, the consistent use of prepared statements for any potential SQL queries, and 100% output escaping indicate good coding practices. Furthermore, the lack of file operations, external HTTP requests, and a clean taint analysis with no unsanitized paths are highly positive indicators. The plugin also has no recorded vulnerabilities, which is excellent. The primary concern stems from the complete lack of observed entry points and zero capability checks. While this might mean the plugin is very simple and has a minimal attack surface, it also means there's no direct evidence of how it secures its operations or if any potential actions it *might* perform are properly authorized. This lack of demonstrated security checks, even in a seemingly secure codebase, warrants a cautious approach.

Key Concerns

  • No capability checks found
  • No nonce checks found
  • Zero entry points found
Vulnerabilities
None known

Redirect to login if not logged in Security Vulnerabilities

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

Redirect to login if not logged in 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

Redirect to login if not logged in Attack Surface

Entry Points0
Unprotected0
Maintenance & Trust

Redirect to login if not logged in Maintenance & Trust

Maintenance Signals

WordPress version tested5.0.25
Last updatedSep 13, 2018
PHP min version
Downloads20K

Community Trust

Rating96/100
Number of ratings10
Active installs200
Developer Profile

Redirect to login if not logged in Developer Profile

Daan Kortenbach

2 plugins · 210 total installs

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

How We Detect Redirect to login if not logged in

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 Redirect to login if not logged in