frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Run NanoClaw in Docker Sandboxes

https://nanoclaw.dev/blog/nanoclaw-docker-sandboxes/
78•outofdistro•2h ago

Comments

whalesalad•1h ago
All the sandboxing stuff is neat but the weakest link in these claw setups is not root access on the machine but root access to your life (Gmail, calendar, etc)
causal•1h ago
This is true, but the attack surface on your life is decreased by better security around the entire setup.

But I fundamentally agree that there is just too much overlap between what makes claws useful and what makes them insecure.

wild_egg•1h ago
why give it root access to your life? i don't use these tools but it seems like you should never give anything that access. if a claw needs email, set up a google account just for it and forward relevant stuff to it. share your calendar with it. whatever, just don't let it "be" you.

access control, provisioning, and delegation have been solved for a very long time now.

causal•1h ago
I like NanoClaw a lot. I found OpenClaw to be a bloated mess, NanoClaw implementation is so much tighter.

It's also the first project I've used where Claude Code is the setup and configuration interface. It works really well, and it's fun to add new features on a whim.

systemerror•1h ago
what workflows do you implement in Nanoclaw that wouldn't be straightforward to build in Claude?
causal•59m ago
Straightforward is ambiguous. To replicate NanoClaw would probably only take about a day of work and testing and refining in Claude Code, but that's a day I didn't have to spend to get NanoClaw.
jryio•1h ago
You must explicitly state what your threat model is when writing about security tooling, isolation, and sandboxing.

This threat model is concerned with running arbitrary code generated by or fetched by an AI agent on host machines which contain secrets, sensitive files, and/or exfoliate data, apps, and systems which should not be lost.

What about the threat model where an agent deletes your entire inbox? Or sends your calendar events to a server after prompt injection? Bank transfers of the wrong amount to the wrong address etc. all these are allowed under the sandboxing model.

We need fine grained permissions per-task or per-tool in addition to sandboxing. For example: "this request should only ever read my gmail and never write, delete, or move emails".

Sandboxes do not solve permission escalation or exfiltration threats.

