Re:Dozens of malicious PyPI packages discovered targeting de...
by SahAssar on Wednesday November 02, 2022 @06:26PM
(#33443761)
Yes, it applies to the whole process. It's incredibly hard to sandbox dependencies individually since you don't know how your code or other dependencies interact with it. If you want you can run dependencies in a worker process and sandbox that tighter, but that is quite a bit of work.
[ Parent
| on HN ]
Re:Dozens of malicious PyPI packages discovered targeting de...
by ashishbijlani on Wednesday November 02, 2022 @07:24PM
(#33444253)
That’s exactly why I use strace-based to sandbox ALL dependencies: https://github.com/ossillate-inc/packj
Re:Dozens of malicious PyPI packages discovered targeting de...
by juancampa on Wednesday November 02, 2022 @09:37PM
(#33445632)
This is exactly what I've done for Membrane[0]. It's capabilities based, even to get the time (and thus introduce non-determinism) you need a capability. Dependencies run as separate processes and everything is orthogonally persistent. It's a typescript/javascript system for personal automation built entirely within VSCode. Stay tuned, I'll be posting a video this week.
Re:Dozens of malicious PyPI packages discovered targeting de...
by uhhyeahdude on Thursday November 03, 2022 @04:44AM
(#33448487)
Hi there! I just wanted to let you know that I read the blog posts, and membrane sounds extremely cool. Ambitious, though. If you don’t mind a small bit of feedback: it would be encouraging to potential users or testers to see some semi-regular posts related to development. It would also be great to see how membrane might work to build a tool using current APIs. I know there is video forthcoming, and perhaps this will be addressed. I didn’t look at the GitHub, where I probably could glean some additional info. But from my perspective, a development blog builds trust and anticipation. It’s also a great way to check your assumptions (or have them checked, rather).
Good luck with the project. I hope it delivers, because I’d love to use it. Signed up for the mailing list.