httpjail: Fine-grained HTTP Filtering for AI Agents
2025-09-23
As AI agents become more powerful, so do the security risks. httpjail is a tool providing fine-grained HTTP(S) filtering, allowing developers to control agent network access with JavaScript expressions or custom scripts. This prevents data leaks and malicious actions. It operates in two modes: strong (using Linux namespaces and nftables) and weak (using environment variables), and features TLS interception for secure HTTPS traffic. While no system is perfectly secure, httpjail offers significant improvements to the safety of using powerful AI agents.
(ammar.io)
Development
HTTP Filtering