How does GuardScript work?
GuardScript monitors regularly this file and detects any modification GuardScript sends you an email if the file is modified. The mail contains a complete report of the modifications made.
How do you detect the modifications?
We compute the hashes of the files regularly. If only one character in a file changes, his hash will change.
What's the difference with Subressource Integrity
Subresource Integrity (SRI) is a security feature that enables browsers to verify that resources they fetch (for example, from a CDN) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched resource must match. (Definition of Mozilla)
GuardScript is for when Subressource integrity is not possible or not implemented, which is most of the time for SaaS services.