Skip to content

Open source / Sentinel / sri-sentinel

sri-sentinel

Subresource Integrity (SRI) generator and checker: hashes <script> and <link> resources in built HTML (sha256/384/512, local and CDN), writes integrity + crossorigin, fails CI on missing, wrong or stale hashes. JSON manifest, Vite and webpack plugins, text/JSON/SARIF/Markdown output, GitHub Action. Zero dependencies.

On npm
$ npm install sri-sentinel

README

README could not be loaded. View on GitHub ↗