Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

1 results for “httpjail”

Newest and most relevant first

httpjail

Coding agents like Claude Code and Codex CLI can now be sandboxed with fine-grained HTTP filtering, making it practical to let AI agents run with restricted network access.

A new tool called httpjail lets you run a program, like an AI coding assistant, while blocking most of its internet access. It works like a checkpoint that only allows connections to approved websites, such as the AI service the assistant needs. Rules are written in JavaScript, a common programming language. The tool is experimental, made by a developer at a company called Coder.

httpjail, an experimental open-source tool from Coder developer Ammar Bandukwala, targets a real risk: AI coding agents making unwanted network requests. It is free, written in Rust, and installable via Cargo. Being early-stage, it is not production-ready, but teams deploying Claude Code or Codex CLI gain a workable network sandbox today. Competing sandboxing approaches remain harder to configure.

httpjail runs a local proxy and sets HTTP_PROXY/HTTPS_PROXY for the sandboxed process, filtering requests with JavaScript expressions via embedded V8 or with shell scripts. On Linux it adds nftables rules to block non-HTTP traffic, supports --docker-run to launch containers restricted to the proxy, and can MITM HTTPS by generating its own certificate. Willison verified blocking works with Codex CLI; the project is explicitly experimental.

Simon Willison’s Weblog →