GHSA-g2mp-9vvr-45jx: Malicious code in @sirius0528/black-moon (npm)
--- -= Per source details. Do not edit below this line.=-
Source: ghsa-malware (0a6c055f80bdee04ef033f8b509a8fa76f5f33c41d26e552c78906f27cf727d5) 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
@sirius0528/black-moonfrom your environment.Remove the malicious @sirius0528/black-moon package from affected computers; removing it may not remove all malicious software resulting from installation.
- Operational
Rotate all secrets and keys stored on any computer where @sirius0528/black-moon was installed or running, and perform the rotation immediately from a different computer.
Event History
Frequently Asked Questions
Which systems should be treated as compromised?
Any computer on which the package is installed or running should be considered fully compromised.
How should credentials and secrets on an affected computer be handled?
Rotate all secrets and keys stored on the affected computer immediately. Perform the rotation from a different computer.
Is removing the package sufficient to remediate the system?
Remove the package, but do not assume removal eliminates the compromise. The package may have given an outside entity full control of the computer, and other malicious software may remain.