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: The author did hands-on traffic inspection of Copilot's request structure, revealing context far beyond visible lines — a rare empirical breakdown. Score held back because the post doesn't disclose the model name or token counts, and it's from a personal newsletter rather than...

Read the original ↗Export Markdown