GHSA-hvrq-7pvp-2573: Malicious code in nminer (npm)
--- -= Per source details. Do not edit below this line.=-
Source: ghsa-malware (c898b43dd1ee0f1e9f5583261609fccdada1f1612e591381e05c64e032627e04) 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/nminerfrom your environment.Remove the nminer package; because the computer may have been fully controlled by an outside entity, removing the package may not remove all resulting malicious software.
- Operational
Immediately rotate all secrets and keys stored on the affected computer, using a different computer.
Event History
Frequently Asked Questions
Who should treat this as an active compromise?
Any computer on which nminer is installed or has been run should be treated as fully compromised.
What should be done first after finding nminer?
Rotate all secrets and keys stored on the affected computer immediately, using a different computer. Remove the package as part of response actions.
Is uninstalling the package enough to remediate the issue?
No. Because installing the package may have given an outside entity full control of the computer, removing it does not guarantee that all malicious software has been removed.