MAL-2026-5266

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-env-resolver-vite/MAL-2026-5266.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5266
Published
2026-06-05T00:53:43Z
Modified
2026-06-05T06:16:44.823599599Z
Summary
Malicious code in node-env-resolver-vite (npm)
Details

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

Source: google-open-source-security (a6c7977dbc054cdb7fe56da0d2fbd26e2a6fed695deb4263ccbf4adfedd86acb)

The Miasma malware is a self-propagating worm that spreads across the npm registry by abusing weaponized binding.gyp files to achieve execution during package installation, bypassing security tools that only inspect package lifecycle scripts. Upon execution, the malware attempts to exfiltrate credentials and OIDC tokens for various cloud and registry services, and propagates by compromising other packages managed by the stolen accounts or committing backdoor files to GitHub repositories.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "a6c7977dbc054cdb7fe56da0d2fbd26e2a6fed695deb4263ccbf4adfedd86acb",
            "modified_time": "2026-06-05T05:12:55.157000667Z",
            "import_time": "2026-06-05T05:50:37.549948Z",
            "versions": [
                "2.4.2"
            ],
            "source": "google-open-source-security"
        }
    ]
}
References

Affected packages

npm / node-env-resolver-vite

Package

Name
node-env-resolver-vite
View open source insights on deps.dev
Purl
pkg:npm/node-env-resolver-vite

Affected ranges

Affected versions

2.*
2.4.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-env-resolver-vite/MAL-2026-5266.json"