bodega-sdk@9.9.9
Malicious code in bodega-sdk (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel
Analysis
bodega-sdk@9.9.9 is a dependency-confusion package that exfiltrates environment variables at install time. The preinstall hook (node index.js || true) runs a script that collects the hostname, username, current working directory, and all environment variables whose names match secret/key/token/mnemonic/password patterns, then POSTs them to 2[.]25[.]140[.]71:8443/surflending/npm-confusion. Errors are silently caught so the install does not fail and alert the user.
- analyzed by
- Leitwacht
- first seen
- Jun 15, 2026, 02:57 PM
- analyzed
- Jun 15, 2026, 02:58 PM
Related advisories
- surf-lending@9.9.9
- flowdefi@9.9.9
- flowcardano@9.9.9
- flow-lending@9.9.9
- umi-preset-rce-jytest@1.0.1
- typescript-util-core@3.5.0
- ts-relayer-pub@1.0.0
- ts-enum-helper@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.