MAL-2025-142
Dashboard / Malicious Package / MAL-2025-142
MAL-2025-142
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.
References: https://cycode.com/blog/malicious-code-hidden-in-npm-packages/, https://github.com/advisories/GHSA-hxcf-2jch-66qp, https://cycode.com/blog/malicious-code-hidden-in-npm-packages, https://security.snyk.io/vuln/SNYK-JS-NEXTREFRESHTOKEN-10172554, https://npmjs.com/package/next-refresh-token
Affected packages
Package
Name: next-refresh-token
Purl: pkg:npm/next-refresh-token
Affected ranges
Type: SEMVER
Events:
