Just wondering How many of us can

Just wondering. How many of us can honestly say they never imported a node module / cloned a github repo / followed some console code from a random website that seems to do exactly what you need but you don’t quite understand how it works, etc without having done a full code review (or another way to make sure it was safe).

Especially when sites like homebrew teach us that it’s completely rational to ask a user to paste this into their console:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

(and as I recall, it used to actually pipe the output of curl to sudo)

If anyone claims so it means he/she either lie or hasn’t written any working software/hasn’t used computer beyond browsing the internet :wink:

However it does not matter that much whether somebody installed/executed untrusted code, what matters most is where people actually do such stuff. For sure it’s not very wise to simply copy-paste ANY random one-liner, use any random code on your main machine or simply do dev work on your main machine. You do have control over where you actually install untrusted stuff and you can limit the impact in case of infection. I always recommend working in isolated environments like virtual machines - VirtualBox/Vmware/Parallels. I do it for years and even though it’s not a silver bullet, as there are still Xen, VMWare etc. exploits for those, in my opinion it is a reasonable trade-off and it gives enough isolation and does not impact the usability that much - if you got enough disk space, RAM and CPU and got used to it a bit :wink:

I fully agree that this is how you should be doing things (I would like to add Docker to the list as a less-overhead option). And I know I should do things that way… :speak_no_evil_monkey:

it’s not that hard. give it a try :wink: just start with a single linux dev vm. it works really well. Parallels is on sale today from what i’ve seen and vbox is for free. i use vmware for a long time and it’s ok, better on windows than on macos, but still quite good. anyway, there is a good and easy option for each platform :wink: and regarding docker i would not put into the same basket actually, it does not provide sufficient security isolation and as far as i remember even big providers do not consider it a strong security boundary. there are various ways to escape or attack the host machine from a malicious docker container, so still I would actually recommend VMs :wink: as the best and easiest middle ground.

NVMe USBC external drives 1TB or sth - there are many on sale right now, if you lack disk space it should work pretty well. as VMs can take a lot of space :wink: especially when you use snapshots etc.