Live data from Hacker News

NanoClaw solves one of OpenClaw's biggest security issues

venturebeat.com

11–20 of 29 posts

Re: NanoClaw solves one of OpenClaw's biggest security issues

#11
This is why I really think for AI tools it’s probably good to just start fresh.

Like our emails, files, other accounts and stuff. That’s “ours” and personal.

Even for business, that should be off limits.

What we do give to AI should be brand new blank slates. Like say I roll out an AI solution in March 2026. That is the seed from which everything we do using AI will work.

To get there we could move data we want to the new environment. But no access to any existing stuff. We start fresh.

If it needs to take any actions on behalf of our existing accounts it needs to go through some secure pipeline where it only tells us intent, without access.

Re: NanoClaw solves one of OpenClaw's biggest security issues

#12

Previous discussion on the Show HN: from the dev: https://news.ycombinator.com/item?id=46850205

To their credit they put a single sentence of warning into the article they commissioned, but to highlight:

- I don't care deeply about this code.

- (This isn’t) production code but a reference or starting point they can use to build functional custom software for themselves.

- I spent a weekend giving instructions to coding agents to build this.

9 days ago

Re: NanoClaw solves one of OpenClaw's biggest security issues

#13
I have tried to solve the agent running wild, and I found two solutions, the first is to mount the workspace folder using WASM to scope any potential damage, the second is running rquickjs with all APIs and module imports disabled, requiring the agent to call a host function that checks permissions before accessing any files

--- [0] https://github.com/netdur/hugind

Re: NanoClaw solves one of OpenClaw's biggest security issues

#15

This is why I really think for AI tools it’s probably good to just start fresh. Like our emails, files, other accounts and stuff. That’s “ours” and personal. Even for business, that should be off limits. What we do give to AI should be brand new blank slates. Like say I roll out an AI solution in March 2026. That is the seed from which everything we do using AI will work. To get there we could move data we want to th…

This is cutting off the "Access to private data" leg of the lethal trifecta. One of the few ways to actually make an agent secure.

Re: NanoClaw solves one of OpenClaw's biggest security issues

#16
post #2

File system access is not one of OpenClaw's biggest security issues. If that were so, running it in a VM or another computer (I hear Mac Minis are popular!) would solve it. If you need it to do anything useful[0], you have to connect it to your data and give it action capabilities. All the dragons are there. If you play it careful and don't expose your data, comm channels, etc., then it's much like the other AI assis…

Agreed, sandboxing is only part of agent security. Authorization (what data the agent can access and what tools it can execute) is also a big part of it.

I've found primer on agent sandboxes [0] is a great reference on sandboxing options and the trade-offs

For agents there's a tension between level of restriction and utility. I think a large part of OpenClaw's popularity is that the lack of restriction by default has helped people see the potential utility of agents. But any agent that isn't just for trying things out requires consideration of what it should and should not be able to do and from there the decision around the best combination of sandboxing and authorization.

At work, we've found it helpful to distinguish coding agents vs product agents. Coding agents have the ability to add new execution paths by pulling in external code or writing their own code to run. Product agents have a strictly defined set of tools and the runtime prevents them from executing anything beyond that definition. This distinction helps us reason about what sandboxing is required.

For data permissions it's trickier. MCP uses OAuth for authentication but each server can have different expectations for access to the external service. Some servers let you use a service account where you can narrow the scope of access but others assume a token minted from an admin account which means the MCP server might have access to things beyond what the agent using the server should.

So for that, we have an MCP proxy that lets us define custom permissions for every tool and resource, and at runtime makes permission checks to ensure the agent only gets access to the subset of things we define ahead of time. (We're using SpiceDB to implement the authorization logic and checks) This works well for product agents because they can't add new execution paths. For coding agents, we've tinkered with plugins/skills to try to do the same but ultimately they can build their way around authorization layers that aren't part of the runtime system so it's something we're still trying to figure out.

---

[0] https://www.luiscardoso.dev/blog/sandboxes-for-ai

Re: NanoClaw solves one of OpenClaw's biggest security issues

#17
How is NanoClaw immune to the Lethal trifecta attack based on prompt injection that OpenClaw is also prone to?

https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/

Lethal trifecta:

1. Access to your private data

2. Exposure to untrusted content

3. The ability to externally communicate

Any combination of 1-3 or more skills can result in a prompt injection attack if it satisfies the above criteria - Gmail or sales personal data, Reddit or X posts or comments in white text, Gmail or Reddit or X to send confidential information to the attacker.

Re: NanoClaw solves one of OpenClaw's biggest security issues

#18
post #16
post #2

File system access is not one of OpenClaw's biggest security issues. If that were so, running it in a VM or another computer (I hear Mac Minis are popular!) would solve it. If you need it to do anything useful[0], you have to connect it to your data and give it action capabilities. All the dragons are there. If you play it careful and don't expose your data, comm channels, etc., then it's much like the other AI assis…

Agreed, sandboxing is only part of agent security. Authorization (what data the agent can access and what tools it can execute) is also a big part of it. I've found primer on agent sandboxes [0] is a great reference on sandboxing options and the trade-offs For agents there's a tension between level of restriction and utility. I think a large part of OpenClaw's popularity is that the lack of restriction by default has…

Sandboxing is great, and stricter Authorization policies are great too, but with these kinds of software, my biggest fear (and that's why I am not trying them out now) is prompt injection.

It just seems unsolvable if you want the agent to do anything remotely useful

Re: NanoClaw solves one of OpenClaw's biggest security issues

#19

How is NanoClaw immune to the Lethal trifecta attack based on prompt injection that OpenClaw is also prone to? https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/ Lethal trifecta: 1. Access to your private data 2. Exposure to untrusted content 3. The ability to externally communicate Any combination of 1-3 or more skills can result in a prompt injection attack if it satisfies the above criteria - Gmail or sale…

Prompt injection just seems unsolvable.

Are there works toward preventing it 100% of the time ? (I would assume the LLMs architectures would have to change)

Re: NanoClaw solves one of OpenClaw's biggest security issues

#20

How is NanoClaw immune to the Lethal trifecta attack based on prompt injection that OpenClaw is also prone to? https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/ Lethal trifecta: 1. Access to your private data 2. Exposure to untrusted content 3. The ability to externally communicate Any combination of 1-3 or more skills can result in a prompt injection attack if it satisfies the above criteria - Gmail or sale…

It is not immune, but it limits #1 and #2.

The "lethal trifecta" is a limited view on security, as it's mostly concerned with leaking data. This solution focuses on a different aspect: the ability of rogue actions (instead of rogue communications per #3).

Post reply on HN