| ▲ | staticassertion 4 hours ago | |
It has nothing to do with interpreters or JIT, it has nothing to do with npm at all. All package managers have the insane security model of "arbitrary code execution with no constraints". | ||
| ▲ | seniorsassycat 3 hours ago | parent [-] | |
I tend to agree but think npms post install hook is a degree worse. Triggering during install, silently because npm didn't like someone using the feature to ask for donations, is worse than requiring you to load and run the package code. | ||