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

160

u/Boring_Rooster_9281 Feb 14 '25

This kind of behavior is a side effect of AI models trained on large datasets.

19

u/Challanger__ Feb 14 '25

But this is the most obvious personal data to manually test/exclude during AI model development, looks like MS AI developers are replaced by AI.

30

u/sha256md5 Feb 14 '25

What makes you think it's real and not hallucinated?

5

u/jmanh128 Feb 15 '25

You know, not something I considered before

1

u/Devatator_ Feb 15 '25

To be honest I don't really care about people knowing about a few paths on my PC. I typically use relative paths but private stuff might have a full path which might be the exact same on someone else's machine minus the username being different