mitmproxy
mitmproxy intercepts HTTP and HTTPS traffic with three interfaces: a terminal UI, a web UI, and the mitmdump CLI for scripted runs. It is open source under the MIT license. It runs on Linux, macOS, and Windows.
Updated
- Pricing
- Open Source
- License
- MIT
- Platforms
- Linux, macOS, Windows
- Category
- Penetration Testing Tools
What Is mitmproxy?
mitmproxy intercepts HTTP and HTTPS traffic with three interfaces: a terminal UI, a web UI, and the mitmdump CLI for scripted runs. Python addons rewrite traffic on the fly, and replay modes re-send captured or modified requests. Support covers HTTP/1, HTTP/2, HTTP/3, and WebSockets, and the project is free and open source under the MIT license.
Use Cases
Scriptable traffic interception where automation matters more than the GUI.
Strengths and Limitations
Strengths
- +Python addon API enables custom traffic manipulation.
- +Free and open source under the MIT license.
- +Strong protocol coverage including HTTP/3.
Limitations
- -HTTPS decryption requires installing the mitmproxy CA certificate on each client.
- -Applications that use certificate pinning reject mitmproxy certificates unless modified.
Defensive Use
Verifying that applications enforce trust boundaries correctly by replaying crafted requests.
mitmproxy Alternatives
3 tools| Tool | License | Platforms | Pricing |
|---|---|---|---|
| Burp Suite Web vulnerability assessment platform and intercepting proxy suite for testing web applications, APIs, and access controls. | Proprietary | Windows, macOS, Linux | Free / Commercial |
| Caido Lightweight web security auditing proxy offering HTTP traffic interception and workflow automation. | Proprietary | Linux, macOS, Windows | Free / Commercial |
| ZAP Open-source web application security scanner and intercepting proxy for detecting web flaws during development and testing. | Apache-2.0 | Linux, Windows, macOS | Free / Commercial |
Frequently Asked Questions
What is mitmproxy?→
mitmproxy intercepts HTTP and HTTPS traffic with three interfaces: a terminal UI, a web UI, and the mitmdump CLI for scripted runs. Python addons rewrite traffic on the fly, and replay modes re-send captured or modified requests. Support covers HTTP/1, HTTP/2, HTTP/3, and WebSockets, and the project is free and open source under the MIT license.
What is mitmproxy used for?→
Scriptable traffic interception where automation matters more than the GUI.
What are the strengths of mitmproxy?→
- +Python addon API enables custom traffic manipulation.
- +Free and open source under the MIT license.
- +Strong protocol coverage including HTTP/3.
What are the limitations of mitmproxy?→
- +HTTPS decryption requires installing the mitmproxy CA certificate on each client.
- +Applications that use certificate pinning reject mitmproxy certificates unless modified.
How is mitmproxy used defensively?→
Verifying that applications enforce trust boundaries correctly by replaying crafted requests.