flowdefi
This report shows the evidence for flowdefi@9.9.9, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5806 confirms this npm version as malicious.
Advisory
MAL-2026-5806
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in flowdefi (npm)
Details
flow/surf-lending DeFi cred-exfil campaign sibling (c1655). preinstall `node index.js || true` exfils env secrets to raw C2 2.25.140.71:8443/surflending/npm-confusion (verified identical). No-renotify.
---
## Source: amazon-inspector (b5e410fabd766facf41c970113c2a0a1b06b67b82521ffae20a32328cd74994e) On `npm install`, the package's preinstall hook executes `node index.js`, which collects the host's `os.hostname()`, `os.userInfo().username`, current working directory, and all environment variables whose names match a credential-shaped regex (`key|seed|secret|token|private|mnemonic|password|blockfrost|redis|telegram|batcher`). The harvested data is POSTed as JSON to the bare IPv4 endpoint `https://2.25.140.71:8443/surflending/npm-confusion`. The package metadata is a stub (`description: "flowdefi SDK"`, no repository, no author, version pinned to `9.9.9` — a classic dependency-confusion high-version trick), and the exfil path is literally named `/surflending/npm-confusion`, indicating a dependency-confusion attack targeting an internal package named `flowdefi`, likely belonging to a Cardano/DeFi project (the regex specifically targets Cardano-ecosystem secrets such as `blockfrost`, `mnemonic`, `seed`, `batcher`). Installing this package on a developer or CI machine will leak wallet seed phrases, private keys, API tokens, and other secrets to the attacker.
## Source: ghsa-malware (224957c95a54d8bc6cdfa2f0153483240125d9879182a51d3accbd4137cd7465) 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.
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to flowdefi@9.9.9.
The versions list below shows the verdict for each recorded version.
- Avoid installing flowdefi@9.9.9. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.