News for hackers. Stuff that matters.
Re:A Study of Malicious Code in PyPI Ecosystem by rrherr on Friday September 08, 2023 @06:59PM (#37440334)
Agreed about Docker.

Personally, I use Google Colab for my convenient, lightweight Python sandbox. But I’d rather not depend on Google. It feels weird that this is my best option for now.

Re:A Study of Malicious Code in PyPI Ecosystem by Intralexical on Friday September 08, 2023 @09:20PM (#37441249)
> Personally, I use Google Colab for my convenient, lightweight Python sandbox. But I’d rather not depend on Google. It feels weird that this is my best option for now.

`bwrap` is great for this on Linux. A one line alias should let you run any program in a lightweight and highly customizable sandbox safely-ish. See my reply to the parent comment for an example.