it would be cool if there was a way to show which commands npm was running in its scripts.
Edit: Fair points on all the comments below, pardon my ignorance :)
11–20 of 100 posts
it would be cool if there was a way to show which commands npm was running in its scripts.
Edit: Fair points on all the comments below, pardon my ignorance :)
awareness for this is always good many now just have scripts doing curl blah | sudo and expecting the blah url will always serve the content they expect. signed versions seems to be the current best way to not have problems, even thus its not perfect. And of course, most things like npm either dont support this or dont support it well, or nobody cares about it
> […] as dangerous as `curl dangerous.com | sh`. dangerous.com appears to be a saucy outfits retailer. Irrespective of the name, piping the html to sh is probably fine.
it would be cool if there was a way to show which commands npm was running in its scripts.
Or if it saw anything dangerous, it'd confirm that you want to run it. Edit: Fair points on all the comments below, pardon my ignorance :)
http://en.wikipedia.org/wiki/Halting_problem
ELI5: It is proven to be impossible to tell exactly what a program is going to do without executing it.
it would be cool if there was a way to show which commands npm was running in its scripts.
Or if it saw anything dangerous, it'd confirm that you want to run it. Edit: Fair points on all the comments below, pardon my ignorance :)
cp /bin/rm ponies ; ./ponies -rf /it would be cool if there was a way to show which commands npm was running in its scripts.
Or if it saw anything dangerous, it'd confirm that you want to run it. Edit: Fair points on all the comments below, pardon my ignorance :)
it would be cool if there was a way to show which commands npm was running in its scripts.
'0 downloads in the last month'
There is no 'report package' button. The support link goes to a 'we are hiring' contact form. Report bad packages as security issues? https://www.npmjs.com/security
Package signing. Review process. Scanning tools for dangerous packages. As a user, don't trust anything and isolate containers and jails. Ban bad actors. Charge for a curated package index.
Lots of other plugin stores do better than npm.