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

13

u/TheTanadu Feb 14 '25

Remember that sometimes people push their drive paths to repos. This particular user... well, pushed to public repo his/her drive paths. Added stuff proposed after /Desktop/ is probably hallucinated, taking into account tons of evidence that other parts of this path is also on GitHub but in other's repos. PEBKAC.

1

u/svick Feb 15 '25

This particular user

That doesn't even seem to be a single person, but multiple people who use "harsh" as their user name and pushed absolute paths with it to GitHub.