back to article Solana blockchain's popular web3.js npm package backdoored to steal keys, funds

Malware-poisoned versions of the widely used JavaScript library @solana/web3.js were distributed via the npm package registry, according to an advisory issued Wednesday by project maintainer Steven Luscher. An advisory, covering CVE-2024-54134 (CVSS-B: 8.3 High), explains that a hijacked @solana account with permission to …

  1. Doctor Syntax Silver badge

    Blockchain. The gift that keeps on taking.

    1. An_Old_Dog Silver badge
      Flame

      Cryptographic Code-Signing:

      The long-known technique which companies, organisations, and developers either fail to use, or keep fucking up.

      1. sabroni Silver badge

        Re: Cryptographic Code-Signing:

        They compromised the source and ran the build. The build signs the compromised package. Users check that it's signed and installs it.

        I'm not sure what you are trying to say with this. How do you think Cryptographic Code-signing is relevant here?

        1. An_Old_Dog Silver badge

          Re: Cryptographic Code-Signing:

          @sabroni:

          a hijacked @solana account with permission to publish the library was used to add malicious code.

          How was that account hijacked? Password == "123456"? Dev web-surfed on a machine signed into that Solana account, or on a machine which had the Solana account creds or keys stored on it, instead of surfing from a VM? Somebody put the Solana account PW in a repo?

          Fuckup. Locks are useless if you leave the keys in the lock, or on the ground somewhere.

      2. Irongut Silver badge

        Re: Cryptographic Code-Signing:

        Apparently old dogs don't understand the lack of security provided by their old tricks.

        What a shame they are unable to learn new ones.

      3. CowHorseFrog Silver badge

        Re: Cryptographic Code-Signing:

        code signing wouldnt solve anything. Most dependency management config files never use exact version numbers, which means at anytime a new version could be sucked in and that new version coul dhave a backdoor.

    2. CowHorseFrog Silver badge

      Given RUssias disconnection from swift, i wonder how much of a new weapon Bitcoin and all the other bullshit coins is too helping Putin.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like