The Phoenix BitDevs is a place for free and open Bitcoin education in Phoenix. Discussions will be technical but are open to people of all skill levels. Join the community and #LearnBitcoinTogether!
It’s probably not safe to run npm install directly on you machine anymore. These packages can define arbitrary scripts that run when installed. All it takes is one dependency anywhere on the dependency tree to be compromised and your system could be compromised. Docker and dev containers is one potential solution to this problem. Other JavaScript runtimes like deno provide protections against this type of attack
It’s probably not safe to run npm install directly on you machine anymore. These packages can define arbitrary scripts that run when installed. All it takes is one dependency anywhere on the dependency tree to be compromised and your system could be compromised. Docker and dev containers is one potential solution to this problem. Other JavaScript runtimes like deno provide protections against this type of attack
https://www.fortinet.com/blog/threat-research/malicious-packages-hiddin-in-npm?utm_source=tldrinfosec