Skip to main content
MalwarePublished Updated

code-formatter-setup (npm) · Malicious Code

Affects code-formatter-setupSource GCVE Database

0

Malicious package : remove code-formatter-setup and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:57 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10682

What to do

Remove code-formatter-setup 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
npmcode-formatter-setupAffected
  • =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 'code-formatter-setup' version 1.0.0 contains malicious code that executes an unverified shell script from an external URL during installation. This occurs via a postinstall lifecycle hook that runs a curl command to fetch and execute a script from https://m100.cloud/setup without integrity checks or publisher verification. The script runs with the privileges of the user installing the package, posing a significant security risk.

References

Community reviews

Loading reviews…