Critical GitHub Copilot Vulnerability Leaks Private Source Code

89 points by saturnyx


FreeFull

Given that they only disabled image embedding, it feels like this in general is still wildly exploitable in other ways. At least it seems it doesn't affect users that don't use Copilot.

vrolfs

I spent a long time thinking about this problem before this crazy idea struck me. If I create a dictionary of all letters and symbols in the alphabet, pre-generate their corresponding Camo URLs, embed this dictionary into the injected prompt, and then ask Copilot to play a “small game” by rendering the content I want to leak as “ASCII art” composed entirely of images, will Copilot inject valid Camo images that the browser will render by their order? Yes, it will.

That is absolutely genius. So elegant!

ryan-duve

The result: Stealing zero days from private repositories

I understood "zero day" to mean a vulnerability that hasn't been reported, yet. Does it mean something else in this sentence?

ksynwa

Why allow HTML comments in the comments at all?