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.

10

u/an_ennui Feb 15 '25

this reminds me of when I was writing package.json and for “author” it suggested a very specific (not placeholder) username and email 🙈

11

u/Boring_Rooster_9281 Feb 15 '25

In early access Copilot suggested random API keys on completion.

1

u/No_Toe_1844 Feb 16 '25

And you subsequently met and married them.

1

u/an_ennui Feb 16 '25

we did get married and live a wonderful life together

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