surf-lending
This report shows the evidence for surf-lending@9.9.9, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5808 confirms this npm version as malicious.
Advisory
MAL-2026-5808
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in surf-lending (npm)
Details
Sibling of flow-lending@9.9.9 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.
---
## Source: amazon-inspector (2ee48ee7b6045907414fd157235c904e9de41a64666deda286a011e0abc17b6e) 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.
## Source: ghsa-malware (d146bef145fcfc130e133a5c859ad346e934154820dc99baed00d5a4ae7304b9) 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 surf-lending@9.9.9.
The versions list below shows the verdict for each recorded version.
- Avoid installing surf-lending@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.