Glossary term
What is SRI (Subresource Integrity)?
SRI stands for Subresource Integrity.
A hash added to a script or style tag. The browser refuses the file if its content does not match the hash.
Learn it properly · The Browser ContractLesson 7: Frontend Security Checklist: XSS, CSP, Clickjacking and Supply ChaindangerouslySetInnerHTML, CSP nonces, frame-ancestors, Subresource Integrity and risky packages. Each one asks: what would you check in a code review?