Domain Based Role Assignment Security & Risk Analysis

wordpress.org/plugins/domain-based-role-assignment

Automatically assign WordPress user roles based on email domains during registration with an easy-to-use domain management interface.

10 active installs v1.0.0 PHP 8.1+ WP 6.7+ Updated Unknown
domain-managementemail-domainsrole-assignmentuser-managementuser-roles
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Domain Based Role Assignment Safe to Use in 2026?

Generally Safe

Score 100/100

Domain Based Role Assignment has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The 'domain-based-role-assignment' plugin v1.0.0 exhibits a generally strong security posture based on the static analysis and vulnerability history. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the plugin's attack surface. Furthermore, the code analysis shows no dangerous functions, no file operations, and no external HTTP requests, which are all positive indicators. The use of prepared statements for all SQL queries and a high percentage of properly escaped output are excellent security practices.

However, a few areas warrant attention. While the plugin has only two taint flows and zero unsanitized paths, the fact that only two flows were analyzed suggests a potentially limited scope of the analysis, or a very small codebase. The presence of only one capability check and two nonce checks, while not explicitly indicating a vulnerability without further context, suggests that access control and nonces might not be as pervasive as in more complex plugins, potentially leaving some areas less protected if the attack surface were to expand. The plugin's vulnerability history is a significant strength, with no recorded CVEs, which indicates a well-maintained and secure development history. Overall, the plugin appears robust, but a deeper dive into the limited taint analysis scope and the distribution of security checks would be beneficial for a complete assessment.

Key Concerns

  • Limited scope of taint analysis
  • Low count of capability checks
  • Low count of nonce checks
Vulnerabilities
None known

Domain Based Role Assignment Security Vulnerabilities

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

Domain Based Role Assignment Code Analysis

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

Output Escaping

85% escaped20 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
render_settings_page (domain-based-role-assignment.php:110)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Domain Based Role Assignment Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menudomain-based-role-assignment.php:26
actionadmin_initdomain-based-role-assignment.php:27
actionuser_registerdomain-based-role-assignment.php:28
actionadmin_enqueue_scriptsdomain-based-role-assignment.php:29
actionplugins_loadeddomain-based-role-assignment.php:331
Maintenance & Trust

Domain Based Role Assignment Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedUnknown
PHP min version8.1
Downloads364

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Domain Based Role Assignment Developer Profile

We Are Volume

1 plugin · 10 total installs

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

How We Detect Domain Based Role Assignment

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/domain-based-role-assignment/assets/css/admin-styles.css
Version Parameters
domain-based-role-assignment/assets/css/admin-styles.css?ver=

HTML / DOM Fingerprints

CSS Classes
domain-rules-tablecurrent-rulesadd-new-rule
Data Attributes
name="submit_domain_rule"name="new_domain"name="new_role"name="delete_domain"name="delete_rule"name="delete_domain"
FAQ

Frequently Asked Questions about Domain Based Role Assignment