MAL-2026-5762

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-sandbox-research-e9f0/MAL-2026-5762.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5762
Aliases
  • GHSA-76w8-rxxx-vjcg
Published
2026-06-14T07:30:49Z
Modified
2026-06-18T06:01:48Z
Summary
Malicious code in npm-sandbox-research-e9f0 (npm)
Details

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

Source: amazon-inspector (a18a9932f78294e22aa0a85077b9318233ab0952bc8788ae8987fce3e5002c93)

Package declares a postinstall hook ("postinstall": "node run.js") that executes automatically on npm install. The tarball ships beacon scripts (beacon13.js, beacon_linux.js) that combine require('child_process'), require('os'), and require('http')/http.request to gather host identifiers (os.hostname(), os.platform()) and transmit them via HTTP POST/GET requests. This is the canonical install-time host-recon and exfiltration shape: lifecycle hook auto-execution, host enumeration via the os module, command execution capability via child_process, and outbound HTTP. Installing this package causes immediate disclosure of host metadata and provides a code-execution surface on the installer's machine.

Source: ghsa-malware (4aa60d0ef029a2e212e9f2dbce05f3e633c9019086e4a75f5102c93724784161)

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-006471",
            "import_time": "2026-06-14T07:43:28.482323692Z",
            "modified_time": "2026-06-14T07:30:50Z",
            "sha256": "1356b7c33d092b4655a20e28a21ddd3e6894a0168cf4c03ca3faf91d4535d0ef",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-006470",
            "import_time": "2026-06-14T07:43:28.442812708Z",
            "modified_time": "2026-06-14T07:30:49Z",
            "sha256": "a18a9932f78294e22aa0a85077b9318233ab0952bc8788ae8987fce3e5002c93",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-76w8-rxxx-vjcg",
            "import_time": "2026-06-18T05:54:18.948351909Z",
            "modified_time": "2026-06-18T03:27:53Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "4aa60d0ef029a2e212e9f2dbce05f3e633c9019086e4a75f5102c93724784161",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / npm-sandbox-research-e9f0

Package

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

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": "beacon13.js",
            "sha256": "5b1aa71a5bc3362de0ebea12fc6a2ffca3644c45642286c51e56c26768faf498",
            "tlsh": "a702b521e6125da4a65299ecd94ab9483827e10f7d20faa0fb8d118c1fdc11fc270afd"
        },
        {
            "path": "beacon_linux.js",
            "sha256": "60a0fbee8014300d0dd230765cbea7b61e9660a1584ad6a265de71927ff04c68",
            "tlsh": "5db1b7d6a57b41282bd3b89c679f84061823f217b512d8d0b6dc06248fc7924a1a2ded"
        },
        {
            "path": "package.json",
            "sha256": "5f60a51ea05b33c768c7cb5c220c2c5ee58cf6d9a76dbaa422e11696e3944e52",
            "tlsh": "dc01dd049c305c3369c12de50ca59d9da734cf0e6544bd7e427b593852eee3935ba26c"
        }
    ],
    "ips": [
        "10.1.0.2",
        "173.255.233.239",
        "104.16.0.34"
    ],
    "package_integrity": [
        {
            "filename": "npm-sandbox-research-e9f0-1.0.0.tgz",
            "hashes": {
                "sha1": "419fb4482840ae778bbfe4ef39190fc44eeb22dd",
                "sha512_sri": "sha512-DddwwdddZ5lB+lSAjUKC5bo0Za+oZjNxj+w6PvO22mcQ8G8v+dBQ+4ejD7CuHYWFt81W4mXuJt2sbYGAl5xhUA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-sandbox-research-e9f0/MAL-2026-5762.json"