CuriouslyC•1h ago
I built an agent framework designed from the ground up around policy control (https://github.com/sibyllinesoft/smith-core) and I'm in the process of extracting the gateway from it so people can provide that same policy gated security to whatever agent they want (https://github.com/sibyllinesoft/smith-gateway).

My posts about these aspects of agent security get zero engagement (not even a salty "vibe slop" comment, lol), so ironically security is the thing everyone's talking about, but most people don't know enough to understand what they need.

0cf8612b2e1e•1h ago
You mean like the section which goes into the threat model?

  The Security Model: Design for Distrust

  I wrote about this in Don’t Trust AI Agents: when you’re building with AI agents, they should be treated as untrusted and potentially malicious. Prompt injection, model misbehavior, things nobody’s thought of yet. The right approach is architecture that assumes agents will misbehave and contains the damage when they do…
croes•19m ago
Don‘t you see the contradiction?

I don’t trust the agent so I sandbox it before I gave it the access data to my mail and bank accounts

jryio•3m ago
Correct
_pdp_•1h ago
The main issue is not so much if it needs to run inside a container or not (and to be honest there are even better isolation models, why not firecracker vm). The main issue is what are you going to do with it.

It does not really matter.

IMHO, until you figure out useful ways to spend tokens to do useful tasks the runtime should be a second thought.

As far as security goes, running LLM in a container in just simply not enough. What matters is not what files it can edit on your machine but what information it can access. And the access in this case as far as these agents are concerned is basically everything. If this does not scare you you should not be thinking about containers.

pploug•28m ago
Docker sandboxes uses a MicroVM as an additional isolation layer - its not just containers (as also mentioned in the nanoclaw post)
theptip•1h ago
They may seem like small details, but I think a couple novel design decisions are going to prove to be widely adopted and revolutionary.

The biggest one (as Karpathy notes) is having skills for how to write a (slack, discord, etc) integration, instead of shipping an implementation for each.

Call it “Claude native development” if you will, but “fork and customize” instead of batteries-included platforms/frameworks is going to be a big shift when it percolates through the ecosystem.

A bunch of things you need to figure out, eg how do you ship a spec for how to test and validate the thing, make it secure, etc.

How long before OSs start evolving in this way? You can imagine Auto research-like sharing and promotion upstream of good fixes/approaches, but a more heterogenous ecosystem could be more resistant to attacks if each instance had a strong immune system.

primer42•42m ago
I get the appeal but I disagree

The strength of open source software is collaboration. That many people have tried it, read it, submitted fixes and had those fixes reviewed and accepted.

We've all seen LLMs spit out garbage bugs on the first few tries. I've written garbage bugs on my first try too. We all benefit from the review process.

I would rather have a battle tested base to start customizing from than having to stumble through the pitfalls of a buggy or insecure AI implementation.

eli•23m ago
Troubleshooting "works on my machine" issues most be fun when no two people have exactly the same implementation.

Also seems like this will further entrench the top 2 or 3 models. Use something else and your software stack looks different.

tmaly•25m ago
I have thought of this ship a spec concept. What is we are just trading markdown files instead of code files to implement some feature into our system?
MartiCarmona•1h ago
Does getviktor use NanoClaw?
jbstack•59m ago
As an aside, app descriptions that just say "a lightweight alternative to X" are very unhelpful. That tells me nothing if I don't know what X does, and I don't want to have to go down a rabbit hole just to understand your product. It's particularly bad in this case, because even OpenClaw's Github page doesn't clearly tell me what it actually does; just that it's some kind of assistant that I can communicate with via WhatsApp etc. I appreciate that many people are already familiar with OpenClaw, but you shouldn't assume.

It's better if your app's description just tells me what it does in a direct way using plain language. It's fine to tell me it's an alternative to something, but that should be in addition to rather than instead of your own description.

lxgr•59m ago
Docker sandboxes sound exactly like what Apple is doing with their `container` framework. It's missing several Docker features still, but if I were to pick a minimal, native runtime, it would probably be that, not the multi-gigabyte monster that is Docker for macOS.

On Linux, however, I absolutely don't want a hypervisor on my quite underpowered single-board server. Linux namespaces are enough for what I want from them (i.e. preventing one of these agent harnesses to hijack my memory, disk, or CPU). I wonder why neither OpenClaw nor NanoClaw seem to offer a sanely configured, prebuilt, and frequently updated Docker image?

worldsayshi•58m ago
What are the most obvious use cases for Nano/Open-Claw. I can't imagine anything obvious that I'd want to use it for. Is it supposed to run your digital life for you?
jdgoesmarching•54m ago
Hooking it up to your todo app and texting your bot to manage things. Assuming you’re a heavy todo app person that could benefit from such things.
jbstack•2m ago
What do you mean by "manage things"? If you mean adding/updating/completing tasks, why not just do that directly in the app? Or do you mean that it will take your tasks and perform them for you?
strickjb9•44m ago
The non-answer is anything you want.

For me, it's my diet and workout buddy. It knows my goals, keeps me on track, does meal planning for me, gives me grocery lists, logs what I eat, when I exercise... anything I want so I don't slack off.

I've enhanced Nanoclaw quite a bit. Moved it to Apple containers (shipped with this Skill already). Then I wrote an API for Nanoclaw to use (food log, workouts, etc), then implemented long-term memory using LanceDB (because I was tired of repeating myself!).

Eggpants•47m ago
What I found interesting is nanoclaw isn’t a working product out of the box. You must use a coding agent to complete it with features you want. For example add iMessage support, etc.

In other words, Claude is the compiler.

Drupon•32m ago
I love how NanoClaw looks, but I simply can't bring myself to give Israeli software like this access to any of my systems.
lcrisci•27m ago
Docker sandboxes are a neat way to contain AI agents. It spins a dedicated microVM and its Docker daemon for each agent container together with a flexible egress proxy to go with it. I've spent some time reverse engineering it and it's an interesting piece of implementation.
behrlich•12m ago
I've been working on a similar idea to the "claws" but rather than integrating with messaging apps, just make the TUI available e2e encrypted where-ever you are. https://wingthing.ai/ / https://github.com/ehrlich-b/wingthing

I've been thinking about how docker support would work, so I'll check this out!

TUI Studio – visual terminal UI design tool

https://tui.studio/
305•mipselaer•5h ago•184 comments

I traced $2B in grants and 45 states' lobbying behind age‑verification bills

https://old.reddit.com/r/linux/comments/1rshc1f/i_traced_2_billion_in_nonprofit_grants_and_45/
773•shaicoleman•5h ago•313 comments

Bucketsquatting is (finally) dead

https://onecloudplease.com/blog/bucketsquatting-is-finally-dead
235•boyter•7h ago•118 comments

Launch HN: Spine Swarm (YC S23) – AI agents that collaborate on a visual canvas

https://www.getspine.ai/
45•a24venka•2h ago•46 comments

Meta Platforms: Lobbying, Dark Money, and the App Store Accountability Act

https://github.com/upper-up/meta-lobbying-and-other-findings
11•SilverElfin•54m ago•1 comments

Launch HN: Captain (YC W26) – Automated RAG for Files

https://www.runcaptain.com/
4•CMLewis•23m ago•0 comments

Willingness to look stupid

https://sharif.io/looking-stupid
593•Samin100•4d ago•208 comments

Monster Is the Machine

https://kirkcenter.org/reviews/monster-is-the-machine/
25•freediver•4d ago•5 comments

E2E encrypted messaging on Instagram will no longer be supported after 8 May

https://help.instagram.com/491565145294150
163•mindracer•3h ago•76 comments

Okmain: How to pick an OK main colour of an image

https://dgroshev.com/blog/okmain/
140•dgroshev•4d ago•33 comments

The Mrs Fractal: Mirror, Rotate, Scale

https://www.4rknova.com//blog/2025/06/22/mrs-fractal
15•ibobev•4d ago•2 comments

Executing programs inside transformers with exponentially faster inference

https://www.percepta.ai/blog/can-llms-be-computers
216•u1hcw9nx•1d ago•75 comments

Run NanoClaw in Docker Sandboxes

https://nanoclaw.dev/blog/nanoclaw-docker-sandboxes/
79•outofdistro•2h ago•28 comments

Can I Run AI locally?

https://www.canirun.ai/
20•ricardbejarano•3h ago•4 comments

Dijkstra's Crisis: The End of Algol and Beginning of Software Engineering (2010) [pdf]

https://www.tomandmaria.com/Tom/Writing/DijkstrasCrisis_LeidenDRAFT.pdf
36•ipnon•4d ago•4 comments

Show HN: What was the world listening to? Music charts, 20 countries (1940–2025)

https://88mph.fm/
68•matteocantiello•2d ago•31 comments

What we learned from a 22-Day storage bug (and how we fixed it)

https://www.mux.com/blog/22-day-storage-bug
24•mmcclure•3d ago•2 comments

“This is not the computer for you”

https://samhenri.gold/blog/20260312-this-is-not-the-computer-for-you/
758•MBCook•14h ago•297 comments

Two long-lost episodes of 'Doctor Who' have been found

https://apnews.com/article/doctor-who-lost-episodes-found-daleks-6849b09faa6eca9377b2a0db45d47ff8
14•cf100clunk•1h ago•3 comments

Ceno, browse the web without internet access

https://ceno.app/en/index.html?
98•mohsen1•9h ago•26 comments

ATMs didn’t kill bank teller jobs, but the iPhone did

https://davidoks.blog/p/why-the-atm-didnt-kill-bank-teller
485•colinprince•1d ago•501 comments

Parallels Confirms MacBook Neo Can Run Windows in a Virtual Machine

https://www.macrumors.com/2026/03/13/macbook-neo-runs-windows-11-vm/
18•tosh•1h ago•17 comments

Source code of Swedish e-government services has been leaked

https://darkwebinformer.com/full-source-code-of-swedens-e-government-platform-leaked-from-comprom...
157•tavro•6h ago•138 comments

IMG_0416 (2024)

https://ben-mini.com/2024/img-0416
164•TigerUniversity•4d ago•38 comments

Vite 8.0 Is Out

https://vite.dev/blog/announcing-vite8
459•kothariji•11h ago•148 comments

Enhancing gut-brain communication reversed cognitive decline in aging mice

https://med.stanford.edu/news/all-news/2026/03/gut-brain-cognitive-decline.html
357•mustaphah•23h ago•171 comments

An old photo of a large BBS (2022)

https://rachelbythebay.com/w/2022/01/26/swcbbs/
250•xbryanx•20h ago•167 comments

Gvisor on Raspbian

https://nubificus.co.uk/blog/gvisor-rpi5/
31•_ananos_•6h ago•8 comments

Bubble Sorted Amen Break

https://parametricavocado.itch.io/amen-sorting
369•eieio•22h ago•114 comments

NASA targets Artemis II crewed moon mission for April 1 launch

https://www.npr.org/2026/03/12/nx-s1-5746128/nasa-artemis-ii-april-launch
7•Brajeshwar•39m ago•0 comments