MAL-2025-142

    Dashboard / Malicious Package / MAL-2025-142

    MAL-2025-142

    Published: 19 Jan 2025Last Modified: 18 Jun 2025Aliases: 
    GHSA-hxcf-2jch-66qpSNYK-JS-NEXTREFRESHTOKEN-10172554

    Summary: Malicious code in next-refresh-token (npm)

    Details: This package executes a post-install script to collect system data and sends it to a remote server. Source: ghsa-malware (c1d44ee35f1e7a2f1a815de12ce539b2c3ffcb9ef5dc72eb632de64e000cf1b7) 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: next-refresh-token

    Purl: pkg:npm/next-refresh-token

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0
    1.0.1