AMP

Slug: amp · Weston Ruter · 400,000+

Not updated in last 3 months
AMP banner image

Overall Score

Good overall quality

81
Good

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. Open vulnerabilities are weighted by severity, CVSS, and patch availability, and incomplete source data can reduce confidence slightly.

  • 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 25, 2026 3:22 pm (2 weeks ago). Vulnerability data mode: Live.
High confidence (100/100) based on metadata completeness and vulnerability evidence quality.
Open vulnerabilities are weighted by severity, CVSS, and patch availability, then adjusted slightly when the source data is incomplete.
  • Wordfence: June 10, 2026 4:46 am (12 minutes ago)

No known open vulnerabilities found.

Score Breakdown

Shield
Security
48
High Risk
Why this score?

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

Rule Hits Impact Share
Security issue: Warning 13 -52 100%
W
WP.org Readiness
90
Excellent
Why this score?

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

Rule Hits Impact Share
Last update is over one year old 1 -5 50%
Tested up to version is behind current WordPress 1 -3 30%
Repo issue: Notice 2 -2 20%
Speed
Performance
97
Excellent
Why this score?

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

Rule Hits Impact Share
Performance issue: Warning 1 -3 100%
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
80
Good
Why this score?

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

Rule Hits Impact Share
Accessibility issue: Warning 10 -20 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: 2.5.5
  • Active Installs: 400,000+
  • Last Updated: 2025-04-10 16:53:00
  • Tested up to: 6.8.5
  • Requires PHP: 7.4
  • Rating: 3.8/5 (367 ratings)
  • Support: 0/2 resolved (0%)
  • View on WordPress.org
  • Download Plugin

Scan Summary

  • Errors: 0
  • Warnings: 24
  • Notices: 2
  • Last Scanned: 2026-05-25 14:22:30
  • Score confidence: 100/100
Scans are performed automatically once per day, and the report will note when source data is stale or incomplete.

What Changed Since Last Scan

Run at least two completed scans to view issue deltas.

Detected Issues

Severity Category Message File Fix Guidance
NOTICE REPO Main plugin file does not declare a Domain Path header. amp.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. amp.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.
WARNING SECURITY Direct database query detected without an immediately visible $wpdb->prepare() wrapper. src/Cli/ValidationCommand.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 SECURITY Direct database query detected without an immediately visible $wpdb->prepare() wrapper. src/BackgroundTask/MonitorCssTransientCaching.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 SECURITY Use of unserialize() detected. src/RemoteRequest/CachedRemoteGetRequest.php
Quick Switch the flagged payload to JSON decoding where practical.
Moderate If serialization is required, enforce allowed_classes=false and strict input validation before parsing.
Advanced Move state transfer to signed/typed schemas and add security tests for malformed payloads.
WARNING SECURITY Raw superglobal access detected. src/MobileRedirection.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 PERFORMANCE flush_rewrite_rules() detected. src/Infrastructure/ServiceBasedPlugin.php
Quick Only flush rewrite rules during activation or explicit maintenance flows.
Moderate Apply the same remediation pattern across performance 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.
WARNING SECURITY Direct database query detected without an immediately visible $wpdb->prepare() wrapper. src/PairedRouting.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 SECURITY Raw superglobal access detected. src/AmpWpPlugin.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. src/Optimizer/HeroCandidateFiltering.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. src/Component/Carousel.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. includes/sanitizers/class-amp-img-sanitizer.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. includes/sanitizers/class-amp-core-theme-sanitizer.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. includes/sanitizers/class-amp-script-sanitizer.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. includes/embeds/class-amp-youtube-embed-handler.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. includes/embeds/class-amp-core-block-handler.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. includes/embeds/class-amp-playlist-embed-handler.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. includes/class-amp-theme-support.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 Raw superglobal access detected. includes/validation/class-amp-validation-error-taxonomy.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 Raw superglobal access detected. includes/validation/class-amp-validated-url-post-type.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 Use of base64_decode() detected. includes/validation/class-amp-validation-manager.php
Quick Ensure any encoded payloads are necessary, documented, and never used to obscure executable logic.
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.
WARNING SECURITY Raw superglobal access detected. includes/validation/class-amp-validation-manager.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 Raw superglobal access detected. includes/class-amp-http.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. includes/uninstall-functions.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. templates/header-bar.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

No history available yet. · All-Time High: N/A

All Past Vulnerabilities

No vulnerabilities have been recorded for this plugin yet.