Akismet Anti-spam: Spam Protection

Slug: akismet · Automattic · 6,000,000+

Actively maintained
Akismet Anti-spam: Spam Protection banner image

Overall Score

Excellent quality and security

92
Excellent

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.
Score computed: May 21, 2026 7:58 pm (51 minutes ago). Vulnerability data mode: Live.
  • Wordfence: May 21, 2026 8:33 pm (17 minutes ago)

No known open vulnerabilities found.

Score Breakdown

Shield
Security
80
Good
Why this score?

Top deductions are based on 1 affected rules, reducing this category by 20 total points.

Rule Hits Impact Share
Security issue: Warning 5 -20 100%
W
WP.org Readiness
97
Excellent
Why this score?

Top deductions are based on 1 affected rules, reducing this category by 3 total points.

Rule Hits Impact Share
Repo issue: Notice 3 -3 100%
Speed
Performance
100
Excellent
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.

Code
Code Quality
100
Excellent
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.

A11y
Accessibility
94
Excellent
Why this score?

Top deductions are based on 1 affected rules, reducing this category by 6 total points.

Rule Hits Impact Share
Accessibility issue: Warning 3 -6 100%
Bug
Vulnerability Status
100
Excellent
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: 5.7
  • Active Installs: 6,000,000+
  • Last Updated: 2026-04-23 22:34:00
  • Tested up to: 7.0
  • Requires PHP: 7.2
  • Rating: 4.7/5 (1,184 ratings)
  • Support: 9/16 resolved (56%)
  • View on WordPress.org
  • Download Plugin

Scan Summary

  • Errors: 0
  • Warnings: 8
  • Notices: 3
  • Last Scanned: 2026-05-21 18:58:55
Scans are performed automatically once per day.

What Changed Since Last Scan

Comparing latest scan (2026-05-21 18:58:55) to previous scan (2026-05-19 20:36:32).
New: 0 Resolved: 0 Worsened: 0

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
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. akismet.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.
WARNING SECURITY Main plugin file does not appear to guard direct access with an ABSPATH check. akismet.php
Quick Add an ABSPATH guard near the top of the main plugin file to prevent direct execution.
Moderate Apply the same remediation pattern across security findings and re-scan to confirm warning 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.akismet-admin.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 SECURITY Direct database query detected without an immediately visible $wpdb->prepare() wrapper. class.akismet.php
Quick Wrap dynamic SQL arguments with $wpdb->prepare() in the flagged query.
Moderate Refactor repeated SQL into repository/helper methods that enforce prepared statements by default.
Advanced Add integration tests and static checks that fail builds when direct dynamic SQL is introduced.
WARNING ACCESSIBILITY Image markup without an alt attribute detected. views/logo.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.
WARNING ACCESSIBILITY Image markup without an alt attribute detected. views/compatible-plugins.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.
WARNING SECURITY Direct database query detected without an immediately visible $wpdb->prepare() wrapper. views/notice.php
Quick Wrap dynamic SQL arguments with $wpdb->prepare() in the flagged query.
Moderate Refactor repeated SQL into repository/helper methods that enforce prepared statements by default.
Advanced Add integration tests and static checks that fail builds when direct dynamic SQL is introduced.
WARNING ACCESSIBILITY Image markup without an alt attribute detected. views/notice.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: 0 pts · All-Time High: 92/100