SuperAPIAI Directory

greywall

github.com · AI coding

Greywall is a containerless sandbox for AI coding agents that enforces isolation of the filesystem, network, and system calls via the kernel on Linux and macOS, denying unauthorized access by default and preventing agents such as Claude Code, Cursor, and Codex from reading SSH keys or sensitive data outside the working directory.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Greywall is a containerless sandbox for AI coding agents, supporting Linux and macOS, and offering two complementary modes. greywall is the default-deny mode, allowing only explicitly permitted filesystem access, network connections, and system calls, preventing agents such as Claude Code, Cursor, and Codex from touching SSH keys, secrets, or content outside the working directory; greywatch (equivalent to greywall --watch) is the default-allow observation mode, skipping configuration loading, registering / allow rules with greyproxy, accepting all network requests but logging them on the dashboard, and being more permissive with the filesystem, used to first observe tool behavior before deciding on the scope of restrictions. Both modes route network connections through the greyproxy transparent proxy and come with a real-time allow/deny dashboard. Using --learning traces the permissions a command requires and automatically generates a least-privilege configuration. Main capabilities include: default-deny filesystem (only the working directory is accessible), network isolation, dangerous command interception (such as rm -rf /, git push --force), built-in configurations for agents such as Claude Code, Cursor, Codex, Aider, Goose, Gemini, OpenCode, Amp, Cline, and Copilot, as well as toolchain configurations for Node, Python, Go, Rust, Java, Ruby, and Docker. On Linux it provides five layers of security: Bubblewrap namespaces, Landlock, Seccomp BPF, eBPF monitoring, and TUN-based network capture. Installation: on macOS you can use Homebrew, which also installs the greyproxy dependency; you can also use install.sh, make build, or the GitHub release archive (which contains only the greywall binary, so you need to create the greywatch alias yourself). On Linux, bubblewrap and socat are required, while xdg-dbus-proxy and libsecret-tools are optional, and you can check with greywall check. Configuration is read by default from ~/.config/greywall/greywall.json (on macOS, ~/Library/Application Support/greywall/greywall.json), and can be specified with --settings. By default, traffic goes through the SOCKS5 proxy at localhost:43052, and DNS goes through localhost:43053. Greywall is a fork of Fence, uses the Apache License 2.0, and can also be used as a Go package. Limitations: only Linux and macOS are supported, and details of platform support should be checked in the official documentation; in observation mode, mandatory deny rules and credential substitution are still retained.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools