Hacker News new | ask | show | jobs
by devendra116 62 days ago
interesting, how do you use mitmproxy for calling openAI llm ? or what exactly you use it for ?
1 comments

Mitmproxy it to avoid giving model access to secrets.

My assistant lives in ubuntu vm. When I ask it to “check email” it uses imap with password “xyz” and fetches emails.

But my mail password is actually “abc”. Mitmproxy outside of vm replaces all “xyz” to “abc” for outgoing requests. And reverse for incoming