Restrict Admin Login by Country – GRC Security & Risk Analysis

wordpress.org/plugins/restrict-admin-login-by-country-grc

Restrict admin, shop manager, editor, and author logins based on the user’s country. Automatically blocks access from non-authorized locations.

10 active installs v1.6 PHP 7.4+ WP 5.0+ Updated Feb 20, 2026
admin-logincountry-restrictiongeolocationipinfosecurity
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Restrict Admin Login by Country – GRC Safe to Use in 2026?

Generally Safe

Score 100/100

Restrict Admin Login by Country – GRC 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 security posture of the 'restrict-admin-login-by-country-grc' v1.6 plugin appears to be strong based on the provided static analysis. The complete absence of AJAX handlers, REST API routes, shortcodes, and cron events with unprotected entry points, combined with no identified dangerous functions or file operations, significantly limits the potential attack surface. Furthermore, the use of prepared statements for all SQL queries and a high percentage of properly escaped output are excellent security practices.

The plugin also shows no history of known vulnerabilities, with zero CVEs recorded, which is a positive indicator of its past security. The lack of any critical or high-severity taint flows further reinforces its current apparent security. However, the absence of nonce checks and capability checks across all entry points is a notable concern. While the current architecture might not expose them, any future expansion or modification could introduce vulnerabilities if these fundamental WordPress security features are not implemented.

In conclusion, the plugin demonstrates a good understanding of secure coding practices in its current implementation, particularly regarding data handling and limiting exposed functionalities. The primary weakness lies in the potential for future vulnerabilities due to the consistent lack of nonce and capability checks, which are critical for robust WordPress security. While no immediate critical risks are evident, a proactive approach to incorporating these checks would be advisable for long-term security.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Restrict Admin Login by Country – GRC Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Restrict Admin Login by Country – GRC Release Timeline

v1.6Current
v1.5
Code Analysis
Analyzed Apr 16, 2026

Restrict Admin Login by Country – GRC Code Analysis

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

Output Escaping

93% escaped14 total outputs
Attack Surface

Restrict Admin Login by Country – GRC Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
filterauthenticaterestrict-admin-login-by-country-grc.php:14
actionadmin_menurestrict-admin-login-by-country-grc.php:72
actionadmin_initrestrict-admin-login-by-country-grc.php:83
filterpre_update_option_grcsecdev_allowed_countriesrestrict-admin-login-by-country-grc.php:187
Maintenance & Trust

Restrict Admin Login by Country – GRC Maintenance & Trust

Maintenance Signals

WordPress version tested7.0
Last updatedFeb 20, 2026
PHP min version7.4
Downloads456

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Restrict Admin Login by Country – GRC Developer Profile

Robert G.

2 plugins · 110 total installs

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

How We Detect Restrict Admin Login by Country – GRC

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

Asset Fingerprints

HTML / DOM Fingerprints

Data Attributes
name="grcsecdev_allowed_countries[]"name="grcsecdev_settings_group"id="grcsecdev_country_list"
FAQ

Frequently Asked Questions about Restrict Admin Login by Country – GRC