• Lost_My_Mind@lemmy.world
    link
    fedilink
    English
    arrow-up
    82
    arrow-down
    1
    ·
    21 小时前

    Hold on …

    Are you saying all software hosted on github is infected with copilot? Or am I misreading the situation?

    • ExLisper@lemmy.curiana.net
      link
      fedilink
      English
      arrow-up
      24
      ·
      13 小时前

      I guess it’s about copilot scanning the code, submitting PRs, reporting security issues, doing code reviews and such.

      • 🎇sparkles✨@lemy.lol
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        18
        ·
        13 小时前

        reporting security issues

        Is this not an advantage? If AI can find new security vulnerabilities reliably?

        • JordanZ@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          7 小时前

          I’ve had copilot suggest ‘fixing’ code to something that wasn’t even syntactically correct for the language and would break the build. If it can’t even figure out the super well documented syntax of a language I don’t trust it to find anything. The icing on the cake…it was a Microsoft language(C#).

        • sp3ctr4l@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          2
          ·
          8 小时前

          Basically anywhere that LLMs are implemented… they are a security vulnerability, for any situation in which they are not sandboxed.

          Anything they can interface with?

          You can probably trick it or exploit it into doing something unintended or unexpected to anything else it is connected to.

          Theoretically you could use an LLM to do something like come up with more accurate heuristics for identifying malware.

          But… they’re nowhere near ‘intelligent’ enough to like, give it a whole code base for some kind of software, and thoroughly make that software 100% secure.

        • jjagaimo@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          19
          ·
          13 小时前

          It often makes up non existent vulnerabilities. I think it was curl getting flooded with fake vulnerability reports which drowns out real reports, esp because it can take time to parse through the code or run the poc

    • renegadespork@lemmy.jelliefrontier.net
      link
      fedilink
      English
      arrow-up
      141
      arrow-down
      2
      ·
      edit-2
      20 小时前

      Your confusion is understandable since MS has called like 4 different products “Copilot”. This refers to the coding assistant built into GitHub for everything from CI/CD to coding itself.

      All code uploaded to GitHub is subject to being scraped by Copilot to both train and provide inference context to its model(s).

      Basically having your code in GitHub is implicit consent to have your code fed to MSs LLMs.

      • Zwuzelmaus@feddit.org
        link
        fedilink
        English
        arrow-up
        55
        arrow-down
        1
        ·
        edit-2
        17 小时前

        All code uploaded to GitHub is subject to being scraped

        No kidding: That was literally my very first thought back in the days when I learned that M$ has taken over GitHub.

        (Copilot did not exist then)

        • A_norny_mousse@piefed.zip
          link
          fedilink
          English
          arrow-up
          7
          ·
          12 小时前

          Mine too. More precisely: code uploaded to GH won’t be yours anymore. IIRC there were changes to the TOS that supported this. But even if not, predicting the obvious doesn’t make us prophets.

      • The Octonaut@mander.xyz
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        61
        ·
        18 小时前

        No, it isn’t.

        “Basically” your vibes aren’t an actual answer. Businesses are not forking over millions to give away their code.

        You can have conspiracy theories about it using the code anyway (I’m particularly confused about your use of the word “scrape” which tells me you don’t know how AI training works, how hosting a website works, or how scraping works - maybe all three?) but surreptitiously using its competitors’ code to train CoPilot would be a rare existential threat to Microsoft itself.

        Does GitHub use Copilot Business or Enterprise data to train GitHub’s model?

        No. GitHub does not use either Copilot Business or Enterprise data to train its models.

        https://github.com/features/copilot#faq

        • ayyy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          5 小时前

          Someday when you’re grown up you will realize how cringe your way of communicating is.

          • The Octonaut@mander.xyz
            link
            fedilink
            English
            arrow-up
            0
            arrow-down
            10
            ·
            5 小时前

            Sure. Any day now.

            Being embarrassed by association with people who say things like “all code uploaded to Github is subject to being scraped” might be childish. Not sure it’s as childish as being embarrassed by “cringe” though. That would imply I care about your opinion on my communication. I don’t.

            I do care that you understand that a half dozen people in this thread are actively outing themselves as completely ignorant about the real world of software development and the software industry in general. Probably not surprising given the words “Gentoo” and “Codeberg” in the title of the post.

            • ayyy@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 小时前

              Um AAACCCKKKTUALLY it’s only scraping if it comes from the beautifulsoup region of Shodan. Otherwise it’s just Sparkling CIDR.

              • The Octonaut@mander.xyz
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                2
                ·
                3 小时前

                If you’re trying to prove that I can indeed feel cringe, keep going, you’re almost there

        • renegadespork@lemmy.jelliefrontier.net
          link
          fedilink
          English
          arrow-up
          10
          ·
          9 小时前

          Lmao desperately trying to justify sunk cost, I see?

          You’re right, it’s not scraping, it’s worse. Most AI bots do scrape sites for data, though since MS has direct access to the GH backend, they don’t even need to scrape the data. You’re giving it to them directly.

          The issue here is trust. Microsoft, along with every other company invested in the AI race has proven repeatedly that getting ahead in said race is more important to them than anything else. It’s more important than user privacy, ToS, contracts, intellectual property, and the law itself.

          If they stand to make more money screwing you over than they stand to lose from a slap on the wrist in court, the choice is clear. And they will lie to your face about it. Profit machines as big as MS don’t care. They can’t. They are optimized for one thing.

        • zr0@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          20
          ·
          14 小时前

          Oh my. The “you are all noobs, I am the only techie here, so I know it” argument is so unnecessary and makes you appear super entitled.

          You obviously seem not to have an idea how all that shit works, where OpenAI and Microsoft scrape copyrighted material, which is illegal, to train their models. On top of that, in the US there are many laws where they can circumvent ToS if it helps national security, and we all know with Trump, that he will do everything to support his economy. So we end up with a situation, where the contracts say they will not use the data to train models, while doing this exact thing, and nobody ever will be able to prove it and the whole legal system in the US will protect the corporation. So good luck with that “lawsuit”.

          But that is only when Microsoft would play by rules, which they don’t. Which no one does. So they just use the data to train the models, generating billions of value, and just wait for a lawsuit where they pay a fine of 100k.

          This all comes to the conclusion that you are not just naive and inexperienced, but also an entitled asshole.

        • Kilgore Trout@feddit.it
          link
          fedilink
          English
          arrow-up
          41
          arrow-down
          1
          ·
          17 小时前

          FAQs are not legally binding. If you want to quote something, then do privacy policy and terms of service.

          • The Octonaut@mander.xyz
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            33
            ·
            16 小时前

            It’s in every enterprise and business contract signed with them. The FAQ was just the first result on Google. Its obviousness shouldn’t even require that much. It’s extremely clear how few of Lemmy’s “technology” crowd have any contact with adult life.

            • brennesel@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              32
              arrow-down
              1
              ·
              15 小时前

              Why are you referring all your answers to GitHub Enterprise and corporate contracts? Nobody here is talking about that, as the news is about an open source project. Public GitHub and GitHub Enterprise are fundamentally different.

              You accuse others of responding based solely on “vibes,” but you do exactly the same thing in the opposite direction. And yet, of all people, you’re saying we don’t act like adults.

              • The Octonaut@mander.xyz
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                12
                ·
                15 小时前

                All of the responses are saying that Github reads all code. Github public and Github enterprise are products of the same organisation. Many are even saying they will consume enterprise data anyway despite contracts not to. As I said in my first response, there aren’t many things that would ruin Microsoft’s ability to operate but this is one.

                What vibes do you think I’m going off?

                • brennesel@discuss.tchncs.de
                  link
                  fedilink
                  English
                  arrow-up
                  10
                  ·
                  11 小时前

                  What vibes do you think I’m going off?

                  What I meant was that you read the comments, identified inconsistencies from your point of view, and then responded in a confrontational manner without including the whole context.

                  You do have some good points. But instead of opposing everything that has been said, you could have differentiated much better.

                  For example:

                  • Public repositories on github.com are definitely used for AI training
                  • Private repositories on github.com are suspected of being used for training
                  • Github Enterprise Cloud is probably contractually protected
                  • Github Enterprise Server is the most secure of all options due to contracts and self-hosting (and therefore the only valid option for enterprises with proprietary code)

                  All of the responses are saying that Github reads all code.

                  The first comment explicitly mentions “hosted on GitHub”, which at least excludes GitHub Enterprise Server, which is self-hosted.

                  The article is about an open source project that, by definition, uses public repositories.

                  Github public and Github enterprise are products of the same organisation.

                  Coming from someone who tells others that they first need to deal with “adult life”, I find this statement surprising. I work for an international company and manage several Github orgas with hundreds of repos. Whether the code is stored on github.com or on our own Github Enterprise server is highly relevant and makes a huge difference.

                  • The Octonaut@mander.xyz
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    4 小时前

                    All code uploaded to Github is scraped

                    This is the very simple statement that I was responding to, along with the next line about how using Github is implicit consent to feeding your data to an LLM. If the poster wants nuance, they are free to provide it themselves. You can see in subsequent responses there is none.

                    Of course them being different matters. That’s my point. Not all code uploaded to Github is being fed into an LLM. It is not consent if you are signing a contract demanding that something not be done. It’s preposterous even at a surface level.

                    Github Enterprise Server is different from Github Enterprise Cloud, which is what I was talking about, and which is explicitly not used for training LLMs, and if it were, would absolutely kill Github as a product and likely mire Microsoft in years of litigation.

                    Frankly I don’t know of any software company using Github Enterprise on-prem but I suppose there are probably some CEOs out there who haven’t taken the OpEx pill. Maybe deep in the rainforest with Mokele-Mbembe. Certainly in my sliver of the tech industry, telecoms, the idea of owning a server is akin to having a deskphone and an outgoing mail room.

                • Paulemeister@feddit.org
                  link
                  fedilink
                  English
                  arrow-up
                  14
                  ·
                  14 小时前

                  Dude AI companies do not give a fuck about the law. It’s hard to prove a specific piece of data was used to train a model so they put everything in they can. There’s literally a lawsuit about this, where Microsoft and others claim using code on GitHub to train is fair use.

                  As far as I can tell this lawsuit is about copyright infringement of open source code, but as we where talking about an open source project leaving GitHub because of this, that’s what’s relevant.

                  I myself would not be surprised if they could not withstand the urge to put more high quality code from enterprise users into their training data, but as they are not suing and we don’t know their code, that’s speculation.

        • bearboiblake@pawb.social
          link
          fedilink
          English
          arrow-up
          24
          arrow-down
          1
          ·
          edit-2
          16 小时前

          Just to add to what the other commenters said, the quote you highlighted doesn’t even say what you think it does.

          It says that Copilot data is not used to train the models, not that code uploaded to Github isn’t used to train the models.

          As an aside, your nitpicking of the term “scrape” and rant about how the user you’re replying to must be ignorant is cringe, jsyk.

        • RichardDegenne@lemmy.zip
          link
          fedilink
          English
          arrow-up
          19
          arrow-down
          3
          ·
          17 小时前

          If you’re gullible enough to believe an FAQ coming from Github themselves, then I have bad news for you.