AI Leaks Tweaker intercepts HTTPS traffic by running a local mitmproxy instance on port 8000. For this to work, your browser or operating system must be told to route traffic through the proxy, and you must install mitmproxy’s CA certificate so the tool can decrypt and modify encrypted responses. This page walks through every step.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cloudwaddie/aitweaker/llms.txt
Use this file to discover all available pages before exploring further.
Start the proxy
The GUI manages the mitmproxy process for you. Under the hood it runs:Open the Proxy tab
Launch AI Leaks Tweaker (
run.bat on Windows, ./run.sh on macOS/Linux), then click the Proxy tab in the main window.Click Start Proxy
Click the Start Proxy button. AI Leaks Tweaker starts
mitmdump in the background with the proxy.py addon script listening on port 8000.The Proxy tab includes a custom start command field in its settings. You can override the default
mitmdump command there if you need extra mitmproxy options (such as --ssl-insecure or --listen-host).Install the CA certificate
mitmproxy uses a custom root certificate to decrypt HTTPS traffic. You must install this certificate as a trusted root authority on your system before the proxy can modify AI responses.Start the proxy (if not already running)
The CA certificate is only served by mitmproxy while it is running. Make sure you have completed the steps above and the proxy is active.
Install the certificate
Choose one of the two methods below:Easy method (recommended): In the Proxy tab, click Open mitm.it to Get CA Certificate. This opens
http://mitm.it in your browser — a special page served by the running mitmproxy instance. Select your operating system and follow the on-screen download and installation instructions.Manual method: If the button does not work, locate the certificate file directly:- macOS / Linux
- Windows
The certificate is at:On macOS, double-click the file and add it to your System keychain, then open Keychain Access, find the mitmproxy certificate, and set it to Always Trust under TLS.
Configure your system proxy
After the certificate is installed, point your OS network settings (or your browser) to the local proxy.- Windows
- macOS
Monitor traffic in real time
The Proxy tab in AI Leaks Tweaker includes a live log viewer that displays output from themitmdump process as it runs. Each intercepted and modified request is logged with a [TERMINAL_LOG] prefix — for example: