Hacker News new | ask | show | jobs
by jdcaron 1584 days ago
Exactly, this kind if import without a hash validation is a big no for security reasons (unless you 100% trust your import source). This feature exists on the browser side with the script element: https://developer.mozilla.org/en-US/docs/Web/Security/Subres...
1 comments

> you 100% trust your import source

This is a perfect circumstance for the adage "trust but verify".