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.
-= Per source details. Do not edit below this line.=-
package.json declares preinstall: node index.js, which fires automatically on npm install. index.js collects host identifiers (os.hostname(), os.userInfo().username, cwd) and enumerates process.env, filtering keys by the regex /key|seed|secret|token|private|mnemonic|password|blockfrost|redis|telegram|batcher/i to capture credential-shaped values (API keys, seed phrases, mnemonics, private keys, Telegram bot tokens, Blockfrost keys, Redis URLs, batcher keys). The harvested JSON is POSTed to https://2.25.140.71:8443/surflending/npm-confusion — a hardcoded bare-IP endpoint. The attacker-chosen URL path /surflending/npm-confusion and the sentinel version 9.9.9 indicate a dependency-confusion attack targeting a private bodega-sdk package (likely SurfLending/Bodega DEX on Cardano): any organization with an internal package of this name risks the public copy resolving on install, leaking credentials from CI runners and developer machines unconditionally.
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": [
{
"sha256": "00fcd3f5e4dfac2768e148e4b2217e4c4f2ea20d70fca50b5b40cd6f27f10cef",
"id": "IN-MAL-2026-006604",
"source": "amazon-inspector",
"import_time": "2026-06-15T18:54:53.756564991Z",
"modified_time": "2026-06-15T17:23:33Z",
"versions": [
"9.9.9"
]
},
{
"modified_time": "2026-06-15T17:23:32Z",
"id": "IN-MAL-2026-006603",
"source": "amazon-inspector",
"import_time": "2026-06-15T18:54:53.724055626Z",
"sha256": "75aea05ceba339fbc9f0764e178d0cac8170219115218d635b14639ec01410a4",
"versions": [
"9.9.9"
]
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"id": "GHSA-m774-6g93-j76m",
"source": "ghsa-malware",
"import_time": "2026-06-16T01:31:34.719628017Z",
"modified_time": "2026-06-16T00:36:20Z",
"sha256": "fbdcacc3104a9f8f465f677b36d460e4f56e50654720b0d0bc0217e58f9bd6ce"
}
]
}{
"ips": [
"2.25.140.71"
],
"evidence_files": [
{
"path": "index.js",
"tlsh": "a50165f061f094a85a72e684b056a1065163d013fd0bbc60f19401602fcd63c54b3cd6",
"sha256": "8936519f32d19d50089d55b700528b0a3149a27b8df271f19547c396948a8bdc"
},
{
"path": "package.json",
"tlsh": "c5c092a44f21fa711a580bf7bda7de48e5e2032840688588acc31479d0a17fe85de24b",
"sha256": "9d68a43ed5466347b21fb58f2a49d0792d4e8567a98ad405d4636b3952538f75"
}
],
"package_integrity": [
{
"filename": "bodega-sdk-9.9.9.tgz",
"hashes": {
"sha1": "a2152d20d2f155351c6ba14206372500830e00b1",
"sha512_sri": "sha512-ZwbMERq02OV/NsqdehQ8snT6Krb7a9s4EHWD5yq02fHy2KEcqAe1Ktu5NXEXpTvxC/eTWQ7ajuzpu74nDU4HCA=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bodega-sdk/MAL-2026-5801.json"
[
{
"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",
"name": "Embedded Malicious Code"
}
]