
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@mastra/speech-replicate
Advanced tools
Affected versions:
Replicate Speech integration for Mastra, providing Text-to-Speech (TTS) capabilities using various AI models hosted on Replicate.
npm install @mastra/speech-replicate
The module requires the following environment variable:
REPLICATE_API_TOKEN=your_api_token
import { ReplicateTTS } from '@mastra/speech-replicate';
// Initialize with configuration
const tts = new ReplicateTTS({
model: {
name: 'default', // Default model
apiToken: 'your-api-token', // Optional, can use REPLICATE_API_TOKEN env var
},
});
// List available models
const voices = await tts.voices();
// Generate speech
const result = await tts.generate({
voice: 'model-id',
text: 'Hello from Mastra!',
});
// Stream speech
const stream = await tts.stream({
voice: 'model-id',
text: 'Hello from Mastra!',
});
Replicate provides access to various TTS models:
Each model has its own unique characteristics and capabilities. View the available models in the voices.ts file or Replicate's model collection.
FAQs
Mastra Replicate speech integration
The npm package @mastra/speech-replicate receives a total of 13 weekly downloads. As such, @mastra/speech-replicate popularity was classified as not popular.
We found that @mastra/speech-replicate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.