Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. If you ask AI to rewrite the entirety of an open-source program, do you still need to abide by the original license?

If you ask AI to rewrite the entirety of an open-source program, do you still need to abide by the original license?

Scheduled Pinned Locked Moved Uncategorized
75 Posts 37 Posters 148 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tbortels@infosec.exchangeT tbortels@infosec.exchange

    @marta

    I'm not sure "closed" is the right word. Clearly it's not closed if you are providing it - it's right there, I can read it and even redistribute it without burden.

    It's "copyrighted", not closed. You can't modify closed source because you don't have the source. The assertion being made is you can't modify GPL'd open source without accepting the license. But copyright has its own carve-outs, and I am unconvinced that writing a spec or net-new code is a modification, as opposed to regular old copyright fair use.

    marta@corteximplant.netM This user is from outside of this forum
    marta@corteximplant.netM This user is from outside of this forum
    marta@corteximplant.net
    wrote last edited by
    #53
    @tbortels you cannot redistribute copyrighted material(?)

    If you make a spec of copyrighted code that's effectively instructions on how to reproduce the code and can be used to commercially compete with the owners of the code so I doubt it could classify as fair use.
    tbortels@infosec.exchangeT 1 Reply Last reply
    0
    • revk@toot.me.ukR revk@toot.me.uk

      @rustynail @ahltorp @tbortels @lcamtuf @bgalehouse @kevinr Hmm, there is another consequence to this.

      If this is a derivative work, which I expect it is.

      It causes issues when someone has, in fact, manually, coding an alternative to some copyright work (without reading original code, etc). As someone can suggest that it was done using AI as a derivative work. It no longer needs to actually follow the original code now to be accused of this.

      Arrg!

      tbortels@infosec.exchangeT This user is from outside of this forum
      tbortels@infosec.exchangeT This user is from outside of this forum
      tbortels@infosec.exchange
      wrote last edited by
      #54

      @ahltorp @bgalehouse @revk @lcamtuf @kevinr @rustynail

      AI is a weird case as you could assert - probably correctly - that the original code may be part of its training corpus. Was that training a GPL violation? It's a stretch. Was it's training a copyright violation? Or was the AI (or rather its owners) exercising their GPL license rights? Or was it fair use under regular copyright?

      Who knows?

      It's a hot mess is what it is.

      This is all so far outside the original reckoning of "it'd be nice if the bookbinder down the street didn't profit off of my work until I had a chance to profit off of it first" that it's not surprising it's a mess.

      rustynail@floss.socialR 1 Reply Last reply
      0
      • tbortels@infosec.exchangeT tbortels@infosec.exchange

        @kevinr @bgalehouse @lcamtuf @ArneBab

        It explicitly does not. If I don't accept the license, normal copyright applies. You don't get to make a legally binding contract without consent, "clickwrap" bullshit aside.

        And normal copyright has carve-outs like fair use.

        arnebab@rollenspiel.socialA This user is from outside of this forum
        arnebab@rollenspiel.socialA This user is from outside of this forum
        arnebab@rollenspiel.social
        wrote last edited by
        #55

        @tbortels if you start relying on fair use, you enter a gray zone: courts will take decisions on that.

        You don’t want that as the basis of anything that provides income.

        A lawsuit in a gray area can ruin you, even if you’re likely to win.

        @kevinr @bgalehouse @lcamtuf

        tbortels@infosec.exchangeT 1 Reply Last reply
        0
        • arnebab@rollenspiel.socialA arnebab@rollenspiel.social

          @tbortels yes, not accepting the license means regular copyrights.

          But your arguments afterwards rely on rights the GPL gives you -- you only get them after you accept the license.

          EDIT: because "if we aren’t allowed … under copyright" ← we aren’t. That’s the point.

          As long as there’s no NDA (there isn’t for GPL), we *can* write a spec. But the one implementing it *must not* know the code.

          @lcamtuf @kevinr @bgalehouse

          tbortels@infosec.exchangeT This user is from outside of this forum
          tbortels@infosec.exchangeT This user is from outside of this forum
          tbortels@infosec.exchange
          wrote last edited by
          #56

          @ArneBab @kevinr @lcamtuf @bgalehouse

          Fair use isn't something the GPL grants you. That's what I'm trying to work out - set the GPL aside for a moment.

          Does regular copyright fair use give me the right to look at the freely provided source code, make a mental model, and re-implement a workalike if I don't re-use the original source?

          Pretend it's just me and not an AI, because that throws a whole new set of confusion into the mix.

          BSD did it against regular copyright. Not sure this is all that different.

          arnebab@rollenspiel.socialA 1 Reply Last reply
          0
          • marta@corteximplant.netM marta@corteximplant.net
            @tbortels you cannot redistribute copyrighted material(?)

            If you make a spec of copyrighted code that's effectively instructions on how to reproduce the code and can be used to commercially compete with the owners of the code so I doubt it could classify as fair use.
            tbortels@infosec.exchangeT This user is from outside of this forum
            tbortels@infosec.exchangeT This user is from outside of this forum
            tbortels@infosec.exchange
            wrote last edited by
            #57

            @marta

            It's about how to reproduce the functionality - the code could be an entirely different language.

            And - "commercially compete" with someone giving away code for free seems a non-concern.

            marta@corteximplant.netM 1 Reply Last reply
            0
            • arnebab@rollenspiel.socialA arnebab@rollenspiel.social

              @tbortels if you start relying on fair use, you enter a gray zone: courts will take decisions on that.

              You don’t want that as the basis of anything that provides income.

              A lawsuit in a gray area can ruin you, even if you’re likely to win.

              @kevinr @bgalehouse @lcamtuf

              tbortels@infosec.exchangeT This user is from outside of this forum
              tbortels@infosec.exchangeT This user is from outside of this forum
              tbortels@infosec.exchange
              wrote last edited by
              #58

              @ArneBab @lcamtuf @kevinr @bgalehouse

              We entered a gray zone about 8 off-ramps ago. Copyright never anticipated self-replicating code on computers and viral licenses and clean-room re-implementations and AIs.

              As for income - I've lost track of the original driver, but it's GPL'd free code, no?

              I like fair use. It and parody are one of the very few things keeping us out of peasants-with-pitchforks-and-torches mode. If you eliminate those carve-outs, the whole system goes down.

              arnebab@rollenspiel.socialA 1 Reply Last reply
              0
              • tbortels@infosec.exchangeT tbortels@infosec.exchange

                @marta

                It's about how to reproduce the functionality - the code could be an entirely different language.

                And - "commercially compete" with someone giving away code for free seems a non-concern.

                marta@corteximplant.netM This user is from outside of this forum
                marta@corteximplant.netM This user is from outside of this forum
                marta@corteximplant.net
                wrote last edited by
                #59
                @tbortels competition is one of the factors that go into what qualifies as fair use, so no, it is not a non-concern. And no, someone publishing their code with open access does not give it away for free wtf
                1 Reply Last reply
                0
                • lcamtuf@infosec.exchangeL lcamtuf@infosec.exchange

                  If you ask AI to rewrite the entirety of an open-source program, do you still need to abide by the original license? In philosophy, this problem is known as the Slop of Theseus

                  D This user is from outside of this forum
                  D This user is from outside of this forum
                  dalke@toots.nu
                  wrote last edited by
                  #60

                  @lcamtuf When know that if you ask the CS department of the University of California, Berkeley and BSDi to rewrite the entirety of AT&T's Unix, the result does not need to abide by AT&T's original license.

                  BSD is prima facie a derivative work of AT&T Unix, not developed using a clean room approach, but instead carefully audited to remove all AT&T copyright and trade secret interests.

                  By the time Theseus' ship was ready, Linux had left the harbor.

                  1 Reply Last reply
                  0
                  • arnebab@rollenspiel.socialA arnebab@rollenspiel.social

                    @kevinr and proving that the AI was not trained on the original source will be pretty hard, because FLOSS programs with compatible licenses can legally copy code from one project into the other.

                    You’ll likely have to exclude all code from the project and all code that’s too similar from the training data. And then train an AI from scratch. Which would be extremely expensive.

                    @SnoopJ @bgalehouse @lcamtuf

                    thebluewizard@masto.hackers.townT This user is from outside of this forum
                    thebluewizard@masto.hackers.townT This user is from outside of this forum
                    thebluewizard@masto.hackers.town
                    wrote last edited by
                    #61

                    @ArneBab @kevinr @SnoopJ @bgalehouse @lcamtuf I think it's more complicated. Consider program A licensed under GPL and program B licensed under BSD license. Code from program B can be copied into program A, but code from program A cannot be copied to program B without applying GPL to program B (changing the license). At least that's how it works as I understand it.

                    arnebab@rollenspiel.socialA 1 Reply Last reply
                    0
                    • tbortels@infosec.exchangeT tbortels@infosec.exchange

                      @ahltorp @bgalehouse @revk @lcamtuf @kevinr @rustynail

                      AI is a weird case as you could assert - probably correctly - that the original code may be part of its training corpus. Was that training a GPL violation? It's a stretch. Was it's training a copyright violation? Or was the AI (or rather its owners) exercising their GPL license rights? Or was it fair use under regular copyright?

                      Who knows?

                      It's a hot mess is what it is.

                      This is all so far outside the original reckoning of "it'd be nice if the bookbinder down the street didn't profit off of my work until I had a chance to profit off of it first" that it's not surprising it's a mess.

                      rustynail@floss.socialR This user is from outside of this forum
                      rustynail@floss.socialR This user is from outside of this forum
                      rustynail@floss.social
                      wrote last edited by
                      #62

                      @tbortels @ahltorp @bgalehouse @revk @lcamtuf @kevinr it seems GPL is supposed to be viral and restrictive enough that AI trained on GPL code can only produce GPL code. There is no other case where you can magically use GPL code for a non-GPL project and there probably shouldn't be

                      tbortels@infosec.exchangeT 1 Reply Last reply
                      0
                      • lcamtuf@infosec.exchangeL lcamtuf@infosec.exchange

                        If you ask AI to rewrite the entirety of an open-source program, do you still need to abide by the original license? In philosophy, this problem is known as the Slop of Theseus

                        divverent@misskey.deD This user is from outside of this forum
                        divverent@misskey.deD This user is from outside of this forum
                        divverent@misskey.de
                        wrote last edited by
                        #63
                        @lcamtuf@infosec.exchange If the AI has never seen the original code, neither in training data nor as part of a prompt, and if it is just rewriting the program based on the program's "API" (for a command line tool that would be the man page and the --help), then yes - Oracle vs Google definitely applies.

                        But as that one was quite narrow, I would assume that if even just the internal structure derives from the original program, it is too much.
                        1 Reply Last reply
                        0
                        • tbortels@infosec.exchangeT tbortels@infosec.exchange

                          @ArneBab @kevinr @lcamtuf @bgalehouse

                          Fair use isn't something the GPL grants you. That's what I'm trying to work out - set the GPL aside for a moment.

                          Does regular copyright fair use give me the right to look at the freely provided source code, make a mental model, and re-implement a workalike if I don't re-use the original source?

                          Pretend it's just me and not an AI, because that throws a whole new set of confusion into the mix.

                          BSD did it against regular copyright. Not sure this is all that different.

                          arnebab@rollenspiel.socialA This user is from outside of this forum
                          arnebab@rollenspiel.socialA This user is from outside of this forum
                          arnebab@rollenspiel.social
                          wrote last edited by
                          #64

                          @tbortels as far as I know, and as the article https://www.allaboutcircuits.com/news/how-compaqs-clone-computers-skirted-ibms-patents-and-gave-rise-to-eisa/ reinforces, fair use does not give you the right to re-implement the code.

                          Doesn’t matter whether you make a mental model as the intermediate step.

                          Only the clean room re-implementation gets out of that.

                          @kevinr @lcamtuf @bgalehouse

                          1 Reply Last reply
                          0
                          • tbortels@infosec.exchangeT tbortels@infosec.exchange

                            @ArneBab @lcamtuf @kevinr @bgalehouse

                            We entered a gray zone about 8 off-ramps ago. Copyright never anticipated self-replicating code on computers and viral licenses and clean-room re-implementations and AIs.

                            As for income - I've lost track of the original driver, but it's GPL'd free code, no?

                            I like fair use. It and parody are one of the very few things keeping us out of peasants-with-pitchforks-and-torches mode. If you eliminate those carve-outs, the whole system goes down.

                            arnebab@rollenspiel.socialA This user is from outside of this forum
                            arnebab@rollenspiel.socialA This user is from outside of this forum
                            arnebab@rollenspiel.social
                            wrote last edited by
                            #65

                            @tbortels GPL’d means that you can generate income as long as you adhere to the license (⇒ keep changes free, too).

                            If you want to wiggle out of that requirement with a re-implementation, that’s where you enter the gray area, because if it is a violation of the GPL, then the permissions the GPL granted you no longer apply and you have to check against regular "all rights reserved".

                            @lcamtuf @kevinr @bgalehouse

                            arnebab@rollenspiel.socialA 1 Reply Last reply
                            0
                            • arnebab@rollenspiel.socialA arnebab@rollenspiel.social

                              @tbortels GPL’d means that you can generate income as long as you adhere to the license (⇒ keep changes free, too).

                              If you want to wiggle out of that requirement with a re-implementation, that’s where you enter the gray area, because if it is a violation of the GPL, then the permissions the GPL granted you no longer apply and you have to check against regular "all rights reserved".

                              @lcamtuf @kevinr @bgalehouse

                              arnebab@rollenspiel.socialA This user is from outside of this forum
                              arnebab@rollenspiel.socialA This user is from outside of this forum
                              arnebab@rollenspiel.social
                              wrote last edited by
                              #66

                              @tbortels fair use is always risky, because it only gives you conditional rights: if you take something via the fair use exception, you cannot use the result in any circumstance that would not be considered fair use, too.

                              At least that’s my understanding of copyright and fair use. Differences between copyright in different countries adds a whole additional layer to that (there is no fair use in the EU, but there are "limitations and exceptions to copyright").
                              @lcamtuf @kevinr @bgalehouse

                              arnebab@rollenspiel.socialA 1 Reply Last reply
                              0
                              • arnebab@rollenspiel.socialA arnebab@rollenspiel.social

                                @tbortels fair use is always risky, because it only gives you conditional rights: if you take something via the fair use exception, you cannot use the result in any circumstance that would not be considered fair use, too.

                                At least that’s my understanding of copyright and fair use. Differences between copyright in different countries adds a whole additional layer to that (there is no fair use in the EU, but there are "limitations and exceptions to copyright").
                                @lcamtuf @kevinr @bgalehouse

                                arnebab@rollenspiel.socialA This user is from outside of this forum
                                arnebab@rollenspiel.socialA This user is from outside of this forum
                                arnebab@rollenspiel.social
                                wrote last edited by
                                #67

                                @tbortels for parody there was the famous lawsuit of Erdogan vs. Böhmermann about the goat fucker poem where Böhmermann won (because of context and maybe also because the lawsuit of Erdogan provided the context which made the poem legal), but it is illegal to publish that poem outside of the context of the show (that explained which kinds of works actually are illegal and used that as an example), and the show cannot be published again, because context changed now.
                                @lcamtuf @kevinr @bgalehouse

                                arnebab@rollenspiel.socialA 1 Reply Last reply
                                0
                                • thebluewizard@masto.hackers.townT thebluewizard@masto.hackers.town

                                  @ArneBab @kevinr @SnoopJ @bgalehouse @lcamtuf I think it's more complicated. Consider program A licensed under GPL and program B licensed under BSD license. Code from program B can be copied into program A, but code from program A cannot be copied to program B without applying GPL to program B (changing the license). At least that's how it works as I understand it.

                                  arnebab@rollenspiel.socialA This user is from outside of this forum
                                  arnebab@rollenspiel.socialA This user is from outside of this forum
                                  arnebab@rollenspiel.social
                                  wrote last edited by
                                  #68

                                  @thebluewizard yes, the details are more complicated, but it doesn’t reduce the complexity of deciding which code has to be excluded.

                                  @kevinr @SnoopJ @bgalehouse @lcamtuf

                                  1 Reply Last reply
                                  0
                                  • rustynail@floss.socialR rustynail@floss.social

                                    @tbortels @ahltorp @bgalehouse @revk @lcamtuf @kevinr it seems GPL is supposed to be viral and restrictive enough that AI trained on GPL code can only produce GPL code. There is no other case where you can magically use GPL code for a non-GPL project and there probably shouldn't be

                                    tbortels@infosec.exchangeT This user is from outside of this forum
                                    tbortels@infosec.exchangeT This user is from outside of this forum
                                    tbortels@infosec.exchange
                                    wrote last edited by
                                    #69

                                    @lcamtuf @kevinr @rustynail @ahltorp @bgalehouse @revk

                                    If AI code cannot be copyrighted - you have no mechanism on which to force someone to accept the GPL, or any license. An AI artifact covered by GPL is meaningless.

                                    ahltorp@mastodon.nuA 1 Reply Last reply
                                    0
                                    • arnebab@rollenspiel.socialA arnebab@rollenspiel.social

                                      @tbortels for parody there was the famous lawsuit of Erdogan vs. Böhmermann about the goat fucker poem where Böhmermann won (because of context and maybe also because the lawsuit of Erdogan provided the context which made the poem legal), but it is illegal to publish that poem outside of the context of the show (that explained which kinds of works actually are illegal and used that as an example), and the show cannot be published again, because context changed now.
                                      @lcamtuf @kevinr @bgalehouse

                                      arnebab@rollenspiel.socialA This user is from outside of this forum
                                      arnebab@rollenspiel.socialA This user is from outside of this forum
                                      arnebab@rollenspiel.social
                                      wrote last edited by
                                      #70

                                      @tbortels The show with the poem ended with the legendary song that was later republished independently:

                                      https://inv.nadeko.net/watch?v=HMQkV5cTuoY
                                      https://www.youtube.com/watch?v=HMQkV5cTuoY

                                      @lcamtuf @kevinr @bgalehouse

                                      1 Reply Last reply
                                      0
                                      • lcamtuf@infosec.exchangeL lcamtuf@infosec.exchange

                                        If you ask AI to rewrite the entirety of an open-source program, do you still need to abide by the original license? In philosophy, this problem is known as the Slop of Theseus

                                        2something@transfem.social2 This user is from outside of this forum
                                        2something@transfem.social2 This user is from outside of this forum
                                        2something@transfem.social
                                        wrote last edited by
                                        #71

                                        @lcamtuf@infosec.exchange If Theseus asked his dad to curse a foss project because he was tricked by his cousin into believing the foss project is vibe coded, can the foss project be brought back to life?

                                        1 Reply Last reply
                                        0
                                        • tbortels@infosec.exchangeT tbortels@infosec.exchange

                                          @lcamtuf @kevinr @rustynail @ahltorp @bgalehouse @revk

                                          If AI code cannot be copyrighted - you have no mechanism on which to force someone to accept the GPL, or any license. An AI artifact covered by GPL is meaningless.

                                          ahltorp@mastodon.nuA This user is from outside of this forum
                                          ahltorp@mastodon.nuA This user is from outside of this forum
                                          ahltorp@mastodon.nu
                                          wrote last edited by
                                          #72

                                          @tbortels @lcamtuf @kevinr @rustynail @bgalehouse @revk You can’t take GPL code, put it through the identity function, and then end up with non-GPL code, just because you claim it was produced by a machine. Even when it’s a more advanced process, like a compiler, the resulting code is not less bound by copyright than the source.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups