News for hackers. Stuff that matters.
Re:Agent-C: a 4KB AI agent by Chabsff on Monday August 25, 2025 @09:40AM (#45013740)
Wait. Do people run agents as their own user? Does nobody setup a dedicated user/group with a very specific set of permissions?

It's not even hard to do! *NIX systems are literally designed to handle stuff like this easily.

Re:Agent-C: a 4KB AI agent by f33d5173 on Monday August 25, 2025 @11:56AM (#45015228)
User level separation, while it has improved over the years, was not originally designed assuming unprivileged users were malicious, and even today privilege escalation bugs regularly pop up. If you are going to use it as a sandboxing mechanism, you should at least ensure the sandboxed user doesn't have access to any suid binaries as these regularly have exploits found in them.
Re:Agent-C: a 4KB AI agent by jvanderbot on Monday August 25, 2025 @09:52AM (#45013845)
No I'm fairly certain almost nobody does that.
Re:Agent-C: a 4KB AI agent by mathiaspoint on Monday August 25, 2025 @10:46AM (#45014453)
I run mine as it's own user and self host the model. Unlike most services the ai service user has a login shell and home directory.
Re:Agent-C: a 4KB AI agent by MadnessASAP on Monday August 25, 2025 @04:08PM (#45018387)
What's its preferred shell and window manager?
Re:Agent-C: a 4KB AI agent by mathiaspoint on Monday August 25, 2025 @04:21PM (#45018528)
It just uses bash. I haven't been giving it an X session yet although I probably will start at some point since the newer models can handle it.
Re:Agent-C: a 4KB AI agent by MadnessASAP on Monday August 25, 2025 @06:08PM (#45019701)
Thank you for a serious answer to a facetious question.
Re:Agent-C: a 4KB AI agent by mansilladev on Monday August 25, 2025 @11:57AM (#45015245)
An agent can be designed to run with permissions of a system/bot account; however, others can be designed to execute things under user context, using OAuth to get user consent.
Re:Agent-C: a 4KB AI agent by electroly on Monday August 25, 2025 @11:06AM (#45014675)
VMs are common, consider going that additional step. Once you have one agent, it's natural to want two agents, and now they will interfere with each other if they start running servers that bind to ports. One agent per VM solves this and a lot of other issues.
Re:Agent-C: a 4KB AI agent by adastra22 on Monday August 25, 2025 @11:40AM (#45015072)
That seems hardly sufficient. You are still exposing a massive attack surface. I run within a rootless docker container.
Re:Agent-C: a 4KB AI agent by mrklol on Monday August 25, 2025 @10:35AM (#45014324)
Same with the browser agents, they are used in a browser where you‘re also logged into your usual accounts. Means in theory they can simply mail everyone something funny, do some banking (probably not but could work for some banks) or something else. Endless possibilities
Re:Agent-C: a 4KB AI agent by andai on Monday August 25, 2025 @09:59AM (#45013937)
I'd have to follow some kind of tutorial, or more realistically, ask the AI to set it up for me ;)
Re:Agent-C: a 4KB AI agent by johnQdeveloper on Monday August 25, 2025 @10:32AM (#45014286)
I only run AI within docker containers so kinda?