MAL-2026-5986

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-sandbox-ping-r9t2/MAL-2026-5986.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5986
Aliases
  • GHSA-p3jc-qrj7-hj68
Published
2026-06-17T04:41:46Z
Modified
2026-06-18T06:01:47.794771619Z
Summary
Malicious code in npm-sandbox-ping-r9t2 (npm)
Details

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

Source: amazon-inspector (335649d395a44d7de1bc6343dbce1f0459414ef92ab149413a86b47e28f3c7c3)

package.json declares a postinstall hook ("postinstall": "node run.js") that auto-executes on install. The package ships beacon scripts (beacon14.js, beaconlinux.js) that import childprocess and http/os, run shell commands such as whoami, read process.env, process.platform, os.hostname(), os.platform(), and transmit the collected host/identity data via http.request GET/POST to a remote endpoint. The data flow (system enumeration -> outbound HTTP) and the install-time auto-execution together constitute a credential/host-info exfiltration beacon. Installer harm: any machine that runs npm install npm-sandbox-ping-r9t2 will silently execute these beacons and leak local identity/environment information to a remote endpoint.

Source: ghsa-malware (ad2de245b09aeb12d92a3e2edbe8ca8ecf88e4211ff95cc51355810b57b70aa4)

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": [
        {
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-006898",
            "import_time": "2026-06-17T05:45:43.134943187Z",
            "modified_time": "2026-06-17T04:41:46Z",
            "sha256": "335649d395a44d7de1bc6343dbce1f0459414ef92ab149413a86b47e28f3c7c3",
            "source": "amazon-inspector"
        },
        {
            "sha256": "ad2de245b09aeb12d92a3e2edbe8ca8ecf88e4211ff95cc51355810b57b70aa4",
            "id": "GHSA-p3jc-qrj7-hj68",
            "modified_time": "2026-06-18T03:27:54Z",
            "import_time": "2026-06-18T05:54:18.96642242Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / npm-sandbox-ping-r9t2

Package

Name
npm-sandbox-ping-r9t2
View open source insights on deps.dev
Purl
pkg:npm/npm-sandbox-ping-r9t2

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "bb7b836d1fcdb4e22dbca9a8448c57edb9b3af8d6b4eb8d7dc312c11871771ba",
            "tlsh": "4c229806f2612d94669359b4d94a7888342ba30f5e70b9a0f7de4acc1fdc21f92709fd",
            "path": "beacon14.js"
        },
        {
            "tlsh": "5db1b7d6a57b41282bd3b89c679f84061823f217b512d8d0b6dc06248fc7924a1a2ded",
            "sha256": "60a0fbee8014300d0dd230765cbea7b61e9660a1584ad6a265de71927ff04c68",
            "path": "beacon_linux.js"
        },
        {
            "tlsh": "d8f08b949c306e3329d529d80c92694afa344f0b6144b9ae83bb192801dee3634bb28d",
            "sha256": "248c86f0a720e5b71264093224f5f44d73e3cf503cdf632fac68792e544b5c01",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "npm-sandbox-ping-r9t2-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-Hi7WZLU9dvbl6vGcapqlKkKe0Yb31dNFad5ZyIZBBprbSGFRMa1HI2lCtwhTNHNmMs5iNspUUUWaX9sVkQT3bw==",
                "sha1": "6a63b5824848f5ef3ee8af466950087846e8d2f1"
            }
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "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."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-sandbox-ping-r9t2/MAL-2026-5986.json"