logoalt Hacker News

hobo123 • yesterday at 2:20 PM • 1 reply • view on HN

Probably a good idea to only run LLMs with a dedicated user account, or in a container.


Replies

ashishb • yesterday at 2:26 PM

Dedicated user account does not work as eventually all your code and data will move under that.

I run it in an ephemeral container sandbox (https://github.com/ashishb/amazing-sandbox) which has access to the current working directory and it drastically limits the attack radius.

➕ show 3 replies