MAL-2026-10216

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-sysmetrics/MAL-2026-10216.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10216
Aliases
  • GHSA-w2wx-f2m6-332m
Published
2026-07-13T00:47:59Z
Modified
2026-07-13T05:01:59.996117361Z
Summary
Malicious code in node-sysmetrics (npm)
Details

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

Source: amazon-inspector (e624a951ebd9352b2b8d47bf80d418a01674640ec2d2b2592f00bb446f110c68)

On npm install, install.js executes as a postinstall script and drops a detached background Node process at /tmp/.sysm-agent.js that persists after installation. The agent enters an infinite polling loop against registry.npmjs.org, reading the package's own dist-tags for base64-encoded commands, decoding them, and executing them via bash -c on the installer's host. Command output is then base64-encoded and exfiltrated by publishing throwaway public npm packages containing the encoded output in the description field, using a hardcoded npm auth token embedded in install.js. The same token is written into the installer's global npm config at ~/.npmrc via npm config set //registry.npmjs.org/:_authToken, hijacking the installer's package manager credentials. Base64 encoding is used on both the inbound command channel and the outbound result channel to evade casual inspection of registry metadata.

Source: ghsa-malware (00b72eed54e4dba21b0eb58a9b9f0fe238ee5b3cc90a04c031e539d4a69050ea)

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": [
        {
            "modified_time": "2026-07-13T00:47:59Z",
            "sha256": "00b72eed54e4dba21b0eb58a9b9f0fe238ee5b3cc90a04c031e539d4a69050ea",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-07-13T00:57:01.671947304Z",
            "source": "ghsa-malware",
            "id": "GHSA-w2wx-f2m6-332m"
        },
        {
            "source": "amazon-inspector",
            "sha256": "25414e99686f31b6344740f4d65d66fef96777b641d2ae1d46171f9a2835ce27",
            "import_time": "2026-07-13T04:43:12.32392112Z",
            "modified_time": "2026-07-13T04:13:08Z",
            "id": "IN-MAL-2026-009787",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-009786",
            "sha256": "e624a951ebd9352b2b8d47bf80d418a01674640ec2d2b2592f00bb446f110c68",
            "modified_time": "2026-07-13T04:12:59Z",
            "versions": [
                "1.0.1"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-07-13T04:43:12.226933969Z"
        }
    ]
}
References
Credits

Affected packages

npm / node-sysmetrics

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1

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."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "node-sysmetrics-1.0.0.tgz",
            "hashes": {
                "sha1": "4d9a800d1fbdede31aa0ef9efd2b73eca15ee0d0",
                "sha512_sri": "sha512-WvBju8X85kA/3oSubclGRSwfumt9Py7s6N6hCIE7OdiXwPjfHLnDzVMMzkV9ymKhZTOA6KpZayOShG/G3W8TSA=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "211172d2ba88d769ea8c04f860642c2fb68fb209921b4c70ecda44b21fcb07146320b1",
            "sha256": "6191c97bcf10474fa48db2f48266446c699882593cd87ca1ad50894ada187592",
            "path": "install.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-sysmetrics/MAL-2026-10216.json"