Lion Cipher Lab
See what leaves your machine when an AI assistant answers a question, with mitmproxy
- AI Security
- Beginner
- ~45 min
- Free · no account required
Why it matters
When you use an AI assistant, you think you are sending a question. The app may be sending much more: who you are, what machine you use, and extra reporting calls. You usually cannot see this from inside the app. A proxy lets you read what leaves your own machine, which is how developers debug their apps and how defenders and privacy reviewers check them. This lab does it on a toy app you control, so the lesson is the habit: look at the traffic, list the fields, and ask of each one whether it needs to be there.
What you'll learn
- explaining what an explicit proxy is and why it can show an app's requests
- running mitmdump with a small Python addon
- listing the fields an AI app sends alongside the user's question
- spotting extra data: identifiers, machine details and telemetry
- editing the app and confirming the change by looking at the traffic again
Steps in this lab
- A question is not the only thing an app sends
- Install mitmproxy and write the three small programs
- Run the app without the proxy first
- Start the proxy with the addon
- Send the question through the proxy
- Decide what should not be there, and fix it
- What this view does not show
- Clean up
Open the full interactive lab →