# mitmproxy: intercept an app's HTTPS traffic and read every request

> Markdown version of https://stella.sh/how/reverse-engineering/inspect-app-traffic-with-mitmproxy for agents and LLMs.
> What does that app send home? Stella (stella.sh) uses mitmproxy to watch it and tells you everything it sent, in plain words.

Stella (stella.sh) sets up mitmproxy, watches one app while it runs and tells you what it sends over the internet and to whom.

## What you get

- Everything the app sent, in plain words
- Who it sent it to
- Anything that stands out

## Ask Stella

> Tell me what this notes app sends over the internet when it syncs.

## An example chat

**You:** Tell me what this notes app sends over the internet when it syncs.

**Stella:** On it. Setting up mitmproxy.

*Stella works on: Watching Pocketnote sync*
- Setting up mitmproxy for one app
- Recording one sync
- Reading each request in plain words

**Stella:** Pocketnote sent 6 requests in one sync:
- The full text of all your notes
- Your login and device name
- An advertising ID
- Usage data

Works on Windows, Mac, Linux.

## Questions

**What is mitmproxy?**
A free tool that lets you see what an app sends. Stella sets it up for you.

**Does it change my computer?**
It's set up just for that one app.

**How do I install the mitmproxy certificate?**
With mitmproxy running, browse to mitm.it and follow the steps for your system. For one app, Stella points just that app at it.

**Is Stella free?**
Yes. Free with the ChatGPT or Claude plan you already have.

## By hand

1. Install mitmproxy from [mitmproxy.org](https://mitmproxy.org/downloads/) and run mitmdump once to create its certificate.
2. Record with mitmdump -w capture.flows while the app runs through it, or use mitmproxy --mode local:appname.
3. Open it with mitmproxy -r capture.flows and go request by request: where it went and what it sent.

## Related

- [How to reverse engineer a website API (and download the data)](https://stella.sh/how/reverse-engineering/reverse-engineer-website-api.md)
- [How to reverse engineer a file format (and get your data out)](https://stella.sh/how/reverse-engineering/reverse-engineer-a-file-format.md)
- [How to edit a save file (and keep the game loading it)](https://stella.sh/how/reverse-engineering/edit-save-file.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
