antidefault
Florian Ionescugo@antidefault.com
Currently taking clients

Proper paranoia: sandbox all your development

Published
2025-10-23

So, between the repeated supply chain attacks on the Node ecosystem and all the malware infested trial task repositories spread by fake recruiters on LinkedIn, I figured I'd write up a short blog post on how I personally handle that stuff.

I run all my development nowadays in a sandbox. Specifically, purpose built Docker containers.

I know, I know. Nothing groundbreaking here. Most developers nowadays know that they can use Docker to create containers to do their development in. The issue though is with the effort it takes to write out the docker command so it:

  • creates a fresh and temporary Docker container
  • mounts the current working directory at a reasonable spot inside the container
  • gets you an interactive shell

That's a lot to type. Hard? No. But effort, and the more effortful and annoying it is to be safe, the less likely it is you actually practice proper paranoia.

I want to be able to run a simple command like sandbox node and get a fully working Node sandbox with all of the above.

So I created a shell script for it, and registered it as a system-wide command. And now I'm using it on the daily. I don't even have Node.js installed on my system anymore:

Screenshot showing command line without Node installed

Anyways, here's the link to the repo: https://github.com/Antidefault/sandbox

Cheers!