Two Factor
Slug: two-factor · WordPress.org · 100,000+
Overall Score
Excellent quality and security
What this score means
Scores are calculated on a 100-point scale by analysing six weighted categories: Security, WP.org Readiness, Performance, Code Quality, Accessibility, and Vulnerabilities.
-
Excellent The plugin follows best practices across every measured category. It is well-maintained, low-risk, and recommended for production use.
-
Good Strong overall quality with minor areas for improvement. Generally safe to use on most sites.
-
Needs Review Some areas of concern detected. Review the full issues report and weigh the risks before installing on production.
-
High Risk Significant quality or security problems found. Exercise caution — check the details carefully before using this plugin.
- Wordfence: May 22, 2026 4:33 pm (60 minutes ago)
Score Breakdown
Why this score?
Top deductions are based on 1 affected rules, reducing this category by 8 total points.
| Rule | Hits | Impact | Share |
|---|---|---|---|
| Security issue: Warning | 2 | -8 | 100% |
Why this score?
Top deductions are based on 2 affected rules, reducing this category by 7 total points.
| Rule | Hits | Impact | Share |
|---|---|---|---|
| Repo issue: Notice | 4 | -4 | 57.1% |
| Tested up to version is behind current WordPress | 1 | -3 | 42.9% |
Why this score?
Top deductions are based on 0 affected rules, reducing this category by 0 total points.
No deductions were applied for this category in the latest score run.
Why this score?
Top deductions are based on 0 affected rules, reducing this category by 0 total points.
No deductions were applied for this category in the latest score run.
Why this score?
Top deductions are based on 1 affected rules, reducing this category by 2 total points.
| Rule | Hits | Impact | Share |
|---|---|---|---|
| Accessibility issue: Warning | 1 | -2 | 100% |
Why this score?
Top deductions are based on 0 affected rules, reducing this category by 0 total points.
No deductions were applied for this category in the latest score run.
Plugin Details
- Version: 0.16.0
- Active Installs: 100,000+
- Last Updated: 2026-03-27 17:24:00
- Tested up to: 6.9.4
- Requires PHP: 7.2
- Rating: 4.8/5 (206 ratings)
- Support: 5/5 resolved (100%)
- View on WordPress.org
- Download Plugin
Scan Summary
- Errors: 0
- Warnings: 3
- Notices: 4
- Last Scanned: 2026-05-22 14:26:24
What Changed Since Last Scan
New Issues
No items in this category.
Resolved Issues
No items in this category.
Worsened Issues
No items in this category.
Detected Issues
| Severity | Category | Message | File | Fix Guidance |
|---|---|---|---|---|
| NOTICE | REPO | Plugin is still at pre-release version 0.16.0. |
Quick
Set a stable semantic version once production readiness is confirmed.
Moderate
Define release criteria and changelog quality gates before promoting stable tags.
Advanced
Adopt automated release orchestration with semantic version enforcement and rollback plans.
|
|
| WARNING | SECURITY | Declared minimum PHP 7.2 is end-of-life and no longer receives security updates. |
Quick
Increase minimum PHP version to a currently supported branch.
Moderate
Audit dependencies and code for compatibility with modern PHP runtime behavior.
Advanced
Track upstream PHP lifecycle changes and schedule proactive baseline upgrades.
|
|
| NOTICE | REPO | Main plugin file does not declare a Domain Path header. | two-factor.php |
Quick
Add a Domain Path header if language files are stored in a languages directory.
Moderate
Apply the same remediation pattern across repo findings and re-scan to confirm notice issues drop.
Advanced
Add automated linting, CI checks, and team review guidance so this issue class is prevented in future releases.
|
| NOTICE | REPO | Plugin package does not include a license file. |
Quick
Add a LICENSE or COPYING file so distribution terms are explicit.
Moderate
Apply the same remediation pattern across repo findings and re-scan to confirm notice issues drop.
Advanced
Add automated linting, CI checks, and team review guidance so this issue class is prevented in future releases.
|
|
| WARNING | SECURITY | Raw superglobal access detected. | class-two-factor-core.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| WARNING | ACCESSIBILITY | Image markup without an alt attribute detected. | providers/class-two-factor-totp.php |
Quick
Add alt attributes to the flagged image tags, or alt="" for decorative images.
Moderate
Audit all templates/components for missing alternative text and update content guidelines.
Advanced
Integrate accessibility testing in CI (axe/pa11y) and block releases with critical a11y violations.
|
| NOTICE | REPO | Translation functions are present, but no textdomain loader was detected. |
Quick
Call load_plugin_textdomain() during plugin bootstrap so translations can be loaded.
Moderate
Apply the same remediation pattern across repo findings and re-scan to confirm notice issues drop.
Advanced
Add automated linting, CI checks, and team review guidance so this issue class is prevented in future releases.
|
Score History
Range Change: -1 pts · All-Time High: 97/100