MAL-2026-10682: Malicious code in code-formatter-setup (npm)
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.
AI Analysis
Technical Summary
The 'code-formatter-setup' npm package version 1.0.0 declares a postinstall lifecycle hook that executes a shell command to fetch and run a script from an external URL (https://m100.cloud/setup) without any verification or integrity checks. This allows arbitrary code execution with the installer's user privileges at install time. The external script is not hosted by the package publisher or a trusted registry, making this a supply chain malicious code injection vulnerability.
Potential Impact
An attacker controlling the external script at https://m100.cloud/setup can execute arbitrary commands on the system of any user who installs the affected package version. This can lead to compromise of the user's environment, data theft, or further system compromise depending on the privileges of the installing user.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing 'code-formatter-setup' version 1.0.0. Verify package integrity and source before installation, and consider using alternative trusted packages. Monitor vendor advisories for updates or fixes.
MAL-2026-10682: Malicious code in code-formatter-setup (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'code-formatter-setup' npm package version 1.0.0 declares a postinstall lifecycle hook that executes a shell command to fetch and run a script from an external URL (https://m100.cloud/setup) without any verification or integrity checks. This allows arbitrary code execution with the installer's user privileges at install time. The external script is not hosted by the package publisher or a trusted registry, making this a supply chain malicious code injection vulnerability.
Potential Impact
An attacker controlling the external script at https://m100.cloud/setup can execute arbitrary commands on the system of any user who installs the affected package version. This can lead to compromise of the user's environment, data theft, or further system compromise depending on the privileges of the installing user.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing 'code-formatter-setup' version 1.0.0. Verify package integrity and source before installation, and consider using alternative trusted packages. Monitor vendor advisories for updates or fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10682
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a58b51b68715ace43db4791
Added to database: 07/16/2026, 10:40:27 UTC
Last enriched: 07/16/2026, 14:30:58 UTC
Last updated: 07/17/2026, 00:56:20 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.