[–] simonw 9mo ago ↗ This describes httpjail, a new Rust sandbox proxy tool: https://github.com/coder/httpjailIt works for any process, not just Claude Code. I got it working with Codex CLI like this: httpjail --js "r.host === 'chatgpt.com'" -- codex After installing it using Cargo (and Homebrew): brew upgrade rust cargo install httpjail I wrote more notes about it here: https://simonwillison.net/2025/Sep/19/httpjail/
[–] mandrade2 9mo ago ↗ > Allow only GET requests i.e. make the internet read-onlyIf only developers never made use of GET to modify resources...https://www.reddit.com/r/webdev/comments/6999x7/comment/dh4v... [–] userbinator 9mo ago ↗ Ironically, your URL demonstrates this nicely, having a bunch of extra superfluous parameters that only serve to update some tracking database. Here is the "cleaned" URL: https://www.reddit.com/r/webdev/comments/6999x7/comment/dh4v...I thought it'd be this old but memorable article: https://thedailywtf.com/articles/The_Spider_of_Doom
[–] userbinator 9mo ago ↗ Ironically, your URL demonstrates this nicely, having a bunch of extra superfluous parameters that only serve to update some tracking database. Here is the "cleaned" URL: https://www.reddit.com/r/webdev/comments/6999x7/comment/dh4v...I thought it'd be this old but memorable article: https://thedailywtf.com/articles/The_Spider_of_Doom
4 comments
[ 3.2 ms ] story [ 59.1 ms ] threadIt 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/0. https://news.ycombinator.com/item?id=45307459
If only developers never made use of GET to modify resources...
https://www.reddit.com/r/webdev/comments/6999x7/comment/dh4v...
I thought it'd be this old but memorable article: https://thedailywtf.com/articles/The_Spider_of_Doom