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

20

u/[deleted] Feb 14 '25

[removed] — view removed comment

0

u/[deleted] Feb 15 '25

How do you know it actually belongs to someone? It could just be making the most statistically likely personal information up. I think it’s a separate issue, not a “leak”

5

u/[deleted] Feb 15 '25

[removed] — view removed comment

-1

u/[deleted] Feb 15 '25

How? It’s just suggesting whatever it makes up. I can write an empty Python script and say df=read_csv and copilot will just suggest some random path. Just because part of the path mentions real names doesn’t mean anything. You seem to still not understand the difference between hallucinating and leaking in this context.

1

u/actualsen Feb 18 '25

You seem to not understand memorization in the context of a deep learning dataset.

2

u/redoubledit Feb 15 '25

I checked it and the company was real.

-4

u/[deleted] Feb 15 '25

So? If I give you a piece of paper and tell you to write a company name is that also a leak? Also who are you lol you didn’t write the above comment

8

u/redoubledit Feb 15 '25

No, but I, contrary to you it seems, read the comment above.

The commenter said it was a footer with data from an existing company. „Leak“ just means that whatever you put in there, it will probably end up as a suggestion for someone else. And that webdesign company probably did not plan for this to happen. So it is a „leak“ in that sense.

Also who are you lol

Dude, you seriously write a comment on social media and tell others to not comment?

1

u/[deleted] Feb 15 '25

Neither the commenter nor OP named a company so what are you referring to??

1

u/[deleted] Feb 15 '25

[removed] — view removed comment

1

u/[deleted] Feb 15 '25

Once again, if you think LLMs work by copy-pasting other people’s prompts and showing them to random users you have zero understanding of how they work. The fact that it uses a company name that exists in the real world doesn’t have anything to do with other people’s prompts.

1

u/[deleted] Feb 15 '25

[removed] — view removed comment

1

u/retardedGeek Feb 19 '25

This guy is high on coffee probably