MAL-2026-6094

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/metrics-probe-f256/MAL-2026-6094.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6094
Aliases
  • GHSA-wrx9-4534-jwh6
Published
2026-06-18T03:27:53Z
Modified
2026-06-18T06:01:47.503142649Z
Summary
Malicious code in metrics-probe-f256 (npm)
Details

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

Source: amazon-inspector (3fdf2b93d50f09ea1b087bdc33578fedec5483e75c7a9acd61355cc02f9f7ec0)

Package declares a postinstall lifecycle hook ("postinstall": "node run.js" in package.json) that executes run.js automatically on npm install. run.js imports child_process, os, https, and http; reads host identifiers via os.hostname() and os.platform() (run.js:194-195); and issues outbound POST requests (run.js:62, 63, 265) along with a GET (run.js:48). The shape — automatic install-time execution combined with host enumeration and outbound HTTP exfiltration primitives — matches the install-time host-reconnaissance / beacon pattern. The package name (metrics-probe-f256, with a random hex suffix) has no documented purpose consistent with running child processes and shipping host data outbound at install time.

Source: ghsa-malware (79ab0bc35fa37afe4238ba6724b1c55b0daa1139fb6c04becc1d2ff3014c12a4)

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": "3fdf2b93d50f09ea1b087bdc33578fedec5483e75c7a9acd61355cc02f9f7ec0",
            "source": "amazon-inspector",
            "modified_time": "2026-06-18T04:00:56Z",
            "id": "IN-MAL-2026-006967",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-06-18T05:42:05.297010401Z"
        },
        {
            "sha256": "79ab0bc35fa37afe4238ba6724b1c55b0daa1139fb6c04becc1d2ff3014c12a4",
            "source": "ghsa-malware",
            "modified_time": "2026-06-18T03:28:02Z",
            "id": "GHSA-wrx9-4534-jwh6",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-18T05:54:18.982635449Z"
        }
    ]
}
References
Credits

Affected packages

npm / metrics-probe-f256

Package

Affected ranges

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

Affected versions

1.*
1.0.0

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/metrics-probe-f256/MAL-2026-6094.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "74b4e18b6d8ab20cdd433240047db360702e69213b612ffb45a030fe505c9326",
            "tlsh": "46e06118dc20393335c01ae90c919257b7304f0f30143d1c5377282842dbb79747b21d",
            "path": "package.json"
        },
        {
            "sha256": "bc0bb1672b01c96166a48fb9e88eb91d924b852f83f5c096b8093dc4e7bf51da",
            "tlsh": "7542e97629fb152539a3e66db32f64022522f1037205d8a4ba8db3115fcf52452e2ffa",
            "path": "run.js"
        }
    ]
}