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.
Ah shit you got the directory of my code projects pls do dox or ddos me I'll even pay ransom!
No seriously I don't see the problem here, i̶t̶'̶s̶ ̶m̶i̶x̶i̶n̶g̶ ̶u̶p̶ ̶p̶a̶t̶h̶s̶ ̶o̶f̶ ̶l̶o̶t̶s̶ ̶o̶f̶ ̶p̶e̶o̶p̶l̶e̶,̶ ̶i̶n̶ ̶t̶h̶i̶s̶ ̶c̶a̶s̶e̶ ̶i̶t̶'̶s̶ ̶e̶v̶e̶n̶ ̶s̶w̶i̶t̶c̶h̶i̶n̶g̶ ̶b̶e̶t̶w̶e̶e̶n̶ ̶f̶o̶r̶w̶a̶r̶d̶-̶ ̶a̶n̶d̶ ̶b̶a̶c̶k̶-̶s̶l̶a̶s̶h̶ ̶s̶o̶ ̶U̶n̶i̶x̶ ̶(̶o̶r̶ ̶l̶i̶n̶u̶x̶)̶ ̶a̶n̶d̶ ̶w̶i̶n̶d̶o̶w̶s̶ ̶(̶o̶r̶ ̶m̶s̶-̶d̶o̶s̶)̶ ̶s̶o̶ ̶c̶o̶m̶p̶l̶e̶t̶e̶ ̶n̶o̶n̶s̶e̶n̶s̶e̶.̶
Edit: apparently my comment is partly nonsense thx for telling me :D but my point stands the path is mixed up from lots of paths so I don't see a security problem
Ah I understand, at first glance I was surprised to see it suggested. I’m more curious why they wouldn’t just to exclude this data on training to prevent these bad suggestions.
I don't know for sure if a. I already mentioned a path I wanted to write elsewhere in my project or b. it actually read my comment which said I'm referencing an xlsx file which was located within the project folder and pulled the path from there But i had copilot suggest me the right path multiple times before and I love it.
3
u/ragnarokfn Feb 14 '25 edited Feb 17 '25
Ah shit you got the directory of my code projects pls do dox or ddos me I'll even pay ransom!
No seriously I don't see the problem here, i̶t̶'̶s̶ ̶m̶i̶x̶i̶n̶g̶ ̶u̶p̶ ̶p̶a̶t̶h̶s̶ ̶o̶f̶ ̶l̶o̶t̶s̶ ̶o̶f̶ ̶p̶e̶o̶p̶l̶e̶,̶ ̶i̶n̶ ̶t̶h̶i̶s̶ ̶c̶a̶s̶e̶ ̶i̶t̶'̶s̶ ̶e̶v̶e̶n̶ ̶s̶w̶i̶t̶c̶h̶i̶n̶g̶ ̶b̶e̶t̶w̶e̶e̶n̶ ̶f̶o̶r̶w̶a̶r̶d̶-̶ ̶a̶n̶d̶ ̶b̶a̶c̶k̶-̶s̶l̶a̶s̶h̶ ̶s̶o̶ ̶U̶n̶i̶x̶ ̶(̶o̶r̶ ̶l̶i̶n̶u̶x̶)̶ ̶a̶n̶d̶ ̶w̶i̶n̶d̶o̶w̶s̶ ̶(̶o̶r̶ ̶m̶s̶-̶d̶o̶s̶)̶ ̶s̶o̶ ̶c̶o̶m̶p̶l̶e̶t̶e̶ ̶n̶o̶n̶s̶e̶n̶s̶e̶.̶
Edit: apparently my comment is partly nonsense thx for telling me :D but my point stands the path is mixed up from lots of paths so I don't see a security problem