Latest / Security & privacy

Fence

github.com · Open source · Active

Runs commands in a sandbox with network and filesystem restrictions

Visit github.com ↗Share

Stars
1k
Forks
44
Open issues
37
Last commit
Releases
68
Found
10 months ago

GitHub figures as of . They are context, not a ranking.

Fence is an open-source Go command-line tool that wraps any command in a sandbox. Network access is blocked by default, filesystem writes are restricted, and a monitor mode shows what would be blocked. It suits developers who run package installs, build scripts or AI coding agents with fewer risks.

Repository description on GitHub: “Lightweight, container-free sandbox for running commands with network and filesystem restrictions”

What it does

  • Blocks network access by default for wrapped commands
  • Restricts filesystem writes with configurable rules
  • Monitor mode shows what would be blocked
  • Templates such as code that allow package registries

Good for

  • Run an unfamiliar repo's install scripts without network access
  • Wrap an AI coding agent in a sandbox as an extra layer

Suits: Developers running untrusted package installs or build scripts.

What you can try

Read the README on GitHub and install from source.

Install

brew install fencesandbox/tap/fence
go install github.com/fencesandbox/fence/cmd/fence@latest

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Fence on , when jy-tan posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Fence had been shipping tagged releases for 33 days before it was found. 68 releases have been published in total; the latest is v0.1.67 ().

Day-7 and day-30 updates

Day 7 6 releases shipped

Checked , later than day 7 because tracking began after.

Day 30 17 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 14). Based on the most recent releases on record.
  1. Repository created on GitHub: Use-Tusk/fence
  2. Release v0.1.0
  3. Found: jy-tan posted it to Show HN. Show HN
  4. Release v0.1.62
  5. Release v0.1.63
  6. Release v0.1.64
  7. Release v0.1.65
  8. Release v0.1.66
  9. Release v0.1.67
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 68 releases. All releases on GitHub

Quick answers

When was Fence released?
Its first tagged release on GitHub is dated 19 Dec 2025. Kip found it on Show HN on 20 Jan 2026.
Is Fence open source?
Its source is public on GitHub at Use-Tusk/fence under the Apache-2.0 licence.
What does Fence run on?
Command line, Linux, macOS.
Is Fence free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Fence still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryUse-Tusk/fence
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-46695467. Summary written by KipFound’s editor.

Share

Similar tools

More in Security & privacy

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.