BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Auto SRI icon
Maintained Tested up to 6.8.11 #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 · 30d359▼ -6.3% vs prev. 30d
Rating—0 reviews
Health score48/100Fair
All-time downloads2.9KSince Dec 2025
Support resolved—No recent threads
RequiresWP 5.0PHP any
Downloads · 7d103▼ -5.5% 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 6 months ago, and scores 48/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

81726Jul 10Aug 23Oct 7
Yesterday31
Daily average (1y)9
Peak day122Apr 13, 2026
Last 12 months2.9K

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 #21 236 Best csp plugins →
integrity #97 830 Best integrity plugins →
performance >100 10,000 Best performance plugins →
security >100 10,000 Best security plugins →
SRI #2 85 Best SRI plugins →

Version adoption

Share of active sites per release.

  • 2.389.0%
  • 2.111.0%

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

Frequently asked questions

Does this plugin apply SRI in the WordPress admin panel?

No. The plugin automatically skips the WordPress admin panel (wp-admin) to prevent any conflicts with admin scripts and ensure smooth backend operation.

Why are some scripts not receiving SRI?

Scripts from Google reCAPTCHA, Google Fonts, wsimg, ywxi, and other dynamic sources cannot support SRI because their content changes on every request. This plugin intelligently detects those sources and safely skips them.

Does this affect performance?

No. SRI hashes are computed once and stored in the WordPress options table.

Does this break Elementor or CookieYes?

No. This plugin is fully compatible and tested against common dynamic script loaders.

Does this plugin help with CSP?

Yes — it allows you to safely enforce: For excluded domains, you should whitelist them in your CSP.

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 74
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) 5 months ago 63
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) 1 month ago 68
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) 10 months ago 42
7 Security Headers & Caching Security Headers & Caching Enhance your WordPress site security with HTTP security headers and improve performance… by Studio Be4 30+ ★★★★★★★★★★ No reviews 12 months ago 39
8 EssentialHeaders EssentialHeaders Adds the essential HTTP security headers WordPress leaves out—on every public site response. by Alex Hedström 20+ ★★★★★★★★★★ No reviews 1 month ago 63
9 GDPR Helper using CSP GDPR Helper using CSP This plugin allows easy addition of Content Security Policy by bpassini 20+ ★★★★★★★★★★ No reviews 4 years ago 24
10 SeaSP Community Edition SeaSP Community Edition SeaSP Community Edition is an automated Content Security Policy Manager. SeaSP allows you… by bluetriangle 20+ ★★★★★★★★★★ 4.7 (3) 5 years ago 30
11 CSP Violation Reporter CSP Violation Reporter Collect and inspect Content Security Policy (CSP) reports with filtering, grouping, rate… by Guilherme Dumas Peres 10+ ★★★★★★★★★★ 5 (1) 4 days ago 62

FAQ

Auto SRI: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 8, 2026

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 6 months ago, and scores 48/100 on our health check.

How many websites use Auto SRI?

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

Does Auto SRI work with WordPress 7.1?

Auto SRI is officially tested up to WordPress 6.8.11, while the latest release is 7.1.3. 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 (6 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

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.