MAL-2026-5808 Malicious code in surf-lending (npm)
- Package
- surf-lending
- Registry
- npm
What is MAL-2026-5808?
MAL-2026-5808 is a malicious package in surf-lending, published on 15 Jun 2026.
Official description
Sibling of [email protected] campaign (C2 path /surflending/). Sentinel-9.9.9 dep-confusion squat; preinstall node index.js || true exfils env secrets (mnemonic/key/token/blockfrost) to raw C2 2.25.140.71:8443/surflending/npm-confusion. c913 + c252.
On npm install, the package automatically runs node index.js via scripts.preinstall. The script collects host identity (hostname, username, cwd) and filters process.env for keys matching /key|seed|secret|token|private|mnemonic|password|blockfrost|redis|telegram|batcher/i, then POSTs the resulting JSON to https://2.25.140.71:8443/surflending/npm-confusion. Errors are swallowed (|| true) to hide failures. The credential-shaped regex (mnemonic/seed/private/blockfrost) targets crypto-wallet and infrastructure secrets, and the path /surflending/npm-confusion together with the suspicious 9.9.9 version is consistent with a dependency-confusion attack against an internal surf-lending package. Any developer or CI environment installing this package will leak its secrets to the attacker-controlled endpoint.
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.
What should I do about MAL-2026-5808?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-6762-f2rg-qwfv.