News for hackers. Stuff that matters.
Re:Show HN: A MitM proxy to see what your LLM tools are sending by Havoc on Wednesday January 28, 2026 @06:05PM (#46802985)
You don't need to mess with certificates - you can point CC at a HTTP endpoint and it'll happily play along.

If you build a DIY proxy you can also mess with the prompt on the wire. Cut out portions of the system prompt etc. Or redirect it to a different endpoint based on specific conditions etc.

Re:Show HN: A MitM proxy to see what your LLM tools are sending by jmuncor on Wednesday January 28, 2026 @06:15PM (#46803113)
Have you tried this with Gemini? or Codex?
Re:Show HN: A MitM proxy to see what your LLM tools are sending by thehamkercat on Wednesday January 28, 2026 @07:02PM (#46803617)
Have tried with gemini-cli and claude-code both, it works, honestly, it should work with most if not all cli clients
Re:Show HN: A MitM proxy to see what your LLM tools are sending by jmuncor on Wednesday January 28, 2026 @09:37PM (#46805036)
Working on this feature right now!! Thank you for the suggestion, will start the branch for it... Whent think of improving the context window usage, now that with an http relay we can start thinking of intercepting the context window, anything that you think could be cool to implement?
Re:Show HN: A MitM proxy to see what your LLM tools are sending by jmuncor on Wednesday January 28, 2026 @10:28PM (#46805434)
Got it on the feature branch http-relay, let me know what you think!
Re:Show HN: A MitM proxy to see what your LLM tools are sending by Havoc on Thursday January 29, 2026 @03:23AM (#46807269)
I personally switched to opencode. The prompt I wanted to mess with - search - I don’t need to intercept there so less need for a proxy