From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1794181803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5XUsNdXbKxP7AAuoKS4PtqChwphr7vOBBbUn38IUwPo=; b=R32axP1yE6kfa3UsOVfPUUQf7KO8e+CrNYETdIyM8b2/c76j7IlZcSk8v9LZIwRM9CYNZl miQUpNfXJwgorIztTd1wkpEVA7fi7pdqC/kum3yPVsj32MgpF+5XS9xgtAOT4MVDtjYy3Q 8IWLS6M6CA+tE/s4RIqQ1C3E7WJwOX/JI3Is4KMqf8s65frxneIM8/Tgj2QDoSUGPM7Aq/ OCssPWD09zNdyVBN35BJUz6HDY+xmC4rPkuPt6r6tQI4qA6fjSQMA2GKkTslOPRGURI32M R9QvY+6jVl4TAUG0+75+SsgvAyGwTNIOj3A+TJ47SOZ2EHMtY0v+vV7RYP0QpA== Received: from localhost ( [192.168.1.1]) by hrrol.systemreboot.net (OpenSMTPD) with ESMTPSA id fd34e8e7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 8 Nov 2026 23:50:03 +0000 (UTC) From: Arun Isaac To: Ricardo Wurmus Cc: Ricardo Wurmus , kaagum@systemreboot.net Subject: Re: connecting to bifrost over SOCKS5 proxy fails In-Reply-To: <878q35s8zl.fsf@systemreboot.net> References: <8733tjhuv2.fsf@elephly.net> <87ik2ed9sf.fsf@systemreboot.net> <87qzh2gk2c.fsf@elephly.net> <87cxsltps8.fsf@systemreboot.net> <87fqxhghus.fsf@elephly.net> <877bisubfq.fsf@systemreboot.net> <87qzgzears.fsf@elephly.net> <87ld76ss59.fsf@systemreboot.net> <87fqxee1yd.fsf@elephly.net> <878q35s8zl.fsf@systemreboot.net> Date: Sun, 08 Nov 2026 23:50:02 +0000 Message-ID: <87mrririhh.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: >> I have filed a bug report:=20 >> https://github.com/xenodium/agent-shell/issues/936 >From your bug report: > My prompt caused three tool calls to read three files. I denied > permission to one of the calls via the button "Reject once" on the > permission prompt for one of the files I may have ideas for a rather complex but interesting workaround=E2=80=94ob= ject capabilities. I'm assuming the problem is that you need the LLM to only read a few files from the working directory. But since the LLM can see all the files in the directory, it chooses to read other files as well. At least I encounter this issue a lot, and every time, I have to reword my prompt telling the LLM to not read any files other than those I mentioned. An interesting idea may be to expose to the LLM, only those few files that we want it to read. Containers can't help us much here. But object capabilities can. Here's the basic idea: You create "objects" representing the files you wish to share. Each object is identified by a long unforgeable UUID. These UUIDs are shared with the LLM. And to invoke a tool such as `read', the LLM must specify the UUID of the file it wishes to read rather than the path. Since the UUIDs are unforgeable, the LLM can only read those files whose UUIDs have been shared with it. The LLM cannot even *refer* to any other files. This way, filesystem access is restricted without even needing containers. And, in contrast to containers, we can easily allow the LLM to read files that don't live under the same directory=E2=80=94imagine you = wish to share a file from a different project that lives in a different directory. We may also extend this idea to other kinds of objects. Here are a few ideas: - directory objects - directory objects that only permit listing of contents, but not reading - objects representing specific GitHub/Codeberg repos=E2=80=94thus allowing= us to limit the repos the LLM can access=E2=80=94really fine-grained network a= ccess control I'd love to hear what you think=E2=80=94does this make sense? does this add= ress any problems you may have? etc.