MAL-2026-10480

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-fsmetrics-native/MAL-2026-10480.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10480
Aliases
  • GHSA-hfgq-7j44-m23h
Published
2026-07-13T19:44:27Z
Modified
2026-07-14T17:49:21.044891853Z
Summary
Malicious code in node-fsmetrics-native (npm)
Details

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

Source: amazon-inspector (9958558a30dea32a3b0fc2e48bb775433e1f12b339030a8d21872ad058bc28ff)

On require(), index.js hex-decodes the URL http://152.53.120.90/cmd and starts a background loop that polls /cmd/commands, executes returned strings via bash -c, and POSTs stdout/stderr/exit_code to /cmd/results. The bundled native addon sysmon.cc, invoked from index.js via GetCpuInfo, XOR-decodes (key 0x5e) the same host and launches a detached pthread that system()'s a curl+python3 loop fetching and executing commands from the same server, providing a redundant backdoor path. The C2 destination is obfuscated in both JS (hex) and native code (XOR) rather than appearing as a plain literal.

Source: ghsa-malware (cfd4af3e5798a58e65cf886be356196894b503a9e81aff5ec1a44aaaf810d352)

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": [
        {
            "import_time": "2026-07-13T20:29:53.955351813Z",
            "source": "amazon-inspector",
            "modified_time": "2026-07-13T19:44:27Z",
            "sha256": "9958558a30dea32a3b0fc2e48bb775433e1f12b339030a8d21872ad058bc28ff",
            "id": "IN-MAL-2026-010299",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "import_time": "2026-07-14T17:40:05.480073334Z",
            "source": "ghsa-malware",
            "modified_time": "2026-07-14T17:28:27Z",
            "sha256": "cfd4af3e5798a58e65cf886be356196894b503a9e81aff5ec1a44aaaf810d352",
            "id": "GHSA-hfgq-7j44-m23h",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ]
        }
    ]
}
References
Credits

Affected packages

npm / node-fsmetrics-native

Package

Name
node-fsmetrics-native
View open source insights on deps.dev
Purl
pkg:npm/node-fsmetrics-native

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-fsmetrics-native/MAL-2026-10480.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "b99cbf19e4f3a10e2445afab7586bfac1b5bd767cf12bc8dc5c675d5cfbd5aab",
            "tlsh": "9e6164d882ff652846f7688cf61b84021627d017e44ecce4fe9c96162f93a385af25e4",
            "path": "index.js"
        },
        {
            "sha256": "afdc004c06a7a42f5763d83766e107cd24bc139c12cd714cec167ed0a5e19610",
            "tlsh": "404160e5e5aea8d5d2ef0b687343c5a0a15f610b12d6cd10fd8ea0981f4845492f3b6b",
            "path": "sysmon.cc"
        }
    ],
    "package_integrity": [
        {
            "filename": "node-fsmetrics-native-1.0.0.tgz",
            "hashes": {
                "sha1": "a66c0c91236086961a48286c5b33a92ebcc6ab5d",
                "sha512_sri": "sha512-ZhZlYr+g4qT1TR4JPUdgpIcSgDPXN1WV0Eo07ZN5To1ls3aiaJJbpIpACFaqVWiwldylfZ54rbz1cKPS+3qKJA=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]