by kapitanjakc · 1y ago · 0 comments
I am not talking about giving your token to Claude or gpt or GH co pilot.
It has been reading private repos since a while now.
The reason I know about this is from a project we received to create a LMS.
I usually go for Open edX. As that's my expertise. The ask was to create a very specific XBlock. Consider XBlocks as plugins.
Now your Openedx code is usually public, but XBlocks that are created for clients specifically can be private.
The ask was similar to what I did earlier integration of a third party content provider (mind you that the content is also in a very specific format).
I know that no one else in the whole world did this because when I did it originally I looked for it. And all I found were content provider marketing material. Nothing else.
So I built it from scratch, put the code on client's private repos and that was it.
Until recently the new client asked for similar integration, as I have already done that sort of thing I was happy to do it.
They said they already have the core part ready and want help on finishing it.
I was happy and curious, happy that someone else did the process and curious about their approach.
They mentioned it was done by their in house team interns. I was shocked, I am no genius myself but this was not something that a junior engineer let alone an intern could do.
So I asked for access to code and I was shocked again. This was same code that I wrote earlier with the comments intact. Variable spellings were changed but rest of it was the same.
Not convincing, but plausible. Not many things that humans do are unique, even when humans are certain that they are.
Humans who are certain that things that they themselves do are unique, are likely overlooking that prior.
https://docs.github.com/en/site-policy/privacy-policies/gith...
IMO, You'd have to be naive to think Microsoft makes GitHub basically free for vibes.
And as the OP shows, microsoft is intentionally giving away private repo access to outside actors for the purpose of training LLMs.
Or is it better to self host?
https://docs.gitlab.com/administration/gitlab_duo_self_hoste...
Copilot won’t send your data down a path that incorporates it into training data. Not unless you do something like Bring Your Own Key and then point it at one of the “free” public APIs that are only free because they use your inputs as training data. (EDIT: Or if you explicitly opt-in to the option to include your data in their training set, as pointed out below, though this shouldn’t be surprising)
It’s somewhere between myth and conspiracy theory that using Copilot, Claude, ChatGPT, etc. subscriptions will take your data and put it into their training set.
- https://github.blog/news-insights/policy-news-and-insights/h...
So it’s a “myth” that github explicitly says is true…
I guess if you count users explicitly opting in, then that part is true.
I also covered the case where someone opts-in to a “free” LLM provider that uses prompts as training data above.
There are definitely ways to get your private data into training sets if you opt-in to it, but that shouldn’t surprise anyone.
Also, this conspiracy requires coordination across two separate companies (GitHub for the repos and the LLM providers requesting private repos to integrate into training data). It would involve thousands or tens of thousands of engineers to execute. All of them would have to keep the conspiracy quiet.
It would also permanently taint their frontier models, opening them up to millions of lawsuits (across all GitHub users) and making them untouchable in the future, guaranteeing their demise as soon a single person involved decided to leak the fact that it was happening.
I know some people will never trust any corporation for anything and assume the worst, but this is the type of conspiracy that requires a lot of people from multiple companies to implement and keep quiet. It also has very low payoff for company-destroying levels of risk.
So if you don’t trust any companies (or you make decisions based on vague HN anecdotes claiming conspiracy theories) then I guess the only acceptable provider is to self-host on your own hardware.
For your story to be true, it would require your GitHub Copilot LLM provider to use your code as training data. That’s technically possible if you went out of your way to use a Bring Your Own Key API, then used a “free” public API that was free because it used prompts as training data, then you used GitHub Copilot on that exact code, then that underlying public API data was used in a new training cycle, then your other client happened to choose that exact same LLM for their code. On top of that, getting verbatim identical output based on a single training fragment is extremely hard, let alone enough times to verbatim duplicate large sections of code with comment idiosyncrasies intact.
Standard GitHub Copilot or paid LLMs don’t even have a path where user data is incorporated into the training set. You have to go out of your way to use a “free” public API which is only free to collect training data. It’s a common misconception that merely using Claude or ChatGPT subscriptions will incorporate your prompts into the training data set, but companies have been very careful not to do this. I know many will doubt it and believe the companies are doing it anyway, but that would be a massive scandal in itself (which you’d have to believe nobody has whistleblown)
Anyway 1 thing that I did not consider and is pointed out by other comment is that original client could've provided the same code as they are also actual owners.
I don't want to let Microsoft of the hook on this but is this really that surprising?
Update: found the company's blog post on this issue.
MS also never respected this in the first place, exposing closed source and dubiously licensed code used in training copilot was one of the first thing that happened when it was first made available.
… SCO Unix Lawyers have entered the chat