logoalt Hacker News

mjwsolo • today at 2:28 AM • 2 replies • view on HN

Thanks for the question - it's a good one and you're mostly right. There's no seatbelt support today in localcode.

- File tools: reading or writing outside the project asks for approval.

- Shell commands: before a command runs it's parsed for the paths it mentions, and anything outside the project asks the same way. That only catches paths written in the command itself though, a script or python -c can still reach anything your user account can.

- So the prompts are a guard against mistakes, not a security boundary per se.

If you want a real boundary today, run localcode inside sandbox-exec or a VM.

Proper seatbelt support for shell commands is a good shout though, just created an issue for it https://github.com/mjwsolo/localcode/issues/254.

Would you use it if it were on by default?


Replies

samtheprogram • today at 3:00 AM

This was flagged and dead, likely because it seems like it’s AI written, but I vouched since you are OP.

Don’t submit comments written by AI. It’s against the site rules.

I’m not going to vouch your other comments that were flagged. Write new comments yourself.

➕ show 1 reply
dofm • today at 3:55 AM

> Would you use it if it were on by default?

I would possibly test it, though as with others, I have a fairly modular approach so it's not quite what I am looking for.

For the agentic stuff I am teaching myself, I usually run whatever inference server makes most sense on my old M1 Max, with an agent (mostly Pi at the moment) inside a full linux VM or container, and lately Paseo as a desktop app, because that setup is closest to a cloud-VM-plus-openrouter-LLM situation I may need in future.

But I like the freedom of being able to chop and change these pieces around, and for the most part, Unsloth is doing for me what your app would do (inference server with a side of chat).

I don't know if I would necessarily wed myself to a particular agent at this point, not least because e.g. Muse Glimmer and Qwen 3.8 27B seem to have slightly different needs in terms of tools.