SRI Shield WordPress Plugin | Codefreex Skip to content
SRI Shield icon

WordPress plugin

SRI Shield

Add Subresource Integrity hashes to enqueued scripts and styles, approve changed files before they are trusted, and scan pages for missing SRI.

By SPINX Digital10+ active installs
Active installs
10+
Version
1.2.0
Last updated
Nov 5, 2026
Tested up to
WordPress 7.1.5
Requires
WP 7.0 · PHP 8.0

Health check

Is SRI Shield safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on November 5, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.1.5.

Requires PHP 8.0 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where SRI Shield ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for SRI Shield
KeywordPositionChangeTrendCurrent #1
hardening
script integrity
security
sri
subresource integrity
sri shield

Checked against the top 100 WordPress.org search results.

Overview

What SRI Shield does

Add Subresource Integrity hashes to enqueued scripts and styles, approve changed files before they are trusted, and scan pages for missing SRI.

🛡️ Subresource Integrity for Your Enqueued Assets

SRI Shield records a cryptographic hash (an SRI hash) for each enqueued script and stylesheet the first time it is served, and adds the integrity and crossorigin attributes to its tag. A visitor’s browser compares each file it downloads with that hash and refuses to use a file whose content does not match.

Changed files wait for your approval. When a protected file’s content changes — after a theme, plugin, or WordPress update, or because the file was modified — SRI Shield keeps serving the previously trusted hash and flags the change for review. Browsers refuse the changed file until an administrator compares the trusted and proposed hashes and either approves the new hash or keeps the trusted one. SRI Shield never re-trusts a changed file on its own.

What SRI does and does not do. SRI confirms that a file’s content matches a hash; it does not judge whether a file is safe. The first hash for each file is taken from the content the file has at that moment, so a file that was already compromised when it was first hashed is not detected. Generating hashes automatically is not, by itself, protection against malicious changes — that is why changes…

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

SRI Shield in action

Dashboard with protection status, hash cache statistics, and an overview of key features
Dashboard with protection status, hash cache statistics, and an overview of key features
General Settings for enabling SRI, the default hash algorithm, excluded asset handles, auto regenerate, and scanner depth
General Settings for enabling SRI, the default hash algorithm, excluded asset handles, auto regenerate,…
Maintenance Tools to reset the hash cache or regenerate every integrity hash
Maintenance Tools to reset the hash cache or regenerate every integrity hash

FAQ

SRI Shield: questions and answers

What is SRI Shield?

SRI Shield is a WordPress plugin by SPINX Digital. Add Subresource Integrity hashes to enqueued scripts and styles, approve changed files before they are trusted, and scan pages for missing SRI.

Is SRI Shield free?

SRI Shield is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use SRI Shield?

WordPress.org reports 10+ active installations of SRI Shield. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is SRI Shield still maintained?

SRI Shield was last updated on November 5, 2026. The current version is 1.2.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does SRI Shield require?

SRI Shield requires WordPress 7.0 or newer and PHP 8.0 or newer. It has been tested up to WordPress 7.1.5.

Can Codefreex set up or customize SRI Shield?

Yes. Codefreex installs, configures and customizes WordPress plugins including SRI Shield, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need SRI Shield set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us