Salta al contenuto
0
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
Collassa

Forum Federato

Di Piero Bosio
  1. Home
  2. Categorie
  3. Senza categoria
  4. Malicious javascript compromise on npmjs.com

Malicious javascript compromise on npmjs.com

Pianificato Fissato Bloccato Spostato Senza categoria
17 Post 5 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • Kevin Beaumontundefined Kevin Beaumont

    Example copy of one of the inserted JS: https://pastebin.com/bwLZrq02

    Kevin Beaumontundefined Questo utente è esterno a questo forum
    Kevin Beaumontundefined Questo utente è esterno a questo forum
    Kevin Beaumont
    scritto su ultima modifica di
    #4

    Just reported to NPM, they work on it.

    Kevin Beaumontundefined 1 Risposta Ultima Risposta
    • Kevin Beaumontundefined Kevin Beaumont

      Just reported to NPM, they work on it.

      Kevin Beaumontundefined Questo utente è esterno a questo forum
      Kevin Beaumontundefined Questo utente è esterno a questo forum
      Kevin Beaumont
      scritto su ultima modifica di
      #5

      Derek's caught it too https://infosec.exchange/@derekheld/115169311485030806

      Kevin Beaumontundefined 1 Risposta Ultima Risposta
      • Kevin Beaumontundefined Kevin Beaumont

        Derek's caught it too https://infosec.exchange/@derekheld/115169311485030806

        Kevin Beaumontundefined Questo utente è esterno a questo forum
        Kevin Beaumontundefined Questo utente è esterno a questo forum
        Kevin Beaumont
        scritto su ultima modifica di
        #6

        It's a cryptocurrency wallet drainer, RIP a load of devops dudes crypto.

        Kevin Beaumontundefined 1 Risposta Ultima Risposta
        1
        • Kevin Beaumontundefined Kevin Beaumont

          Malicious javascript compromise on npmjs.com

          These packages, about a billion downloads prior

          supports-hyperlinks
          chalk-template
          simple-swizzle
          slice-ansi
          error-ex
          is-arrayish
          wrap-ansi
          backslash
          color-string
          color-convert
          color
          color-name

          Thread follows.

          Ricardo Carvalhoundefined Questo utente è esterno a questo forum
          Ricardo Carvalhoundefined Questo utente è esterno a questo forum
          Ricardo Carvalho
          scritto su ultima modifica di
          #7

          @GossiTheDog is-arrayish, it has 9 lines of code ☠️

          Cassandrichundefined 1 Risposta Ultima Risposta
          • Kevin Beaumontundefined Kevin Beaumont

            It's a cryptocurrency wallet drainer, RIP a load of devops dudes crypto.

            Kevin Beaumontundefined Questo utente è esterno a questo forum
            Kevin Beaumontundefined Questo utente è esterno a questo forum
            Kevin Beaumont
            scritto su ultima modifica di
            #8

            NPM on it, some packages nuked, more being nuked

            Kevin Beaumontundefined 1 Risposta Ultima Risposta
            • Kevin Beaumontundefined Kevin Beaumont

              NPM on it, some packages nuked, more being nuked

              Kevin Beaumontundefined Questo utente è esterno a questo forum
              Kevin Beaumontundefined Questo utente è esterno a questo forum
              Kevin Beaumont
              scritto su ultima modifica di
              #9

              If you want an idea of scale of trojan attempt - 'color' alone had 32m downloads in a week, the combined attempt was pushing a billion due to upstream dependencies.

              Hunt tip: look for registry.npmjs.org in proxy logs, package names are in the URLs.

              Kevin Beaumontundefined 1 Risposta Ultima Risposta
              • Kevin Beaumontundefined Kevin Beaumont

                If you want an idea of scale of trojan attempt - 'color' alone had 32m downloads in a week, the combined attempt was pushing a billion due to upstream dependencies.

                Hunt tip: look for registry.npmjs.org in proxy logs, package names are in the URLs.

                Kevin Beaumontundefined Questo utente è esterno a questo forum
                Kevin Beaumontundefined Questo utente è esterno a questo forum
                Kevin Beaumont
                scritto su ultima modifica di
                #10

                additional backdoored packages

                ansi-styles
                debug
                chalk
                supports-color
                strip-ansi
                ansi-regex
                has-ansi

                Kevin Beaumontundefined 1 Risposta Ultima Risposta
                1
                • Kevin Beaumontundefined Kevin Beaumont

                  additional backdoored packages

                  ansi-styles
                  debug
                  chalk
                  supports-color
                  strip-ansi
                  ansi-regex
                  has-ansi

                  Kevin Beaumontundefined Questo utente è esterno a questo forum
                  Kevin Beaumontundefined Questo utente è esterno a questo forum
                  Kevin Beaumont
                  scritto su ultima modifica di
                  #11

                  Weekly download stats for impacted packages prior to incident

                  ansi-styles (371.41m)
                  debug (357.6m)
                  backslash (0.26m)
                  chalk-template (3.9m)
                  supports-hyperlinks (19.2m)
                  has-ansi (12.1m)
                  simple-swizzle (26.26m)
                  color-string (27.48m)
                  error-ex (47.17m)
                  color-name (191.71m)
                  is-arrayish (73.8m)
                  slice-ansi (59.8m)
                  color-convert (193.5m)
                  wrap-ansi (197.99m)
                  ansi-regex (243.64m)
                  supports-color (287.1m)
                  strip-ansi (261.17m)
                  chalk (299.99m)

                  Total 2674m

                  Kevin Beaumontundefined 1 Risposta Ultima Risposta
                  2
                  • Kevin Beaumontundefined Kevin Beaumont

                    Weekly download stats for impacted packages prior to incident

                    ansi-styles (371.41m)
                    debug (357.6m)
                    backslash (0.26m)
                    chalk-template (3.9m)
                    supports-hyperlinks (19.2m)
                    has-ansi (12.1m)
                    simple-swizzle (26.26m)
                    color-string (27.48m)
                    error-ex (47.17m)
                    color-name (191.71m)
                    is-arrayish (73.8m)
                    slice-ansi (59.8m)
                    color-convert (193.5m)
                    wrap-ansi (197.99m)
                    ansi-regex (243.64m)
                    supports-color (287.1m)
                    strip-ansi (261.17m)
                    chalk (299.99m)

                    Total 2674m

                    Kevin Beaumontundefined Questo utente è esterno a questo forum
                    Kevin Beaumontundefined Questo utente è esterno a questo forum
                    Kevin Beaumont
                    scritto su ultima modifica di
                    #12

                    Phishing email sent to maintainers, they basically targeted people with 2FA by getting them to.. reset their 2FA.

                    Kevin Beaumontundefined 1 Risposta Ultima Risposta
                    • Kevin Beaumontundefined Kevin Beaumont

                      Phishing email sent to maintainers, they basically targeted people with 2FA by getting them to.. reset their 2FA.

                      Kevin Beaumontundefined Questo utente è esterno a questo forum
                      Kevin Beaumontundefined Questo utente è esterno a questo forum
                      Kevin Beaumont
                      scritto su ultima modifica di
                      #13

                      Developer confirms they fell for phishing email

                      It looks like others have too, found one other compromised repo from a different user, will have a dig tomorrow as bored of cyber tonight.

                      https://bsky.app/profile/bad-at-computer.bsky.social/post/3lydioq5swk2y

                      Kevin Beaumontundefined 1 Risposta Ultima Risposta
                      1
                      • Ricardo Carvalhoundefined Ricardo Carvalho

                        @GossiTheDog is-arrayish, it has 9 lines of code ☠️

                        Cassandrichundefined Questo utente è esterno a questo forum
                        Cassandrichundefined Questo utente è esterno a questo forum
                        Cassandrich
                        scritto su ultima modifica di
                        #14

                        @rabc @GossiTheDog Fuck micro-dependency shit.

                        1 Risposta Ultima Risposta
                        1
                        • Kevin Beaumontundefined Kevin Beaumont

                          Developer confirms they fell for phishing email

                          It looks like others have too, found one other compromised repo from a different user, will have a dig tomorrow as bored of cyber tonight.

                          https://bsky.app/profile/bad-at-computer.bsky.social/post/3lydioq5swk2y

                          Kevin Beaumontundefined Questo utente è esterno a questo forum
                          Kevin Beaumontundefined Questo utente è esterno a questo forum
                          Kevin Beaumont
                          scritto su ultima modifica di
                          #15

                          For anybody confused about how this happens, basically:

                          - For about the past 15 years every business has been developing apps by pulling in 178 interconnected libraries written by 24 people in a shed in Skegness

                          - For about the past 2 years orgs have been buying AI vibe coding tools, where some exec screams "make online shop" into a computer and 389 libraries are added and an app is farted out

                          The output = if you want to own the world's companies, just phish one guy in Skegness

                          tautologyundefined 1 Risposta Ultima Risposta
                          1
                          • Kevin Beaumontundefined Kevin Beaumont

                            For anybody confused about how this happens, basically:

                            - For about the past 15 years every business has been developing apps by pulling in 178 interconnected libraries written by 24 people in a shed in Skegness

                            - For about the past 2 years orgs have been buying AI vibe coding tools, where some exec screams "make online shop" into a computer and 389 libraries are added and an app is farted out

                            The output = if you want to own the world's companies, just phish one guy in Skegness

                            tautologyundefined Questo utente è esterno a questo forum
                            tautologyundefined Questo utente è esterno a questo forum
                            tautology
                            scritto su ultima modifica di
                            #16

                            @GossiTheDog the trend in npm to use trivial libraries, i.e.ones you can replace in one expression, really doesn't help.

                            When we do training on this I point the finger at is-even which is dependent on is-odd and is-number and can be replaced by (x % 2) == 0

                            1 Risposta Ultima Risposta
                            1
                            • Stefano Marinelliundefined Stefano Marinelli ha condiviso questa discussione
                            • Kevin Beaumontundefined Kevin Beaumont

                              Malicious javascript compromise on npmjs.com

                              These packages, about a billion downloads prior

                              supports-hyperlinks
                              chalk-template
                              simple-swizzle
                              slice-ansi
                              error-ex
                              is-arrayish
                              wrap-ansi
                              backslash
                              color-string
                              color-convert
                              color
                              color-name

                              Thread follows.

                              Evan Prodromouundefined Questo utente è esterno a questo forum
                              Evan Prodromouundefined Questo utente è esterno a questo forum
                              Evan Prodromou
                              scritto su ultima modifica di
                              #17

                              @GossiTheDog Whoa!

                              1 Risposta Ultima Risposta
                              • Oblomovundefined Oblomov ha condiviso questa discussione
                                Jess Robinsonundefined Jess Robinson ha condiviso questa discussione
                              Rispondi
                              • Topic risposta
                              Effettua l'accesso per rispondere
                              • Da Vecchi a Nuovi
                              • Da Nuovi a Vecchi
                              • Più Voti


                              • Accedi

                              • Accedi o registrati per effettuare la ricerca.
                              • Primo post
                                Ultimo post