VDB
KO

MAL-2026-12393

Malicious code in invest-module-cookie (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (6c3f53c4d50d2dedd530c65015b26a902950e6e2bbef3cda3560a661d4aad178) On require('invest-module-cookie'), index.js loads _adapter.js which selects an OS-specific asset path, downloads an opaque binary from one of three obfuscated *.workers.dev hosts (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT covert-channel fallback that base64-reassembles chunks from *.dl.well1.site (tin/tina/ldr/win subdomains), writes the payload to /var/tmp or %TEMP% under a disguised name, chmods it 0755, and detaches-spawns it via /bin/sh -c or cmd.exe. Destination hostnames are assembled at runtime from split string fragments (e.g. ['oob-worker.cf102-baf.wo','rkers.dev'].join('')) to defeat static host-scanning. The package is advertised as reusable cookie module components, and the fetched binary bears no relationship to that stated purpose; publisher identity does not match any of the hardcoded hosts.

## Source: ghsa-malware (29dfcd241e45bbbefbb5df82057898c212a9e042de6b484de1be7f2347cf7f01) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / invest-module-cookie
Introduced in: 0

No fixed version published yet for invest-module-cookie (npm). Pin to a known-safe version or switch to an alternative.

References