User Agent Blocker Security & Risk Analysis

wordpress.org/plugins/user-agent-blocker

Block robots using it's User-Agent in .htaccess

70 active installs v1.0.2 PHP 5.6+ WP 4.6+ Updated May 31, 2019
bad-robotblockhtaccessuser-agent
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is User Agent Blocker Safe to Use in 2026?

Generally Safe

Score 85/100

User Agent Blocker has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6yr ago
Risk Assessment

The user-agent-blocker plugin v1.0.2 exhibits a strong security posture based on the provided static analysis. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the plugin's attack surface. Furthermore, the code analysis reveals no dangerous functions, all SQL queries utilize prepared statements, and there are no recorded external HTTP requests. The presence of a nonce check and the generally low number of file operations and outputs suggest a focused and well-implemented functionality. Taint analysis showing zero flows with unsanitized paths further bolsters this positive assessment. The plugin's vulnerability history is also clean, with no known CVEs, which is a significant indicator of its security maturity. While the output escaping is not perfect (63% properly escaped), the overall picture is one of a secure plugin with minimal exploitable weaknesses. The primary concern, albeit minor, lies in the less than ideal output escaping percentage. However, given the limited attack surface and the lack of other critical security findings, the plugin is considered to be in a good security state.

Key Concerns

  • Output escaping not fully implemented
Vulnerabilities
None known

User Agent Blocker Security Vulnerabilities

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

User Agent Blocker Release Timeline

v1.0.2Current
Code Analysis
Analyzed Mar 16, 2026

User Agent Blocker Code Analysis

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

Output Escaping

63% escaped8 total outputs
Attack Surface

User Agent Blocker Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionadmin_menuuser-agent-blocker.php:34
Maintenance & Trust

User Agent Blocker Maintenance & Trust

Maintenance Signals

WordPress version tested5.2.24
Last updatedMay 31, 2019
PHP min version5.6
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs70
Developer Profile

User Agent Blocker Developer Profile

Adhitya Rachman

2 plugins · 80 total installs

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

How We Detect User Agent Blocker

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/user-agent-blocker/user-agent-blocker.php

HTML / DOM Fingerprints

CSS Classes
redgrgybitclr+1 more
HTML Comments
BEGIN USER AGENT BLOCKEREND USER AGENT BLOCKER
FAQ

Frequently Asked Questions about User Agent Blocker