Token2 Hardware Tokens Security & Risk Analysis

wordpress.org/plugins/token2-hardware-tokens

Token2 Hardware Tokens for your WordPress blog.

20 active installs v0.1 PHP + WP 3.8+ Updated Mar 22, 2018
authenticationloginotppasswordsecurity
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Token2 Hardware Tokens Safe to Use in 2026?

Generally Safe

Score 85/100

Token2 Hardware Tokens has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The token2-hardware-tokens v0.1 plugin exhibits a generally good security posture in its static analysis. The complete absence of raw SQL queries, file operations, external HTTP requests, and dangerous functions is commendable. The presence of a nonce check on its single AJAX handler, coupled with the lack of reported vulnerabilities in its history, suggests a conscientious development approach. However, a significant concern arises from the low percentage of properly escaped output. With only 9% of 22 outputs being properly escaped, this leaves a substantial portion vulnerable to Cross-Site Scripting (XSS) attacks. While taint analysis shows no critical or high-severity flows, the unescaped outputs represent a tangible risk that could be exploited if an attacker can inject malicious scripts into data that is then displayed to users. The plugin's overall security is decent due to the lack of historical issues and secure database handling, but the XSS potential is a notable weakness that requires attention.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Token2 Hardware Tokens Security Vulnerabilities

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

Token2 Hardware Tokens Code Analysis

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

Output Escaping

9% escaped22 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<google-authenticator> (google-authenticator.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Token2 Hardware Tokens Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_Token2HWTokens_actiongoogle-authenticator.php:69
WordPress Hooks 9
actioninitgoogle-authenticator.php:55
actionlogin_formgoogle-authenticator.php:64
actionlogin_footergoogle-authenticator.php:65
filterauthenticategoogle-authenticator.php:66
actionpersonal_options_updategoogle-authenticator.php:72
actionprofile_personal_optionsgoogle-authenticator.php:73
actionedit_user_profilegoogle-authenticator.php:74
actionedit_user_profile_updategoogle-authenticator.php:75
actionadmin_enqueue_scriptsgoogle-authenticator.php:77
Maintenance & Trust

Token2 Hardware Tokens Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedMar 22, 2018
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs20
Developer Profile

Token2 Hardware Tokens Developer Profile

token2

1 plugin · 20 total installs

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

How We Detect Token2 Hardware Tokens

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/token2-hardware-tokens/jquery.qrcode.min.js
Script Paths
/wp-content/plugins/token2-hardware-tokens/jquery.qrcode.min.js

HTML / DOM Fingerprints

Data Attributes
id="user_email"name="googleotp"autocomplete="off"
FAQ

Frequently Asked Questions about Token2 Hardware Tokens