MAL-2026-19209: 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 package from any computer where it is installed or running; removing it may not remove all malicious software resulting from its installation.
- Operational
Immediately rotate all secrets and keys stored on any computer where @sirius0528/black-moon was installed or running, using a different computer.
Event History
Frequently Asked Questions
Who should treat this as an incident?
Any environment where @sirius0528/black-moon is installed or has run should be treated as fully compromised. This includes systems that may contain secrets or keys accessible to the package.
What should be done with credentials and secrets on an affected computer?
Rotate all secrets and keys stored on the affected computer immediately, using a different computer. Do not rely on the potentially compromised system to perform credential recovery or rotation.
Is removing the package sufficient to remediate the compromise?
No. The package should be removed, but removal does not guarantee that other malicious software installed as a result of the package has been removed, because outside control of the computer may have been obtained.