Automic VaultAutomic Vault

brew

Install fence with Homebrew, Nix

Lightweight sandbox for commands with network and filesystem restrictions. Version 0.1.62 via Homebrew; verified 2026-07-04.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install fence

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#fence

nixpkgs package indexes · pkgs/by-name/fe/fence/package.nix · source: api.github.com

overview

Package summary

Lightweight sandbox for commands with network and filesystem restrictions

Commands and aliases

  • fence

history

Project history and usage

Fence is a command sandbox and permission layer for running semi-trusted commands with default-deny network access and configurable filesystem and command rules.

Project history

The official README states that Fence moved from github.com/Use-Tusk/fence to github.com/fencesandbox/fence, with migration instructions for Homebrew tap users and Go installs. GitHub releases show an initial v0.1.0 release in December 2025 and frequent v0.1.x releases through June 2026.

The documentation positions Fence as a host-native sandbox rather than a container or VM. On macOS it uses sandbox-exec; on Linux it uses bubblewrap with Landlock and seccomp.

Adoption history

Fence's official README emphasizes AI coding-agent workflows and names Claude Code, Codex, Amp, Gemini CLI, GitHub Copilot, OpenCode, and Factory CLI as compatible commands. Packaging is still young, with Homebrew tap, Nix, curl installer, Go install, and source builds documented by upstream.

How it is used

Basic usage wraps a command with network access blocked by default. Users can apply templates, monitor blocked requests, deny dangerous commands, configure filesystem read/write rules, and inspect the merged config with fence config show.

Why package nerds care

Fence is significant as a post-agent-era CLI package: instead of being an agent, package manager, or container runtime, it wraps arbitrary developer commands with reusable policy. That makes it relevant to package installation scripts, build scripts, CI jobs, and coding-agent sessions.

Timeline

  • 2025: v0.1.0 released on 2025-12-19.
  • 2026: Project README documents migration from Use-Tusk/fence to fencesandbox/fence.
  • 2026: v0.1.61 released on 2026-06-22.

Related projects

  • The README credits Anthropic's sandbox-runtime as inspiration.
  • bubblewrap, Landlock, seccomp, and macOS sandbox-exec are underlying or related sandboxing technologies.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for fence. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./fence.jsonc./fence.json~/.config/fence/fence.jsonc~/.config/fence/fence.json

executables

Installed executables

CommandKindExposureNote
fencecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.1.62
manager updated2026-07-04
local dataok
upstreamcurrent
latest detectedv0.1.62

https://github.com/fencesandbox/fence

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:fence
Version0.1.62
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/fence
Homepagehttps://github.com/fencesandbox/fence
Repositoryhttps://github.com/fencesandbox/fence
Upstream docshttps://fencesandbox.com/docs
LicenseApache-2.0
Source archivehttps://github.com/fencesandbox/fence/archive/refs/tags/v0.1.62.tar.gz
Last updated2026-07-04T17:45:23Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefence
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

fence

nix profile install nixpkgs#fence
  • normalized package name match
  • Matched by: Fence
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fe/fence/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment