MAL-2026-5757

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-sandbox-ping-c8f2a/MAL-2026-5757.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5757
Aliases
  • GHSA-w249-c3rp-ffwq
Published
2026-06-14T07:30:47Z
Modified
2026-06-18T06:01:47Z
Summary
Malicious code in npm-sandbox-ping-c8f2a (npm)
Details

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

Source: amazon-inspector (f5401a81d56283c310efebfe29af19c3e3fa331667f40adeed71a54627adc877)

Package declares a postinstall hook ("postinstall": "node run.js" in package.json) that executes on every install. Bundled scripts beacon6.js and beacon_linux.js use require('child_process') to gather host identity (whoami, os.hostname(), os.platform()) and POST the collected data to a remote HTTP endpoint via http.request(...). The package name npm-sandbox-ping-c8f2a and the beacon-style file naming together with no legitimate library functionality indicate the install-time goal is host fingerprinting / callback to an attacker-controlled destination, not any documented purpose. Installing this package automatically transmits installer machine identity off-host.

Source: ghsa-malware (38def903f941c683b93a1cc92c9f3f9e2a11dfeaf811b080725b18cf886a3a8f)

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": [
        {
            "id": "IN-MAL-2026-006469",
            "import_time": "2026-06-14T07:43:28.414770377Z",
            "modified_time": "2026-06-14T07:30:48Z",
            "sha256": "dc3d1f51ae443b062c28e4cf7f1b4203a6c5982e65f78f5dff5adf6c415b0237",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-006468",
            "import_time": "2026-06-14T07:43:28.368084065Z",
            "modified_time": "2026-06-14T07:30:47Z",
            "sha256": "f5401a81d56283c310efebfe29af19c3e3fa331667f40adeed71a54627adc877",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-w249-c3rp-ffwq",
            "import_time": "2026-06-18T05:54:18.980016265Z",
            "modified_time": "2026-06-18T03:27:54Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "38def903f941c683b93a1cc92c9f3f9e2a11dfeaf811b080725b18cf886a3a8f",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / npm-sandbox-ping-c8f2a

Package

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

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "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.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "beacon6.js",
            "sha256": "53fb0be80b3bec5ea46b21b6b9eaa201afaf1401bc028ebcdbd01b08dafc4b14",
            "tlsh": "d1122a813da660b483c35dfafed7fca51221e11d81689554b5cc81ca2bc213c9b6dbdb"
        },
        {
            "path": "beacon_linux.js",
            "sha256": "60a0fbee8014300d0dd230765cbea7b61e9660a1584ad6a265de71927ff04c68",
            "tlsh": "5db1b7d6a57b41282bd3b89c679f84061823f217b512d8d0b6dc06248fc7924a1a2ded"
        },
        {
            "path": "package.json",
            "sha256": "97373bd3778f35162f5d261c270ddf939eeffcc676adf3c09e471fb0521b4a83",
            "tlsh": "910123905c302c3355c12ec61c561a8af3344f4b3190bd5d86771a1c219ff74357e19c"
        }
    ],
    "ips": [
        "173.255.233.239",
        "104.16.7.34",
        "10.1.0.2",
        "104.16.6.34"
    ],
    "package_integrity": [
        {
            "filename": "npm-sandbox-ping-c8f2a-1.0.0.tgz",
            "hashes": {
                "sha1": "db5d2aa2e07292e16e8ba0110cacfb006a71f31a",
                "sha512_sri": "sha512-QgDFRcsNUPus2nQR11dCvB6u845CncSgMadUX5Fbdv+Ikt4iIN4dBkE7f/mf9+CVMxRLRQgHrP5E3ludvDKcyQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-sandbox-ping-c8f2a/MAL-2026-5757.json"