GHSA-45h2-rmx2-6wcv: Malicious code in 7un7kh (npm)
--- -= Per source details. Do not edit below this line.=-
Source: ghsa-malware (730e238a0bc6cb2ffe83f080d6c43fc755c72b6a50e28a80affc2a4cc8c84ae8) 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
npm/7un7khfrom your environment.Remove the 7un7kh package; removing it may not remove all malicious software resulting from its installation.
- Operational
Rotate all secrets and keys stored on any computer where the package was installed or running, and perform the rotation immediately from a different computer.
Event History
Frequently Asked Questions
Who should treat this as an incident?
Any computer where the npm package was installed or run should be considered fully compromised. This includes systems that may contain secrets or keys accessible to the affected package or its installation process.
What should be done immediately if the package is found?
Rotate all secrets and keys stored on the affected computer immediately, using a different computer. Remove the package, but do not treat removal alone as sufficient remediation.
Why is removing the package not enough?
The advisory states that installation may have given an outside entity full control of the computer. As a result, removing the package does not guarantee that any additional malicious software has been removed.