Skip to content
Hacker News front page

I put GitHub Copilot behind a MitM proxy—here's what the network traffic reveals

What I learned by putting GitHub Copilot behind a MitM proxy

The author intercepted Copilot's HTTPS traffic inside VS Code with mitmproxy. Each completion request carries far more context than the visible few lines: the current file, other open tabs, cursor position, and recent edit history, all packed into a structured request body. The post doesn't disclose the model name or exact token counts, but the traffic pattern shows Copilot's edge is shifting toward how it selects and packages context, not just the underlying model.

Why it matters: A MitM proxy on Copilot's completion requests shows each one carries far more context than what's on screen: the file, other tabs, cursor position and edit history.

Read the original ↗Export Markdown