Supply-chain threat intelligence

Incident detail

criticalnpm·maintainer compromise·osv

Malicious code in @mastra/node-speaker (npm)

@mastra/node-speaker

Risk score

92

AI summary

Indexed incident for @mastra/node-speaker (npm).

Description

@mastra/node-speaker is a PCM audio output library wrapping native mpg123 bindings. Its package.json declares 'easy-day-js' ^1.11.21 as a runtime dependency, but no source file in the tarball requires or imports it — verified by repo-wide search. The declared purpose (audio output) has no relationship to a date utility library. Installing this package will pull easy-day-js into the consumer's dependency tree regardless. The package's own code is otherwise benign: standard library main, a local native build for the mpg123 binding, no lifecycle scripts performing network fetch, no obfuscation, no credential reads, no exfiltration. The risk surface is entirely whether easy-day-js itself is malicious; that package should be assessed separately.

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.

Technical details

Affected versions

=0.1.1

Indicators

  • Advisory IDs
    90%
  • affected version=0.1.175%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents