executable-stories-vitest (npm) · Malicious Code
Affects executable-stories-vitestSource GCVE Database
Malicious package : remove executable-stories-vitest and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-5258
What to do
Remove executable-stories-vitest from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmexecutable-stories-vitest | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The executable-stories-vitest npm package versions 2.0.1, 3.1.1, 4.0.1, 5.0.1, 6.1.1, 7.0.3, and 8.3.3 have been identified as containing malicious code associated with the Miasma malware. This malware propagates by abusing binding.gyp files to execute code during package installation, bypassing typical security inspections. It attempts to exfiltrate credentials and OIDC tokens for cloud and registry services and spreads by compromising other packages and repositories. No direct installer harm or lifecycle script behavior was confirmed in these versions, but the malware's propagation and credential theft capabilities pose significant risk.
References
- endorlabs.com/learn/malicious-payload-in-ai-sdk-ollama-npm-package (opens in a new tab)
- stepsecurity.io/blog/binding-gyp-npm-supply-chain-attack-spreads-like-worm (opens in a new tab)
- npmjs.com/package/executable-stories-vitest/v/4.0.1 (opens in a new tab)
- npmjs.com/package/executable-stories-vitest/v/5.0.1 (opens in a new tab)
- npmjs.com/package/executable-stories-vitest/v/6.1.1 (opens in a new tab)
- npmjs.com/package/executable-stories-vitest/v/7.0.3 (opens in a new tab)
- npmjs.com/package/executable-stories-vitest/v/8.3.3 (opens in a new tab)
- npmjs.com/package/executable-stories-vitest/v/3.1.1 (opens in a new tab)
- npmjs.com/package/executable-stories-vitest/v/2.0.1 (opens in a new tab)
- github.com/advisories/GHSA-75mp-q9qh-pc3h (opens in a new tab)