-= Per source details. Do not edit below this line.=-
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.
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.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-006608",
"import_time": "2026-06-15T18:54:53.997412175Z",
"versions": [
"9.9.9"
],
"source": "amazon-inspector",
"sha256": "97aab6ad6cd465ed64cf6bb5151508a6fac2ba7b26b98d5732f0ed5d0c594d13",
"modified_time": "2026-06-15T17:23:54Z"
},
{
"id": "IN-MAL-2026-006607",
"import_time": "2026-06-15T18:54:53.946504171Z",
"versions": [
"9.9.9"
],
"source": "amazon-inspector",
"modified_time": "2026-06-15T17:23:54Z",
"sha256": "b5e410fabd766facf41c970113c2a0a1b06b67b82521ffae20a32328cd74994e"
},
{
"id": "GHSA-24j3-x8g2-c23q",
"import_time": "2026-06-16T01:31:34.693377095Z",
"source": "ghsa-malware",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"modified_time": "2026-06-16T00:36:20Z",
"sha256": "224957c95a54d8bc6cdfa2f0153483240125d9879182a51d3accbd4137cd7465"
}
]
}[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/flowdefi/MAL-2026-5806.json"
{
"package_integrity": [
{
"filename": "flowdefi-9.9.9.tgz",
"hashes": {
"sha1": "81e14ae6b5ce780af97cec63fe618bb10afb0ca6",
"sha512_sri": "sha512-3ufMbDz2gCzbY1K3BfnYP+hYVhvGnPWL8AfLSI01oucEYihj7KBZxomAaWTSO3IXtE6n4u6Dqjw3/zy4P7B3FQ=="
}
}
],
"evidence_files": [
{
"path": "index.js",
"sha256": "8936519f32d19d50089d55b700528b0a3149a27b8df271f19547c396948a8bdc",
"tlsh": "a50165f061f094a85a72e684b056a1065163d013fd0bbc60f19401602fcd63c54b3cd6"
},
{
"path": "package.json",
"sha256": "208643a4a133154b9d33a551dc5e2760fbed46fe6e110c7044cdc1ee9bae59b5",
"tlsh": "21c02b600f30f230050c4ee17c73cc0892e502100088884044f3003c85e0bff808e00f"
}
],
"ips": [
"2.25.140.71"
]
}