VDB
KO

MAL-2026-5805

Malicious code in flowcardano (npm)

Details

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

## Source: amazon-inspector (21379b9b1e9f6a64a18a806531d9f1bb22394694b092eb2b26b6b4d356bd5a4a) On `npm install`, package.json's preinstall hook runs `node index.js`, which collects host identity (os.hostname(), os.userInfo().username, cwd) and scrapes process.env for any key matching the regex `key|seed|secret|token|private|mnemonic|password|blockfrost|redis|telegram|batcher`, then POSTs the resulting JSON to https://2.25.140.71:8443/surflending/npm-confusion (index.js lines 13-17). The destination is a bare IP rather than any publisher- or vendor-owned host, and the request path (`/surflending/npm-confusion`) self-describes the intent as a dependency-confusion exfiltration channel. The package name `flowcardano` impersonates Cardano-ecosystem tooling and is published at version 9.9.9, the canonical dependency-confusion bait version chosen to outrank legitimate internal packages in resolver order. Any developer or CI agent that installs this package leaks credential-shaped environment variables (wallet seeds/mnemonics, private keys, Blockfrost / Telegram / Redis tokens, generic API tokens and passwords) along with host identifiers to the attacker.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / flowcardano

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

References