logoalt Hacker News

mcintyre1994yesterday at 8:22 AM0 repliesview on HN

In this narrow case, using pnpm or something similar that blocks postinstall scripts by default should be sufficient. In general, you probably want to use a container/vm/sandbox of some sort so dev stuff can’t access anything else on your machine.