Skip to main content
MalwarePublished Updated

black-moon-js (npm) · Malicious Code

Affects black-moon-jsSource GCVE Database

0

Malicious package : remove black-moon-js and rotate any secrets on hosts that installed it.

Data as of 13 Nov 2026, 04:41 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-2870

What to do

Remove black-moon-js from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmblack-moon-jsAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'black-moon-js' version 1.0.0 contains malicious code that communicates with a domain linked to malicious activity. Installation or execution of this package can lead to full compromise of the affected computer. Immediate removal of the package and rotation of all secrets and keys from a different, secure machine is strongly advised.

References

Community reviews

Loading reviews…