MAL-2024-12178

    Dashboard / Malicious Package / MAL-2024-12178

    MAL-2024-12178

    Published: 18 Dec 2024Last Modified: 16 May 2025Aliases: 
    GHSA-wx52-52q2-cxmf

    Summary: Malicious code in @dz-lib/dz-cli (npm)

    Details: This package has a preinstall script to download an execute a Go-variant of the Cobalt Strike beacon. Source: ghsa-malware (ec9421e5d1892420fe8194f8361f8c856ef3b31d6996e2554d840fc850e59a1e) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

    Affected packages

    Package

    Name: @dz-lib/dz-cli

    Purl: pkg:npm/%40dz-lib/dz-cli

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0
    MAL-2024-12178 | CVE-DB