🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Auto SRI icon
Maintained Tested up to 6.8.13 #4 in csp

Auto SRI

Automatically adds Subresource Integrity (SRI) to external scripts/styles and safely excludes Google reCAPTCHA and Google Fonts.

Active installs500+100+ tier
Downloads · 30d322▼ -26.8% vs prev. 30d
Rating—0 reviews
Health score42/100Fair
All-time downloads3.6KSince Dec 2025
Support resolved—No recent threads
RequiresWP 5.0PHP any
Downloads · 7d112▲ +49.3% week over week
Our verdict

Use with caution

Auto SRI works, but test it on a staging site before relying on it in 2026. It runs on 500+ sites and was last updated 8 months ago, and scores 42/100 on our health check.

  • Small user base (500+ active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

122436Sep 4Oct 18Dec 2
Yesterday48
Daily average (1y)10
Peak day122Apr 13, 2026
Last 12 months3.6K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Auto SRI stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
csp #27 295 Best csp plugins →
integrity >100 1,032 Best integrity plugins →
performance >100 10,000 Best performance plugins →
security >100 10,000 Best security plugins →
SRI #2 103 Best SRI plugins →

Version adoption

Share of active sites per release.

  • 2.391.5%
  • 2.18.5%

About Auto SRI

From the official readme · v2.3

Description

Auto SRI automatically adds Subresource Integrity (SRI) attributes to scripts and styles loaded from external sources.

This improves security, protects against tampering, and enables strict Content Security Policy (CSP) setups.

Features

  • ✔ Adds SRI to all external <script> and <link> tags
  • ✔ Supports WordPress-enqueued assets and raw HTML tags
  • ✔ Supports async, defer, crossorigin, and multiline script tags
  • ✔ Caches all hashes for performance
  • ✔ Excludes admin panel (wp-admin) to prevent conflicts
  • ✔ Automatically skips non-SRI-compatible providers:
    • Google reCAPTCHA
    • Google Fonts (fonts.googleapis.com / fonts.gstatic.com)
    • WordPress.com widgets (widgets.wp.com)
    • Dynamic concatenated resources
    • Dynamic script loaders and runtime-inserted scripts
  • ✔ Safe for Elementor, WooCommerce, CookieYes, Jetpack, GoDaddy hosting, etc.

Why some scripts are excluded

This plugin automatically excludes:

  • Google reCAPTCHA (google.com/recaptcha)
  • Google Fonts stylesheets (fonts.googleapis.com)
  • Google Fonts font files (fonts.gstatic.com)
  • WordPress.com widgets (widgets.wp.com)
  • Dynamic concatenated resources (/_static/??)
  • Other dynamic inline loaders (CookieYes, wsimg, ywxi, etc.)

Want to whitelist a dynamic provider? Contact us at izafirsk@gmail.com.
* Other dynamic inline loaders (CookieYes, wsimg, ywxi, etc.)

Want to whitelist a dynamic provider? Contact us at izafirsk@gmail.com.

These exclusions prevent:

  • CORS failures
  • Integrity mismatch blocking
  • Google reCAPTCHA from breaking
  • Google Fonts from disappearing
  • Layout shifts caused by blocked assets

Installation

  1. Upload the plugin to /wp-content/plugins/auto-sri

Changelog

Version bump to 2.3.

2.3

  • Version bump to 2.3

2.2

  • Updated support section with a cleaner PayPal button and improved copy

2.1

  • Improved settings page UX with clearer instructions
  • Added “Settings” link to the plugin action links on the plugins page

2.0

  • Added settings page to allow user-defined URL exclusions
  • Refactored exclusion logic for better maintainability (Unit tested)

1.9

  • Added admin panel exclusion – SRI no longer applies in wp-admin
  • Added exclusion for WordPress.com widgets (widgets.wp.com)
  • Added exclusion for dynamic concatenated resources (/_static/??)
  • Fixed integrity mismatch errors for dynamic content
  • Improved compatibility with WordPress.com features

1.8

  • Fixed prefixing issues to comply with WordPress standards
  • Improved security by preventing direct file access
  • Excluded development assets from release package
  • Example of SRI added to external script tags in the page source

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Auto SRI alternatives

All csp plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Headers Security Advanced & HSTS WP Headers Security Advanced & HSTS WP Best all-in-one WordPress security plugin, uses HTTP & HSTS response headers to avoid… by Andrea Ferro 90K+ ★★★★★★★★★★ 4.9 (79) 1 month ago 72
2 Content Security Policy Manager Content Security Policy Manager Plugin for configuring Content Security Policy headers for your site. Allows different CSP… by Patrick Sletvold 2K+ ★★★★★★★★★★ 4.3 (6) 4 years ago 37
3 GD Security Headers GD Security Headers Configure various security-related HTTP headers, including CSP, XSS, Referrer Policy and… by Milan Petrovic 1K+ ★★★★★★★★★★ 4 (8) 7 months ago 57
5 CSP Friendly Security CSP Friendly Security Adds a CSP header compatible with most WP plugins without breaking styles. by Pascal CESCATO 200+ ★★★★★★★★★★ 3.5 (4) 3 months ago 62
6 No unsafe-inline No unsafe-inline No unsafe-inline helps you to build a Content Security Policy avoiding to use… by Giuseppe 200+ ★★★★★★★★★★ 5 (5) 12 months ago 42
7 Essential Headers Essential Headers Adds the essential HTTP security headers WordPress leaves out—on every public site response. by Alex Hedström 80+ ★★★★★★★★★★ No reviews 2 weeks ago 68
8 CSP Violation Reporter CSP Violation Reporter Collect and inspect Content Security Policy (CSP) reports with filtering, grouping, rate… by Guilherme Dumas Peres 40+ ★★★★★★★★★★ 5 (1) 2 months ago 59
9 Security Headers & Caching Security Headers & Caching Enhance your WordPress site security with HTTP security headers and improve performance… by Studio Be4 30+ ★★★★★★★★★★ No reviews 1 year ago 33
10 SeaSP Community Edition SeaSP Community Edition SeaSP Community Edition is an automated Content Security Policy Manager. SeaSP allows you… by bluetriangle 10+ ★★★★★★★★★★ 4.7 (3) 5 years ago 29
11 GDPR Helper using CSP GDPR Helper using CSP This plugin allows easy addition of Content Security Policy by bpassini 10+ ★★★★★★★★★★ No reviews 4 years ago 23

FAQ

Auto SRI: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Auto SRI free?

Yes. Auto SRI is free to download and use from the official WordPress.org plugin directory.

Is Auto SRI safe to use in 2026?

Auto SRI works, but test it on a staging site before relying on it in 2026. It runs on 500+ sites and was last updated 8 months ago, and scores 42/100 on our health check.

How many websites use Auto SRI?

Auto SRI is active on 500+ WordPress websites and has been downloaded 3,589 times since it launched in December 2025. It was downloaded 322 times in the last 30 days.

Does Auto SRI work with WordPress 7.1?

Auto SRI is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Auto SRI last updated?

The latest version, 2.3, was released on April 13, 2026 (8 months ago).

Who makes Auto SRI?

Auto SRI is developed and maintained by zfir.

What are the best alternatives to Auto SRI?

The most popular alternatives to Auto SRI are Headers Security Advanced &… (90K+ installs), Content Security Policy Man… (2K+ installs) and GD Security Headers (1K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open