Back to News
Advertisement

Ask HN: How to deal with security implications of running/installing projects?

jjohng about 4 hours ago 7 comments

ES version is available. Content is displayed in original English for accuracy.

There are so many neat projects coming out on HN/Github, etc. But, it's so easy to inject back doors and malware into software projects now a days. I'm wondering how people deal with the secrutiy of this. Even if you install them under docker, if it's run by root it seems like there are ways they can get root access on the box.

I see so many neat projects here I'd like to try out but I'm worried that I may install some malware or backdoored software on here. There are a few AI harnesses, terminals, etc. that keep coming up that look neat... but at the very least they'd be able to get your Claude credentials, if not worse.

I'm just wondering with so much stuff coming out, most of it AI coded.

Just wondering how people deal with it? What's the best sandbox way of testing it if that's the solution?

Advertisement

⚡ Community Insights

Discussion Sentiment

80% Positive

Analyzed from 212 words in the discussion.

Trending Topics

#https#qubes#test#org#software#virtual#machine#things#stuff#running

Discussion (7 Comments)Read Original on HackerNews

bitbasherabout 1 hour ago
A simple qemu virtual machine is nice and quick to spin up. I mainly work inside an openbsd or linux virtual machine. I use a different vm for each project and I have a "sandbox" vm I use to run random things I download/test.
afpxabout 1 hour ago
I assume that if it's not air-gapped, it's compromised. I keep important stuff offline.
gabrielsrokaabout 2 hours ago
ebcodeabout 2 hours ago
Have you tried VirtualBox? That’s my go-to for running un-trusted code. Start with a clean VM/fresh install, and don’t put any secrets in it.
johngabout 2 hours ago
I think that might be the only way. That or maybe even this? https://github.com/89luca89/distrobox
fsfloverabout 3 hours ago
Have you considered Qubes OS, https://qubes-os.org? It is more secure than Xen, which it relies on, https://www.qubes-os.org/security/xsa/#statistics.
johngabout 3 hours ago
I've always been interested in Qubes OS but it definitely seems like a very high pain point. I can see installing these things on VM's and then maybe trying to inspect traffic outbound to see if there is something untoward, but even that can be hidden pretty well.

Hell, I've installed some older "known good" packages and some of them have so many dependencies that are pulled in automatically, the app itself could be good but one of the obscure dependencies that it requires could be hacked and now you are still running hacked software. It just seems really scary to install nearly anything now. AI can inject an obfuscated backdoor in seemingly good software, and it can spread at a speed that humans couldn't have back in the day. I'm just hesitant with new software now and it's kind of sad. So much stuff I want to test but I'm afraid to test it.