MAL-2026-5803

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/flow-lending/MAL-2026-5803.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5803
Aliases
  • GHSA-pgcr-8w67-72j9
Published
2026-06-15T17:24:05Z
Modified
2026-06-17T00:31:44.416841745Z
Summary
Malicious code in flow-lending (npm)
Details

Sentinel-high (9.9.9) dependency-confusion squat of an internal Cardano/DeFi lending pkg. preinstall node index.js || true auto-execs a credential exfil: harvests env secrets (mnemonic/private key/token/blockfrost API key) and POSTs to raw attacker C2 2.25.140.71:8443/surflending/npm-confusion. 2-pkg campaign (flow-lending + surf-lending). c913 + c252.


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

Source: amazon-inspector (244fb3d5df39fbdba24f9a22b86d0bca43667f3376a9529d5cc84e411f11a28f)

On npm install, the package's preinstall lifecycle hook executes index.js, which collects host identity (hostname, username, cwd) and enumerates process.env, filtering keys against the regex /key|seed|secret|token|private|mnemonic|password|blockfrost|redis|telegram|batcher/i. The collected JSON is POSTed over HTTPS to a hardcoded bare IP destination (https://2.25.140.71:8443/surflending/npm-confusion). The package provides no legitimate functionality; the path component 'surflending/npm-confusion' and the 9.9.9 version (a version-bump pattern used to win dependency-confusion resolution) indicate a directed dependency-confusion attack against an internal Cardano/SundaeSwap-related package name. Any installer with wallet-related secrets in environment variables (mnemonics, private keys, blockfrost tokens, telegram bot tokens, redis credentials, batcher keys) loses them at install time.

Source: ghsa-malware (31f3b9a8a1c9a108f544556d9f0ed2d1642e847bfe36ba050aab0011fb9d731d)

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": [
        {
            "sha256": "244fb3d5df39fbdba24f9a22b86d0bca43667f3376a9529d5cc84e411f11a28f",
            "source": "amazon-inspector",
            "modified_time": "2026-06-15T17:24:05Z",
            "id": "IN-MAL-2026-006611",
            "versions": [
                "9.9.9"
            ],
            "import_time": "2026-06-15T18:54:54.12018936Z"
        },
        {
            "sha256": "82e6486823dda6ec2719a9f76200cd47c559c51f1db0be144edf32fce5c9969f",
            "source": "amazon-inspector",
            "modified_time": "2026-06-15T17:24:05Z",
            "id": "IN-MAL-2026-006612",
            "versions": [
                "9.9.9"
            ],
            "import_time": "2026-06-15T18:54:54.150856616Z"
        },
        {
            "sha256": "31f3b9a8a1c9a108f544556d9f0ed2d1642e847bfe36ba050aab0011fb9d731d",
            "source": "ghsa-malware",
            "modified_time": "2026-06-16T00:36:20Z",
            "id": "GHSA-pgcr-8w67-72j9",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-16T01:31:34.72215266Z"
        }
    ]
}
References
Credits

Affected packages

npm / flow-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
[
    {
        "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.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/flow-lending/MAL-2026-5803.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "8936519f32d19d50089d55b700528b0a3149a27b8df271f19547c396948a8bdc",
            "tlsh": "a50165f061f094a85a72e684b056a1065163d013fd0bbc60f19401602fcd63c54b3cd6",
            "path": "index.js"
        },
        {
            "sha256": "e49a64d287d4522a1b81f0e4e6b5c86f7375469cee6a890dd3ab62bc9e2590c6",
            "tlsh": "6fc012706e14a63314c806e598b6d546a1f21e1a114864445a97101941a8b7b54ab60e",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-brxxUwt9/6Y7OtYJC98/xS545wF3I9vDioQ/A+vx/OI8uMr+TT4G0pHS/WPao/NQRv78+gkFzgtmmDO+eSBj2g==",
                "sha1": "cdcbd543b6364538ae1aba92a0e5f415018287da"
            },
            "filename": "flow-lending-9.9.9.tgz"
        }
    ],
    "ips": [
        "2.25.140.71"
    ]
}