Comment by nchilada

9 days ago

Exactly right.

SRI (or CSP hash, or vendoring) only helps if someone actually reviews the changes instead of automatically approving them. Maybe it's more likely to happen with LLM reviewers, though in such a world, one can also just ask said LLMs to help manage in-house source, or to help leverage a properly versioned and auditable library, to test all the different shades of slop.

Any website that cares about security should have long since moved on from unpinned JavaScript controlled by a third party. It may have made sense 15 years ago, but certainly not in 2026.

(disclaimer: former Optimizely employee)