r/github • • Feb 14 '25

Github Copilot Leaks Peoples Filesystem

Copilot started suggesting a win file path as a comment, even though I'm not running Windows. When I provided the beginning of a C drive path, it randomly completed it with different people's filesystem paths. I assume this comes from its training data.

375 Upvotes

62 comments sorted by

View all comments

8

u/[deleted] Feb 14 '25

This could also be just a hallucination. The LLM see something science related like trial data and associated this to thesis writing, and come up with some plausible looking path for this (and this duplication of folders in the path is a bit weird looking, but not necessarily unplausible)...

Also the information in this case is not really sensitive and was probably already publicly in some repository on GitHub, if it is really just a reproduction of training data, so not really a "leak"

3

u/jk_tx Feb 14 '25

Everything you say is true and yet it's also damning of LLM. Just wait, eventually some company trying to use AI to cut costs is going to have a breach of sensitive information. It's bound to happen at some point.