Re:Ask HN: Do you trust AI agents with API keys / private keys?
by devendra116 on Sunday April 12, 2026 @11:09AM
(#47740628)
interesting, how do you use mitmproxy for calling openAI llm ? or what exactly you use it for ?
[ Parent
| on HN ]
Re:Ask HN: Do you trust AI agents with API keys / private keys?
by para_parolu on Friday April 17, 2026 @11:59AM
(#47807356)
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