Skip to content

RFC Licencing issues when contributors had sold their copyright to paid platforms #34489

Open

Description

@StefanieSenger

I have come across paid / bounty platforms that pay freelancers to open issues/PRs on OSS projects to test certain prompts and serve for finetuning AI tools. These PRs then get reviewed by maintainers and the resulting code as well as traces created during the process are used as training data for LLMs. Most certainly this data gets forward-sold to the companies developing the most popular AI models. This business model seems to be pretty popular these days.

The problem here is that with code submitted via a paid platform, contributors usually don't hold copyright anymore. They have sold it to the company that paid them. As a result, they are formally not allowed to grant their code to be used with a BSD licence.

What can we do about this?

I've opened PR #34490 to educate contributors. Apart from this:

  • Can probabl pay for a lawyer who advises us on how to re-write scikit-learn's terms?
  • We should also make sure probabl as an employer of the labs team grants employees to publish their work under scikit-learn's BSD licence.

The trouble a clean contributing policy could prevent is that years later, when maybe the copyright to PRs on scikit-learn gets sold and executed, we won't need to peel away code that was added by contributors that had actually never owned copyright of their work.

CC @GaelVaroquaux @glemaitre

Activity

  1. added
    Needs Triage
    on Jul 16, 2026
  2. added and removed
    Needs Triage
    on Jul 16, 2026
  3. glemaitre commented on Jul 17, 2026

    @glemaitre
    Member

    Not a lawyer speaking so we better seek for advise. From what I understand however is that you have a three parties issue: the contributor, the company hiring the contributor and the project.

    The hiring company can sue the project for copyright infringement. However, if the project is not aware from the copyright infringement then it will not be hold guilty and thus one cannot request removing code for this purpose (cf. https://www.mayerbrown.com/en/insights/publications/2026/03/supreme-court-significantly-narrows-liability-for-contributory-copyright-infringement). So it ends up being an issue between the contributor and the company hiring.

    If we are still worried about the liability then, it seems that you need to make sign people a CLA. I recall some kind of such process in lightgbm when it was under the Microsoft umbrella (e.g. lightgbm-org/LightGBM#7144 (comment)). Here, you request an explicit agreement from contributor and thus, it is not the project problem anymore.

  4. changed the title [-]Licencing issues when contributors had sold their copyright to paid platforms[/-] [+]RFC Licencing issues when contributors had sold their copyright to paid platforms[/+] on Jul 20, 2026
  5. moved this from Todo to In progress in Labson Jul 20, 2026
  6. lorentzenchr commented on Jul 27, 2026

    @lorentzenchr
    Member

    Actionables:

    • ask other projects how they deal with it
    • ask for legal advice (don‘t know whom)
    • find out how much work an automatic CLA is
  7. lesteve commented on Jul 28, 2026

    @lesteve
    Member

    Another actionable: is there a way to opt out of these platforms.

    That would personally be my first reaction.

    Sometimes this works, for example we were getting low-quality reports from Huntr, and we contacted them to be excluded from their platform. It eventually worked.

  8. GaelVaroquaux commented on Jul 30, 2026

    @GaelVaroquaux
    Member

    After having discussed this a bit around, including with people with experience running software shops, here are my thoughts and recommendations.

    First: no one is suing us, no need to worry or go out of our way. There are legal risks everywhere, but it very seldom comes down to trouble.

    Second, if we want to do something, the best option is to use the right language in PRs to ask the contributors to certify the copyright status of their contribution. This is similar to the "Developer Certificate of Origin" used by certain major projects (such as the Linux kernel), but we can make it lightweight by simply using the pull request template (an action would make it more formal, with an actual check, but I'm not sure that it is necessary). Here is a text that I suggest, inspired by similar topics:

    Contributor Copyright Declaration

    By submitting this pull request, I certify that my contribution is either (a) original work authored by me, over which I hold sole copyright, or (b) derived in whole or in part from third-party source code that is distributed under a license compatible with the BSD 3-Clause License governing this project, and that such derivation is accompanied by proper attribution and preserves all applicable copyright and license notices as required by the originating license. I further certify that I am authorized to submit this contribution under the terms of the project's license, and that doing so does not, to my knowledge, infringe upon the intellectual property rights of any third party.

    ☐ I confirm the above statement applies to this contribution.

  9. StefanieSenger commented on Jul 31, 2026

    @StefanieSenger
    MemberAuthor

    There are legal risks everywhere, but it very seldom comes down to trouble.
    [...] best option is to use the right language in PRs to ask the contributors to certify the copyright status

    That is really reassuring. I will use exactly this Contributor Copyright Declaration for the PR template in #34490.

    is there a way to opt out of these platforms.

    I will try this. 👍

  10. betatim commented on Jul 31, 2026

    @betatim
    Member

    I replied to the PR, not this issue #34490 (comment)

    My take away is that CLA or DCO will put off conscientious contributors and do nothing/very little for abusive contributors. In case copyrighted work (be that code or docs) is added to scikit-learn and someone has a problem with that I think the first step would be for them to contact us, not "here is the date of the court case!". Which means we would be able to work on removing the offending code.

    Having some explicit information in the documentation is a good step to let contributors know and show that we care about getting this right. I am -1 on putting this in the PR template because the template is already pretty long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions