It works for any process, not just Claude Code. I got it working with Codex CLI like this:
httpjail --js "r.host === 'chatgpt.com'" -- codex
brew upgrade rust cargo install httpjail
simonw•2h ago
It works for any process, not just Claude Code. I got it working with Codex CLI like this:
After installing it using Cargo (and Homebrew): I wrote more notes about it here: https://simonwillison.net/2025/Sep/19/httpjail/