It's really crazy that the most valuable companies in the world are suddenly allowing or even encouraging their employees to run programs whose entire functionality is undefined behavior right on their work computers, with access to important credentials and proprietary source code.
Any sandbox is better than no sandbox.
Do not give full access of your developer machine to every single package and their every single dependency.