frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Nono – Kernel-enforced sandboxing for AI agents

https://nono.sh
3•decodebytes•1h ago
Hey HN

Luke here.

I built nono and got it out quick then I expected, in response to the openclaw carnage, but its use is beyond openclaw.

The problem: AI agents execute code on your machine. Prompt injections, hallucinations, or compromised tools can read ~/.ssh, exfiltrate credentials, or worse. Application-level sandboxes can be bypassed by the code they're sandboxing.

I have been around security for a long old time now (i started something called sigstore a few years back) and have seen this pattern so many times before.

The solution pitch: nono uses OS-level isolation that userspace can't escape:

Linux: Landlock LSM (kernel 5.13+) macOS: Seatbelt (sandbox_init) After sandbox + exec(), there's no syscall to expand permissions. The kernel says no.

What it does:

nono run --read ./src --allow ./output -- cargo build nono run --profile claude-code -- claude nono run --allow . --net-block -- npm install nono run --secrets api_key -- ./my-agent

Filesystem: read/write/allow per directory or file Network: block entirely (per-host filtering planned) Secrets: loads from macOS Keychain / Linux Secret Service, injects as env vars, zeroizes after exec

Technical details:

Written in Rust. ~2k LOC. Uses the landlock crate on Linux, raw FFI to sandbox_init() on macOS. Secrets via keyring crate. All paths canonicalized at grant time to prevent symlink escapes.

Landlock ABI v4+ gives us TCP port filtering. Older kernels fall back to full network allow/deny. macOS Seatbelt profiles are generated dynamically as Scheme-like DSL strings.

Limitations:

macOS: Currently allows all reads to make executables work. Tightening in next release. Linux: Landlock doesn't cover everything (no UDP filtering until recent kernels, no syscall filtering - that's seccomp territory) No Windows support (yet?)

Origin:

Built this for OpenClaw (AI agent platform handling Telegram/WhatsApp messages). Needed real isolation, not "please don't read this file" isolation. Generalized it because every agent runner has this problem.

GitHub: https://github.com/lukehinds/nono Docs: https://docs.nono.dev Site: https://noto.sh

Apache 2.0. Would love feedback on the security model, especially from folks who've worked with Landlock or Seatbelt. Having said that, the code needs a good tidy and I am not exactly proud of it, so go easy on me!

Comments

sukinai•1h ago
This hits the real problem: once agents execute code, “please don’t read ~/.ssh” is not a security control. Kernel-enforced isolation + tight allowlists is. The secrets workflow (keychain/secret service → env → zeroize) is especially practical. Biggest thing I’d want as a user is very explicit docs on the remaining gaps (macOS read-permissive mode, procfs/env/subprocess behavior, and what Landlock can’t cover yet vs seccomp). If that’s clear, this could be a default wrapper for local agent runs.
grigio•8m ago
nice project, it seems the only non-broken websites are Github and nono.sh

Zombie (Album, 1976)

https://en.wikipedia.org/wiki/Zombie_(album)
1•defrost•3m ago•0 comments

We (As a Society) Peaked in the 90s

https://chris.pagecord.com/we-as-a-society-peaked-in-the-90s
1•stog•7m ago•0 comments

Show HN: Specmark – annotate Markdown for AI feedback

https://specmark.dev/
1•jlbrooks•8m ago•0 comments

Show HN: I hated an audiobook narrator, so I built a voice cloning ePub reader

https://github.com/jarodise/ClonEpub-Pocket
1•jarodise•9m ago•0 comments

Decomp Dev

https://decomp.dev/projects
1•aizk•9m ago•1 comments

Pushing Simulation to the Limit to Find Order in Chaos [video]

https://www.youtube.com/watch?v=8jVogdTJESw
1•bane•9m ago•0 comments

Explain Plan Visualizer by Datadog

https://explain.datadoghq.com/
1•enamya•11m ago•1 comments

Show HN: MailMolt – Email identity for AI agents

https://mailmolt.com
1•rakesh_roushan•13m ago•0 comments

I built a pSEO engine – menipages

https://menipages.com
1•chiswanjo•13m ago•0 comments

Show HN: ShotAPI – open-source screenshot API (free tier, no signup)

https://github.com/shotapi/api
1•weekendmaker•16m ago•0 comments

Show HN: Ideas.gd – a place for agents to discuss big ideas

1•neom•16m ago•0 comments

Show HN: RepoExplainer – AI explanations for any GitHub repo

https://repex.thienbao.dev/
2•baobaoyc24•20m ago•0 comments

DuckStation now blocks building on NixOS

https://old.reddit.com/r/emulation/comments/1qsbxvp/duckstation_now_blocks_building_on_nixos/
1•akyuu•20m ago•0 comments

Show HN: ADHD – Focus Tool for macOS

https://github.com/flowy-live/adhd
1•talksik•21m ago•0 comments

The Rise of Smash-and-Grab Diplomacy in a World of Resource Scarcity

https://oilprice.com/Geopolitics/North-America/The-Rise-of-Smash-and-Grab-Diplomacy-in-a-World-of...
2•PaulHoule•23m ago•0 comments

Four Ways to Migrate to Event Sourcing

https://docs.eventsourcingdb.io/blog/2026/02/02/four-ways-to-migrate-to-event-sourcing/
2•goloroden•23m ago•0 comments

Iranian Propaganda on Wikipedia Is Reshaping the Protest Narrative

https://www.neutralpov.com/p/a-flood-of-iranian-propaganda-on
1•namirez•24m ago•0 comments

News Tower

https://en.wikipedia.org/wiki/News_Tower
2•doener•24m ago•0 comments

Abusers using AI and digital tech to attack and control women, charity warns

https://www.theguardian.com/society/2026/jan/30/abusers-using-ai-and-digital-tech-to-attack-and-c...
3•binning•25m ago•0 comments

Show HN: Consuela – "No no no I clean." An autonomous codebase janitor

https://github.com/TeoSlayer/consuela
2•teocalin37•25m ago•1 comments

People keep probing my static site for WordPress stuff. Built them a login page

https://twitter.com/mattrothenberg/status/2017640382218072369
3•rmason•27m ago•0 comments

What is the nature of women?

https://lucyleader.substack.com/p/what-is-the-nature-of-women
1•binning•28m ago•0 comments

Show HN: NanoClaw – “Clawdbot” in 500 lines of TS with Apple container isolation

https://github.com/gavrielc/nanoclaw
34•jimminyx•29m ago•5 comments

The Epstein Scandal: a few questions that have not been asked

https://radleftunity.substack.com/p/why-the-child-the-manifestations
1•binning•29m ago•0 comments

Why the World Must Measure Well-Being, Not GDP

https://worldsensorium.com/why-the-world-must-measure-well-being-not-gdp/
1•dnetesn•33m ago•0 comments

Can We Protect Science?

https://nautil.us/can-we-protect-science-1264227/
1•dnetesn•34m ago•0 comments

Show HN: Swift Invoice

https://swiftinvoice.biz
1•CO_Curtis•34m ago•0 comments

They Said They Weren't Close to Epstein. New Documents Show Otherwise

https://www.nytimes.com/2026/01/31/us/epstein-powerful-men.html
4•doener•38m ago•1 comments

Show HN: Vector Inspector – A forensic tool for vector databases

https://vector-inspector.divinedevops.com
1•spitefowl•38m ago•1 comments

Show HN: API Client for macOS

1•lawgimenez•39m ago•0 comments