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

115

u/Comprehensive-Pin667 Feb 14 '25

This is your kind reminder that the tool that you are letting write your code has been trained on data such as the thesis of some dude who doesn't know better than to commit absolute paths to git.

1

u/AlterTableUsernames Feb 16 '25

I mean, this person was writing a thesis on Windows. I did, too. But at least I'm ashamed of it.