LWA-2026-12196 MAL-2026-16253 ↗ confirmed malware

laycot@1.3.10

Malicious code in laycot (npm)

T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1055 · Process Injection

Analysis

laycot@1.3.10 is a remote-code-execution dropper. Importing the package automatically spawns a detached background `node loader.js` process (PID persisted to a .pid file). loader.js fetches a remote configuration from hxxps://api[.]npoint[.]io/641d37178a880b1e8b8f, base64-decodes the `code` field from the JSON response, and executes it via the Function constructor with require/__dirname/__filename/module/exports injected. The executed payload is served remotely and is not present in the package, so its behaviour is fully controlled by the remote endpoint. The loader also monkey-patches child_process.spawn/execSync to force windowsHide on Windows. The package makes outbound network contact on execution.

analyzed by
Leitwacht
first seen
Sep 17, 2026, 12:20 AM
analyzed
Sep 17, 2026, 12:20 AM

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.