nowfound

AI · January 20, 2026

Fence – Sandbox CLI commands with network/filesystem restrictions

Hi HN! Fence wraps any command in a sandbox that blocks network by default and restricts filesystem writes. Useful for running semi-trusted code (package installs, build scripts, unfamiliar repos) with controlled side effects, or even just blocking tools that phone home. > fence curl https://example.com # -> blocked > fence -t code -- npm install # -> template with registries allowed > fence -m -- npm install # -> monitor mode: see what gets blocked One use-case is to use it with AI coding agents to reduce the risk of running agents with fewer interactive permission prompts: >…

Fence – Sandbox CLI commands with network/filesystem restrictions launched on January 20, 2026 with 78 votes, #441 of 14,585 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 3% of January 2026

In plain words

Fence is a command-line sandbox tool that restricts network access and filesystem writes when executing commands. It blocks all network traffic by default and prevents unintended file modifications, making it useful for running untrusted code like package installations, build scripts, or unfamiliar repositories safely. It offers templates for common tasks like npm installs, a monitor mode to observe blocked actions, and integration with AI coding agents to reduce permission prompts.

written from the facts on this page · September 2026

From the sources

Lightweight, container-free sandbox for running commands with network and filesystem restrictions - fencesandbox/fence

In the maker’s words, at launch

Hi HN! Fence wraps any command in a sandbox that blocks network by default and restricts filesystem writes. Useful for running semi-trusted code (package installs, build scripts, unfamiliar repos) with controlled side effects, or even just blocking tools that phone home. > fence curl https://example.com #…

Does a similar job

all alternatives →
  • Fence2022 · ▲87

    AI powered security helping keep users safe online.

  • Zerobox – Sandbox any command with file, network, credential controlsMar 2026 · github.com · ▲141

    I'm excited to introduce Zerobox, a cross-platform, single binary process sandboxing CLI written in Rust. It uses the sandboxing crates from the OpenAI Codex repo and adds additional functionalities like secret injection, SDK, etc. Watch the demo: https://www.youtube.com/watch?v=wZiPm9BOPCg Zerobox follows the same sandboxing policy as Deno which is deny by default. The only operation that the command can run is reading files, all writes and network I/O are blocked by default. No VMs, no Docker, no remote servers. Want to block reads to /etc? zerobox…

  • A context-aware permission guard for Claude CodeMar 2026 · github.com · ▲127

    We needed something like --dangerously-skip-permissions that doesn’t nuke your untracked files, exfiltrate your keys, or install malware. Claude Code's permission system is allow-or-deny per tool, but that doesn’t really scale. Deleting some files is fine sometimes. And git checkout is sometimes not fine. Even when you curate permissions, 200 IQ Opus can find a way around it. Maintaining a deny list is a fool's errand. nah is a PreToolUse hook that classifies every tool call by what it actually does, using a deterministic classifier that runs in milliseconds. It maps commands to action types…

  • Tunnelling TCP through a file2024 · github.com · ▲180

    This program can be used to tunnel TCP connections through a file. People have used it for interesting things: - Bridging connections which would otherwise be blocked by a firewall - Tunneling through RDP (similar to an SSH tunnel) - Exposing a localhost web server to others Key features I put effort into: 1. The shared file is restarted every 10 MB, so it doesn't grow indefinitely. 2. Optimisations for latency & bandwidth. (800 Mbps on a Gigabit LAN. 108 Mbps if file tunneling through RDP) 3. Synchronisation between two sides (each side can be started and restarted in any order) I'd love to…

  • Fortress – a stealth Chromium so your agents stop getting blockedJul 2026 · github.com · ▲43

    Stealth Chromium engine that stops scrapers and browser agents from getting blocked, with one line of code change. - tiliondev/fortress

  • I built a Rust crate for running unsafe code safely2025 · github.com · ▲113

    A Rust crate for containing memory leaks and fragmentation - brannondorsey/mem-isolate

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 17d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 16d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 18d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 20d ago · stillwet.art

  • Onepin▲384

    AI voiceover with every name, price and date said right

    AI · 30d ago · onepin.ai

  • A real-time world model you can explore and change

    AI · 28d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2026

the whole month →
  • IN

    Hey HN! I wanted to share something I built over the last few weeks: isometric.nyc is a massive isometric pixel art map of NYC, built with nano banana and coding agents. I didn't write a single line of code. Of course no-code doesn't mean no-engineering. This project took a lot more manual labor than I'd hoped! I wrote a deep dive on the workflow and some thoughts about the future of AI coding and creativity: http://cannoneyed.com/projects/isometric-nyc

    AI · Jan 2026 · cannoneyed.com

  • Cowork▲1,088

    Turn Claude into your digital coworker

    AI · Jan 2026 · claude.com

  • DataFast▲867

    Revenue-first analytics

    Growth · Jan 2026 · datafa.st

  • OpenClaw▲836

    The AI that actually does things

    AI · Jan 2026 · openclaw.ai

  • Automatic AI-powered code reviews the moment you open a PR

    Dev tools · Jan 2026 · kilo.ai

  • AI Content Maker, for Social Media Publishing

    AI · Jan 2026 · postsyncer.com