Remix.run Logo
▲ tristor 4 hours ago

Everyone is updating their threat models to include locally operating LLM agents. Here's a random thought: Don't let LLM agents act on your local system as you? They should be operating in a constrained way with their own account and privileges, rather than acting directly on your behalf with your privileges and access. Treat the agent as if its another user.

▲Majromax 3 hours ago | parent | next [-]

> They should be operating in a constrained way with their own account and privileges, rather than acting directly on your behalf with your privileges and access.

That's effective when possible, but it's not quite the correct level of permission. Separation of users usually involves disjoint working spaces/sets, and that defeats many typical 'assistant' roles. For example, "look through my e-mail for the past month and remind me if anybody needs something from me" is a very useful task for an assistant (LLM or human), but it necessarily involves access to one's own information -- even on a read-only basis.

IMO we're missing a robust task-level permission system, and this is difficult because a 'task' does not have a 1:1 mapping to a path, user, or application.

▲InsidiousWombat an hour ago | parent | next [-]

Well, we're missing permission levels full stop.

I'd love e-mail provider that provides api-key-like IMAP creds I can just generate and hand out to automation, with not only read/write scope but also per-path one.

▲tristor 3 hours ago | parent | prev [-]

Right, but I don't need an LLM to do something as basic as read my email... in fact, having an LLM read my email actually makes email less valuable. The "assistant role" is of no actual value or usefulness to most people. On the other hand, LLM assisted coding can be highly useful and does not need to access anything that's uniquely tied to my identity/account/privileges.

▲RALaBarge 3 hours ago | parent | prev | next [-]

I always scoff when I see people zoom into HN and say hey check out what I am working on, but I agree with you and I made a 2 computer system -- one that is the core with everything on it and another that is a sandbox. They are both their own physical machines and the sandbox is not attached to a network at all, just directly to the core machine which allows you to modify firewall rules at egress

https://github.com/RALaBarge/enclave

▲jpalawaga 3 hours ago | parent | prev | next [-]

It's a nice thought and probably the right way to be thinking about things. I take the view it's where we'll end up eventually.

The tooling is all DIY however and most people aren't used to operating multi-user environments, nor do they have filesystem permissions set up correctly, nor do they have a good way of handling secrets management, development environment credentials, etc etc etc.

Essentially, I feel like there's a lot of hand waving going on. Are you operating in this style of environment already? Are you using Claude Code or similar operating as another user on your local machine?

▲tristor 2 hours ago | parent [-]

A modern Mac is already a multi-user environment. Any Linux device is already a multi-user environment. Is there some particular reason why you can't set up a user account specifically for using coding agents? That's effectively what I've done on my system. It's not as if I'm using the computer for other tasks when I'm running coding agents as they are monopolizing my computer (with local LLMs) anyway, so clearly separating these tasks into a dedicated user account with appropriate permissions is not a huge barrier and significantly improves your security posture against various issues.

▲heartbreak an hour ago | parent | prev [-]

I would assume that almost everyone is running agents on their machines without user separation or any other protection. Maybe some folks are using the Swiss cheese built-in sandboxing.

I run mine on an isolated VM with an unprivileged user. It's a hassle, but I still get plenty of work done with these agents. They can't read my email, but I think I'm okay with that.