MAL-2026-5808

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/surf-lending/MAL-2026-5808.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5808
Aliases
  • GHSA-6762-f2rg-qwfv
Published
2026-06-15T17:23:40Z
Modified
2026-06-17T00:31:44.985135538Z
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.


-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-006606",
            "sha256": "0673929ecbf78a2eefece81336bea6445736f60e2bced40cd1c0da7384438dfc",
            "modified_time": "2026-06-15T17:23:41Z",
            "versions": [
                "9.9.9"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-06-15T18:54:53.829904758Z"
        },
        {
            "id": "IN-MAL-2026-006605",
            "sha256": "2ee48ee7b6045907414fd157235c904e9de41a64666deda286a011e0abc17b6e",
            "modified_time": "2026-06-15T17:23:40Z",
            "versions": [
                "9.9.9"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-06-15T18:54:53.784738755Z"
        },
        {
            "source": "ghsa-malware",
            "sha256": "d146bef145fcfc130e133a5c859ad346e934154820dc99baed00d5a4ae7304b9",
            "import_time": "2026-06-16T01:31:34.706071897Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-6762-f2rg-qwfv",
            "modified_time": "2026-06-16T00:36:20Z"
        }
    ]
}
References
Credits

Affected packages

npm / surf-lending

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*
9.9.9

Database specific

cwes
[
    {
        "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",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "surf-lending-9.9.9.tgz",
            "hashes": {
                "sha1": "f8a0de7d5468aa7d1faaf141b55558d0997cceef",
                "sha512_sri": "sha512-CVIhPbkcoI2zkZEx6wqD4qCd1J2XEhtEVeRzvqu9+2rMWIzn5ASxMLwALeIbC/KlgNG9M5DTmgGpvQNHYkmoyw=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "a50165f061f094a85a72e684b056a1065163d013fd0bbc60f19401602fcd63c54b3cd6",
            "sha256": "8936519f32d19d50089d55b700528b0a3149a27b8df271f19547c396948a8bdc",
            "path": "index.js"
        }
    ],
    "ips": [
        "2.25.140.71"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/surf-lending/MAL-2026-5808.json"