MITM
Every HTTP request, WebSocket and HTTPS connection of the device through the session's own traffic proxy, with HTTPS decrypted by a per-session CA when you turn it on.
The MITM tab shows the device’s traffic as it passes through a proxy in the session’s agent: every request of the app, from its WebViews and from its native code alike (OkHttp, Cronet, game engines), and of every other process on the device. It holds three views: Requests, Cache and WebSockets.
When the tab is there
Section titled “When the tab is there”In sessions on Android containers (redroid) with a VPN
configured, unless the server turned the proxy off (vpn.mitm: false, see
Emulator configuration). The VPN sidecar
hands the proxy the device’s TCP connections to ports 80 and 443, and
blocks QUIC (HTTP/3 over UDP 443), so apps and browsers fall back to TCP at
once. Locations, network conditions, DNS and Routes keep working: the
proxy’s own connections leave through the session’s location.
Sessions without the proxy (phones, servers without VPN locations) keep the separate WebSockets and Cache tabs, which read the WebViews through DevTools instead.
HTTPS and the session’s CA
Section titled “HTTPS and the session’s CA”Each session has its own certificate authority, made when the session starts and kept only in its agent’s memory. Without it the proxy can’t read HTTPS:
- Decrypt HTTPS off: plain HTTP and
ws://sockets are shown in full; each HTTPS connection passes through untouched and shows as oneCONNECTline with its host, address and times. - Decrypt HTTPS on: the agent installs the session’s CA into Android’s
system store (on Android 14 and later into the Conscrypt store every app
reads) and among the user-added CAs, which Chrome and other Chromium
browsers trust next to their own root store, and the proxy decrypts every
new HTTPS connection, so its requests,
responses and
wss://sockets show in full. Apps don’t need to be rebuilt or restarted. Turning it off again passes new connections through; the CA stays trusted until the session ends.
The launch dialog has Decrypt HTTPS on by default; your browser
remembers when you turn it off, also for quick launches. The switch in the
tab turns it on and off during the session, and the info icon next to both
lists what it can break. Launches through the API or WebDriver decrypt only
with inspectHttps: true. The
switch’s neighbours download the session’s CA certificate and a HAR
of the kept requests with their bodies.
Apps that pin their server certificates, or trust only their own CAs in a network security config, refuse the proxy’s certificate while decryption is on: their requests fail, and the Routes tab still shows their connections. Turn decryption off for those apps.
Apps that authenticate to their backends with a client TLS certificate (mTLS,
such as Cloudflare mTLS) keep working with decryption on: Holtdroid’s Frida
agent captures exportable client keys and certificate chains passed to Java’s
SSLContext.init or WebView’s ClientCertRequest.proceed and hands them to
the proxy. The proxy only presents a captured certificate when the upstream
server requests one from a matching issuer, so it is never sent to unrelated
hosts. Keys stored in a non-exportable AndroidKeyStore or loaded directly
through native BoringSSL/OpenSSL outside Java are not captured — turn
decryption off for those apps.
Android then shows its usual “Network may be monitored” warning sign in the status bar. A browser that was already open when you turned decryption on may still show Your connection is not private until you restart it (Restart app in the app card). Firefox keeps a store of its own and needs Use third party CA certificates in its settings.
Requests
Section titled “Requests”Every finished request, newest at the bottom, with the same list, filters and details as the Network tab of a recording: status, method, URL, size and duration; Headers, Payload, Response and Timing for the one you pick, and cURL or fetch to copy it. The list shows requests without bodies; picking one loads its bodies from the agent. Times count from the first request the tab received. HTML, CSS, JavaScript, JSON and XML bodies are highlighted; Pretty unminifies them (one tag, rule or statement a line) and Raw shows them as they came. Header values and query parameters are highlighted too.
What a proxy can’t know that DevTools does: requests served from the
WebView’s memory or disk cache or by a service worker never reach the
network and are missing here (a cache hit is a request that is absent or a
304), and a request’s page and initiator are unknown. Chrome DevTools in
the DevTools tab still shows those for a WebView, and its Disable
cache still works.
The checks of the Cache tab over the decrypted requests: missing validators, short lifetimes, cache busters in URLs, CDN cache status, cookies on cacheable files. HTTPS tunnels are left out, so turn on Decrypt HTTPS to see most of an app’s traffic here.
WebSockets
Section titled “WebSockets”The WebSockets view over the proxy: every
socket with its frames, also from native code. wss:// sockets need
Decrypt HTTPS. Event streams are ordinary responses and show in
Requests.
In recordings
Section titled “In recordings”While a session records, the proxy’s requests, sockets and frames go into the recording with the same limits as the WebViews’ traffic, under Device traffic: the player’s Network, WebSockets and Cache tabs show them. In sessions with the proxy the agent stops recording the WebViews’ requests and sockets through DevTools, so nothing is there twice; their console stays.
Limits
Section titled “Limits”- Only TCP to ports 80 and 443 goes through the proxy. Other ports and UDP show in Routes only.
- The agent keeps the last 2000 requests and up to 64 MB of bodies for the list, the details and the HAR. A body over 1 MB, and bodies of images, media and fonts, aren’t kept.
- HTTPS to a bare IP address without a server name gets a certificate that apps reject.
Requests can be blocked, mocked, redirected or rewritten, SSE events included, by traffic rules: from the launch with a script from the library, or live on the session’s Scripts tab. A request that a rule changed lists the rule’s name.