Two Factor Authentication

Secure WordPress login with Two Factor Authentication - supports WP, Woo + other login forms, HOTP, TOTP (Google Authenticator, Authy, etc.)

v1.16.0David Anderson / Team UpdraftUpdated 2026-03-25Added Mar 20, 201520k+ installs88% rating
35
Score
108
Errors
139
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance100
Maintainability50

Top Issues by Category

security144
maintainability89
i18n7

Issues Details

247 issues found in latest scan

ERROR55
WordPress.Security.EscapeOutput.OutputNotEscaped

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$name</label><br>\n"'.

WARNING25
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_COOKIE[&#039;simbatfa_trust_token&#039;]

WARNING25
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_COOKIE[&#039;simbatfa_trust_token&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNING24
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$calc&quot;.

ERROR17
wp_function_not_compatible_with_requires_wp

Function "get_main_site_id()" requires WordPress 4.9.0, but your plugin minimum supported version is WordPress 3.4.0.

ERROR12
WordPress.Security.EscapeOutput.UnsafePrintingFunction

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNING9
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING9
WordPress.DB.DirectDatabaseQuery.NoCaching

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNING9
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

Detected usage of a possibly undefined superglobal array index: $_SERVER[&#039;HTTP_HOST&#039;]. Check that the array index exists before using it.

WARNING8
WordPress.PHP.DevelopmentFunctions.error_log_error_log

error_log() found. Debug code should not normally be used in production.

ERROR7
WordPress.WP.I18n.MissingTranslatorsComment

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNING6
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING6
WordPress.WP.EnqueuedResourceParameters.NotInFooter

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERROR5
WordPress.DB.PreparedSQL.NotPrepared

Use placeholders and $wpdb->prepare(); found $query

WARNING4
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;secure_auth_cookie&quot;.

WARNING3
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Base32&quot;.

WARNING3
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

ERROR3
missing_direct_file_access_protection

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERROR2
PluginCheck.CodeAnalysis.Heredoc.NotAllowed

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

ERROR2
PluginCheck.Security.DirectDB.UnescapedDBParameter

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 675.

WARNING2
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;TFA_INCORRECT_ATTEMPTS_WITHIN_MINUTES_LIMIT&quot;.

ERROR1
PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing

Sanitization missing for register_setting().

ERROR1
WordPress.DB.PreparedSQLPlaceholders.UnsupportedPlaceholder

Unsupported placeholder used in $wpdb->prepare(). Found: "%_capabilities".

WARNING1
WordPress.PHP.DevelopmentFunctions.error_log_set_error_handler

set_error_handler() found. Debug code should not normally be used in production.

WARNING1
WordPress.PHP.DevelopmentFunctions.error_log_trigger_error

trigger_error() found. Debug code should not normally be used in production.

Latest Snapshot

Findings

247

Errors

108

Warnings

139

Score History

First score snapshot

First scan completed Jun 20, 2026

v1.16.0 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v1.16.0

35

Latest

Findings
247
Errors
108
Warnings
139
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins