Learn how Formo uses SRI to protect your users and your data. SRI helps prevent attacks like cross-site scripting (XSS) and NPM hijacking.
src
and integrity
fields:
Get the latest version number and integrity hash on Github.The hash in the integrity attribute within the Formo install script works with SRI to lock an external JavaScript resource to its known contents at a specific point in time. This is verified by a base64-encoded cryptographic hash. If the file is modified after this point, the hash won’t match, and supporting web browsers will refuse to load it. This ensures that the script you’re running is exactly the one provided by Formo, without any hidden changes or malicious code.