MAL-2024-11932 Malicious code in bs-auto-dark-mode (npm)

Malicious package Published
Package
bs-auto-dark-mode
Registry
npm

What is MAL-2024-11932?

MAL-2024-11932 is a malicious package in bs-auto-dark-mode, published on 18 Dec 2024.

Official description

This package has a preinstall script to download an execute a Go-variant of the Cobalt Strike beacon.

The OpenSSF Package Analysis project identified 'bs-auto-dark-mode' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.

What should I do about MAL-2024-11932?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2024-11932 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free