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. A popular Python library just became a backdoor to your entire machine

A popular Python library just became a backdoor to your entire machine

Scheduled Pinned Locked Moved Uncategorized
16 Posts 14 Posters 0 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.
  • khrys@mamot.frK khrys@mamot.fr

    A popular Python library just became a backdoor to your entire machine

    Link Preview Image
    A popular Python library just became a backdoor to your entire machine

    Supply chain attacks feel like they're becoming more and more common.

    favicon

    XDA (www.xda-developers.com)

    It's one of the most popular Python libraries for interacting with large language models [...] It has over 40,000 stars on GitHub, and it's an important dependency in a lot of AI tooling. It's also been compromised on PyPI, and the malicious versions are stealing everything they can find on your machine.

    Sorry but... 🍿

    epistomai@mastodon.socialE This user is from outside of this forum
    epistomai@mastodon.socialE This user is from outside of this forum
    epistomai@mastodon.social
    wrote last edited by
    #3

    @Khrys but... Python library... yay!!!

    (obviously sarcastic) 😆

    1 Reply Last reply
    0
    • mayintoronto@beige.partyM mayintoronto@beige.party

      @Khrys Wow. That's a gnarly one. I wonder how bad it is going to hit companies deep in LLM mania.

      gwozniak@discuss.systemsG This user is from outside of this forum
      gwozniak@discuss.systemsG This user is from outside of this forum
      gwozniak@discuss.systems
      wrote last edited by
      #4

      @mayintoronto @Khrys I heard some "I hope we're not using this" remarks about this today.

      Hope.

      dalias@hachyderm.ioD 1 Reply Last reply
      0
      • khrys@mamot.frK khrys@mamot.fr

        A popular Python library just became a backdoor to your entire machine

        Link Preview Image
        A popular Python library just became a backdoor to your entire machine

        Supply chain attacks feel like they're becoming more and more common.

        favicon

        XDA (www.xda-developers.com)

        It's one of the most popular Python libraries for interacting with large language models [...] It has over 40,000 stars on GitHub, and it's an important dependency in a lot of AI tooling. It's also been compromised on PyPI, and the malicious versions are stealing everything they can find on your machine.

        Sorry but... 🍿

        dalias@hachyderm.ioD This user is from outside of this forum
        dalias@hachyderm.ioD This user is from outside of this forum
        dalias@hachyderm.io
        wrote last edited by
        #5

        @Khrys Wait, what? Python has a place you can install the Python equivalent of LD_PRELOAD code that gets injected into every program, and packages from their package manager can just drop stuff in there? Who came up with that shit and why isn't it fixed??

        missingclara@chaos.socialM 1 Reply Last reply
        0
        • gwozniak@discuss.systemsG gwozniak@discuss.systems

          @mayintoronto @Khrys I heard some "I hope we're not using this" remarks about this today.

          Hope.

          dalias@hachyderm.ioD This user is from outside of this forum
          dalias@hachyderm.ioD This user is from outside of this forum
          dalias@hachyderm.io
          wrote last edited by
          #6

          @gwozniak @mayintoronto @Khrys 🍿🍿🍿

          1 Reply Last reply
          0
          • khrys@mamot.frK khrys@mamot.fr

            A popular Python library just became a backdoor to your entire machine

            Link Preview Image
            A popular Python library just became a backdoor to your entire machine

            Supply chain attacks feel like they're becoming more and more common.

            favicon

            XDA (www.xda-developers.com)

            It's one of the most popular Python libraries for interacting with large language models [...] It has over 40,000 stars on GitHub, and it's an important dependency in a lot of AI tooling. It's also been compromised on PyPI, and the malicious versions are stealing everything they can find on your machine.

            Sorry but... 🍿

            P This user is from outside of this forum
            P This user is from outside of this forum
            pinskia@hachyderm.io
            wrote last edited by
            #7

            @Khrys I was looking for this take today though I didn't look hard because I have other things to do. But I definitely need a big bag of 🍿.

            1 Reply Last reply
            0
            • dalias@hachyderm.ioD dalias@hachyderm.io

              @Khrys Wait, what? Python has a place you can install the Python equivalent of LD_PRELOAD code that gets injected into every program, and packages from their package manager can just drop stuff in there? Who came up with that shit and why isn't it fixed??

              missingclara@chaos.socialM This user is from outside of this forum
              missingclara@chaos.socialM This user is from outside of this forum
              missingclara@chaos.social
              wrote last edited by
              #8

              @dalias @Khrys it's an hook from the 'site' module, which is what implements support for user installable package locations, and can be disabled completely. if your threat model allows malware to be installed to those locations, you are already compromised anyway. the hook isn't great sure — it's an old design that's difficult to replace without major downstream breakage — but there are many other ways you can amplify the attack, regardless.

              1 Reply Last reply
              0
              • khrys@mamot.frK khrys@mamot.fr

                A popular Python library just became a backdoor to your entire machine

                Link Preview Image
                A popular Python library just became a backdoor to your entire machine

                Supply chain attacks feel like they're becoming more and more common.

                favicon

                XDA (www.xda-developers.com)

                It's one of the most popular Python libraries for interacting with large language models [...] It has over 40,000 stars on GitHub, and it's an important dependency in a lot of AI tooling. It's also been compromised on PyPI, and the malicious versions are stealing everything they can find on your machine.

                Sorry but... 🍿

                peteriskrisjanis@toot.lvP This user is from outside of this forum
                peteriskrisjanis@toot.lvP This user is from outside of this forum
                peteriskrisjanis@toot.lv
                wrote last edited by
                #9

                @Khrys seriously, guys, don't use LLM, it is not worth it. Any savings you imagine are offset by security problems, anxiety, worries of unethical use, e.g.

                ell1e@hachyderm.ioE 1 Reply Last reply
                0
                • peteriskrisjanis@toot.lvP peteriskrisjanis@toot.lv

                  @Khrys seriously, guys, don't use LLM, it is not worth it. Any savings you imagine are offset by security problems, anxiety, worries of unethical use, e.g.

                  ell1e@hachyderm.ioE This user is from outside of this forum
                  ell1e@hachyderm.ioE This user is from outside of this forum
                  ell1e@hachyderm.io
                  wrote last edited by
                  #10

                  @peteriskrisjanis @Khrys Even Linux uses it now... https://hachyderm.io/@ell1e/116285351290767548 trying to understand on what grounds the LF thinks this is safe, feel free to jump in or boost.

                  1 Reply Last reply
                  0
                  • khrys@mamot.frK khrys@mamot.fr

                    A popular Python library just became a backdoor to your entire machine

                    Link Preview Image
                    A popular Python library just became a backdoor to your entire machine

                    Supply chain attacks feel like they're becoming more and more common.

                    favicon

                    XDA (www.xda-developers.com)

                    It's one of the most popular Python libraries for interacting with large language models [...] It has over 40,000 stars on GitHub, and it's an important dependency in a lot of AI tooling. It's also been compromised on PyPI, and the malicious versions are stealing everything they can find on your machine.

                    Sorry but... 🍿

                    jeffmcneill@hachyderm.ioJ This user is from outside of this forum
                    jeffmcneill@hachyderm.ioJ This user is from outside of this forum
                    jeffmcneill@hachyderm.io
                    wrote last edited by
                    #11

                    @Khrys @pluralistic Many systems have equally enormous attack surfaces, but Python probably stands head and shoulders above, due to ubiquity.

                    __brh__@mastodon.social_ 1 Reply Last reply
                    0
                    • jeffmcneill@hachyderm.ioJ jeffmcneill@hachyderm.io

                      @Khrys @pluralistic Many systems have equally enormous attack surfaces, but Python probably stands head and shoulders above, due to ubiquity.

                      __brh__@mastodon.social_ This user is from outside of this forum
                      __brh__@mastodon.social_ This user is from outside of this forum
                      __brh__@mastodon.social
                      wrote last edited by
                      #12

                      @jeffmcneill @Khrys @pluralistic it is a mad race with Node…

                      1 Reply Last reply
                      0
                      • khrys@mamot.frK khrys@mamot.fr

                        A popular Python library just became a backdoor to your entire machine

                        Link Preview Image
                        A popular Python library just became a backdoor to your entire machine

                        Supply chain attacks feel like they're becoming more and more common.

                        favicon

                        XDA (www.xda-developers.com)

                        It's one of the most popular Python libraries for interacting with large language models [...] It has over 40,000 stars on GitHub, and it's an important dependency in a lot of AI tooling. It's also been compromised on PyPI, and the malicious versions are stealing everything they can find on your machine.

                        Sorry but... 🍿

                        lenotaire@mastodon.socialL This user is from outside of this forum
                        lenotaire@mastodon.socialL This user is from outside of this forum
                        lenotaire@mastodon.social
                        wrote last edited by
                        #13

                        @Khrys For those unwilling to follow clickbaits, the library is #litellm

                        bekopharm@indieweb.socialB 1 Reply Last reply
                        0
                        • khrys@mamot.frK khrys@mamot.fr

                          A popular Python library just became a backdoor to your entire machine

                          Link Preview Image
                          A popular Python library just became a backdoor to your entire machine

                          Supply chain attacks feel like they're becoming more and more common.

                          favicon

                          XDA (www.xda-developers.com)

                          It's one of the most popular Python libraries for interacting with large language models [...] It has over 40,000 stars on GitHub, and it's an important dependency in a lot of AI tooling. It's also been compromised on PyPI, and the malicious versions are stealing everything they can find on your machine.

                          Sorry but... 🍿

                          woof@fedi.aria.dogW This user is from outside of this forum
                          woof@fedi.aria.dogW This user is from outside of this forum
                          woof@fedi.aria.dog
                          wrote last edited by
                          #14

                          @Khrys LiteLLM v. 1.82.8
                          saved everyone a click

                          1 Reply Last reply
                          0
                          • lenotaire@mastodon.socialL lenotaire@mastodon.social

                            @Khrys For those unwilling to follow clickbaits, the library is #litellm

                            bekopharm@indieweb.socialB This user is from outside of this forum
                            bekopharm@indieweb.socialB This user is from outside of this forum
                            bekopharm@indieweb.social
                            wrote last edited by
                            #15

                            @lenotaire @Khrys wtf is clickbait in that? This is a good writeup what is happening, how it is happening, who is targeted, names the affected lib in the very first sentence and shows how to figure out if it is installed.

                            Yes this is 🍿 but clickbait??

                            lenotaire@mastodon.socialL 1 Reply Last reply
                            0
                            • bekopharm@indieweb.socialB bekopharm@indieweb.social

                              @lenotaire @Khrys wtf is clickbait in that? This is a good writeup what is happening, how it is happening, who is targeted, names the affected lib in the very first sentence and shows how to figure out if it is installed.

                              Yes this is 🍿 but clickbait??

                              lenotaire@mastodon.socialL This user is from outside of this forum
                              lenotaire@mastodon.socialL This user is from outside of this forum
                              lenotaire@mastodon.social
                              wrote last edited by
                              #16

                              @bekopharm @Khrys The tut said "A popular Python library" and "It's one of the most popular Python libraries for interacting with large language models". No mention at all of "litellm" until opening the link. That's why I called it a clickbait

                              1 Reply Last reply
                              0
                              • R relay@relay.publicsquare.global shared this topic
                              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