LWA-2026-6651 MAL-2026-6689 ↗ confirmed malware

decimal-format-core@3.5.4

Malicious code in decimal-format-core (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1070.004 · File Deletion

Analysis

The postinstall hook (scripts/install-check.cjs) fetches a JSON configuration from the package's homepage URL (logstream-api[.]online), extracts a peerBundle URL from the response, downloads a gzip-compressed tarball from that URL, extracts it using shell tar, runs npm install on the extracted code, and executes the installed module's syncSession() function. All downloaded artifacts are deleted after execution. The package's homepage field in package.json points to the attacker-controlled config endpoint. The numeric.js and logger.js files are benign decoy code; the malicious payload is delivered at install time from the remote server.

analyzed by
Leitwacht
first seen
Jul 13, 2026, 06:38 AM
analyzed
Jul 13, 2026, 06:42 AM
weekly installs
139

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.