LWA-2026-4846 MAL-2026-5852 ↗ confirmed malware

richtext-editor-ui@1.0.0

Malicious code in richtext-editor-ui (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web Protocols

Analysis

The postinstall hook (postinstall.js) is a staged remote-code-execution dropper. It ships a base64-encoded URL that decodes to hxxps://www[.]jsonkeeper[.]com/b/7EBZP, fetches whatever content is hosted at that URL via axios at install time, spawns a detached background node process with its stdin piped, and writes the fetched remote payload into that child process's stdin for immediate execution. The child runs detached and unref'd so it persists after npm install completes. The package name "richtext-editor-ui" is misleading — the shipped code references 'theta', not an editor UI. No repository URL is declared, the publisher is a new account with a single version, and the package has no meaningful functionality beyond this install-time remote code loader.

analyzed by
Leitwacht
first seen
Jun 12, 2026, 07:54 PM
analyzed
Jun 12, 2026, 07:55 PM

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.