MAL-2024-9443

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sn-flow-client/MAL-2024-9443.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-9443
Published
2024-10-21T14:56:36Z
Modified
2026-07-08T17:46:44.651366537Z
Summary
Malicious code in sn-flow-client (npm)
Details

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

Source: amazon-inspector (d2c83ae0b3aa74be7de2508ec17549e3bc00e40edd30c62322e91be77ea48e69)

package.json declares a preinstall hook ("preinstall": "node index.js") that runs index.js automatically on npm install. index.js requires childprocess, os, http, and https, then collects installer host identity — os.hostname(), process.platform, os.arch(), os.homedir(), os.userInfo() (username/uid/gid/shell), and the output of whoami / id / cwd via childprocess — and POSTs the collected JSON to https://ypraooa298eigl12zisuxg2f76dx1npc.oastify.com/detox56. oastify.com is the Burp Collaborator out-of-band interaction domain; the random subdomain is an attacker-controlled OAST listener. The package has empty author/description/license metadata, no legitimate functionality, and a plausibly-internal-sounding name (sn-flow-client) — consistent with a dependency-confusion probe rather than a real client library. Installing this package causes immediate outbound transmission of installer host/user identifiers to an attacker-controlled endpoint with no user consent.

Source: ossf-package-analysis (40af2ecf250ffc74b1566c2e1b013c1fb2f8e1917dc5878511d1dbaf791c0c48)

The OpenSSF Package Analysis project identified 'sn-flow-client' @ 10.10.10 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "40af2ecf250ffc74b1566c2e1b013c1fb2f8e1917dc5878511d1dbaf791c0c48",
            "source": "ossf-package-analysis",
            "import_time": "2024-10-21T15:05:44.825313176Z",
            "modified_time": "2024-10-21T14:56:36Z",
            "versions": [
                "10.10.10"
            ]
        },
        {
            "sha256": "d2c83ae0b3aa74be7de2508ec17549e3bc00e40edd30c62322e91be77ea48e69",
            "id": "IN-MAL-2026-008165",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T17:40:19.199573892Z",
            "modified_time": "2026-07-08T17:19:15Z",
            "versions": [
                "20.5.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / sn-flow-client

Package

Affected ranges

Affected versions

10.*
10.10.10
20.*
20.5.1

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "00514fd505f65a251ba7b8494a4f9402b227e1033605de55bfcc8340af9537c9bf0bf6",
            "sha256": "514e72418ccfda35b8bcc457b1a470858cb605fbe4f3e37a29e229803f05ed40"
        },
        {
            "path": "package.json",
            "tlsh": "b5d0a7344e21653325c106a24c2ba487b3b18f2f04047c0863df582c81ee677a8ff31d",
            "sha256": "7d67dd4d0fb1a41fe96543e0948d183ce40f6020eab6befd8470476e5f37ed4e"
        }
    ],
    "package_integrity": [
        {
            "filename": "sn-flow-client-20.5.1.tgz",
            "hashes": {
                "sha1": "15df11f96a1ba39b8a176a86c815aa695c1c200d",
                "sha512_sri": "sha512-1LAEH6SCeVFfRqGeJm5yMAVkTwbPwSDegBzb2sSx1UOR1bF+fRdcsLe8rUCZGs/PuRBOjqDAS28otYzl1YYZ7Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sn-flow-client/MAL-2024-9443.json"
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]