@mastra/node-speaker (npm) · Malicious Code
Affects @mastra/node-speakerSource GCVE Database
Malicious package : remove @mastra/node-speaker and rotate any secrets on hosts that installed it.
Data as of 9 Jul 2026, 09:55 UTC
Malicious package
Published to npm · OSV MAL-2026-6055
What to do
Remove @mastra/node-speaker 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 |
|---|---|---|
| npm@mastra/node-speaker | 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 npm package @mastra/node-speaker version 0.1.1 includes a suspicious runtime dependency on 'easy-day-js', a date utility library unrelated to its declared audio output functionality. While @mastra/node-speaker's own code appears benign with no direct malicious behavior, the inclusion of this unrelated dependency raises concerns about potential malicious activity. The 'easy-day-js' package itself should be separately assessed for maliciousness. Installation of @mastra/node-speaker 0.1.1 may lead to full system compromise, and any system with this package installed should be considered compromised. Immediate secret and key rotation is recommended, and removal of the package is advised, though removal may not fully eliminate the compromise.