npm · Malicious package advisory
Malwarenext-refresh-token
MAL-2025-142
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. --- _-= Per source details. Do not edit below this line.=-_ ## 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.
Compromised versions (2)
- 1.0.0
- 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.