Last checked: 2026-11-29
To see what an app or website sends over HTTPS, something has to sit in the middle of the connection. mitmproxy does that from the terminal, listing each request as it happens so you can open it, change it or resend it.
What it does well
- Three tools.
mitmproxyis an interactive console interface,mitmwebshows the same traffic in a browser, andmitmdumpruns without interaction, for scripts. - Intercept and replay. Pause a request or response, edit it before it continues, and replay earlier requests.
- Python addons. A short Python script can rewrite headers, redirect a host or answer a request itself.
- Several capture modes. Besides a regular proxy on port 8080, it can capture apps on the same Mac with
--mode localor work as a reverse proxy.
Who it is for
Developers, testers and security researchers at home in a terminal who want to script traffic inspection.
Good to know
There is no Mac app to drag to Applications: mitmproxy is a set of command-line programs, and you set up the proxy and trust its certificate yourself. If you prefer a native window that handles this, Proxyman or Charles are easier.
How to install
- In Terminal, run
brew install --cask mitmproxy; without Homebrew, download the macOS binaries for your chip. - Run
mitmproxy, ormitmwebfor the browser interface. - Set your browser or device to use the Mac as its HTTP proxy on port 8080.
- Open
http://mitm.itthrough the proxy and install the certificate it offers.
FAQ
Is mitmproxy free?
Yes. mitmproxy is free, open-source software under the MIT licence.
Does mitmproxy have a graphical interface?
Not as a Mac window, but the mitmweb command opens a web interface in your browser with the main features. mitmproxy itself is a keyboard-driven interface in Terminal.
How does mitmproxy read HTTPS traffic?
It generates its own certificate authority. Once you install and trust that certificate on the device you are testing, mitmproxy can decrypt the HTTPS traffic that passes through it.
Is it safe?
Apps downloaded outside the App Store make macOS ask for confirmation on first launch. If macOS blocks the app, see our security-warning guide.
Does it run on your Mac?
No reports yet. Tried it? Be the first to say how it went.
| macOS | 27 | 26 Tahoe | 15 Sequoia | 14 Sonoma | 13 Ventura | 12 Monterey | ≤11 |
|---|---|---|---|---|---|---|---|
| Apple Silicon | |||||||
| Intel |
Not sure? Apple menu → About This Mac → "Chip" (M1–M5) or "Processor" (Intel).
Installation & Troubleshooting
How do I disable SIP and grant Terminal Full Disk Access?
System Integrity Protection shields core macOS files. Leave it on unless a developer's own instructions call for changing it; Terminal needs Full Disk Access to run some install scripts.
How do I open an app that Gatekeeper blocks?
Gatekeeper and quarantine trigger "damaged" or "unidentified developer" warnings. Allow the app with Open Anyway in System Settings → Privacy & Security, or clear the quarantine flag with xattr.
Why do I see security warnings when opening an app?
"Unidentified developer" and "cannot verify" warnings appear for apps Apple has not notarized. After the first blocked launch, click Open Anyway in System Settings → Privacy & Security.
What if the app is damaged or the disk image is corrupted?
"App is damaged and can't be opened" comes from quarantine flags; clear them with xattr -cr on the app. A corrupted DMG usually means an interrupted download.
What is Rosetta 2 and how do I install it?
Rosetta 2 lets Apple Silicon Macs run Intel apps. Install it with softwareupdate --install-rosetta in Terminal.
Why can't I install this app on an Intel Mac?
Some releases are Apple-Silicon-only and will not install on Intel due to architecture mismatch. Use a universal build or an Intel-matched release.
How to fix Adobe app installation errors?
Most Adobe install failures on Apple Silicon come from a missing Rosetta 2 or a stuck Creative Cloud helper. Install Rosetta, quit CCXProcess in Activity Monitor and run the installer again.
What to use instead of Launchpad on macOS 26?
macOS 26 replaced Launchpad with the Apps view in Spotlight. Use Spotlight, the Apps view or a third-party launcher to find and open apps.