Skip to main content

Malicious code in checkout-format-money (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:11:43 UTC)
Source: GCVE Database
Product: checkout-format-money

Description

The npm package checkout-format-money version 35.8.6 contains malicious code that executes a remote code execution dropper upon being required. It reconstructs attacker-controlled hostnames, downloads a binary payload, writes it to disk with disguised filenames, sets executable permissions, and runs it detached with the installer's privileges. This behavior confirms hostile intent and poses a severe risk to any environment that installs and uses this package.

Affected software

npmghsa
checkout-format-money
Affected versions
=35.8.6

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

AILast updated: 08/05/2026, 15:57:37 UTC

Technical Analysis

The checkout-format-money npm package at version 35.8.6 includes embedded malicious code that triggers remote code execution when the package is loaded. The index.js file requires setup.js, which reconstructs obfuscated destination hostnames and performs DNS-TXT discovery to fetch an opaque binary from attacker-controlled servers. The binary is saved to temporary directories under disguised names, permissions are set to executable, and it is spawned detached via shell commands on Unix or Windows. A secondary loader with similar behavior is embedded in lib/telemetry.js, which base64-decodes a payload, writes it to disk, sets executable permissions, and executes it. The use of string-split obfuscation, disguised filenames, and unpinned payloads from attacker-controlled hosts confirms the package is malicious and designed to run arbitrary code with the privileges of the user installing the package.

Potential Impact

Any environment that installs and requires checkout-format-money version 35.8.6 will execute attacker-controlled binaries with the installer's privileges, leading to full remote code execution. This can result in complete system compromise, data theft, persistence, or further malware deployment. The malicious payload runs detached and stealthily, increasing the risk of unnoticed compromise.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove and avoid installing checkout-format-money version 35.8.6. Audit existing environments for the presence of this package and any suspicious binaries in temporary directories. Since no patch is available, the best mitigation is to cease use and replace the package with a trusted alternative. Monitor for any unusual processes spawned from temporary directories and investigate accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12563
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735732bf8831d53913d096

Added to database: 08/05/2026, 15:30:58 UTC

Last enriched: 08/05/2026, 15:57:37 UTC

Last updated: 09/13/2026, 20:30:12 UTC

Views: 19

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses