Skip to main content

elevenlabs-performance-tuning

Optimizes ElevenLabs TTS latency and throughput through model selection, streaming strategies, and audio format tuning.

Install this skill

or
65/100

Security score

The elevenlabs-performance-tuning skill was audited on May 17, 2026 and we found 11 security issues across 4 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 122

Template literal with variable interpolation in command context

SourceSKILL.md
122console.log(`Time to first byte: ${ttfb.toFixed(0)}ms`);
medium line 147

Template literal with variable interpolation in command context

SourceSKILL.md
147const url = `wss://api.elevenlabs.io/v1/text-to-speech/${config.voiceId}/stream-input?model_id=${model}`;
medium line 189

Template literal with variable interpolation in command context

SourceSKILL.md
189console.log(`WebSocket TTFB: ${totalLatency}ms`);
medium line 232

Template literal with variable interpolation in command context

SourceSKILL.md
232.update(`${voiceId}:${modelId}:${text}`)
medium line 261

Template literal with variable interpolation in command context

SourceSKILL.md
261console.log("[Cache MISS]", key.substring(0, 8), `${audio.length} bytes`);
medium line 285

Template literal with variable interpolation in command context

SourceSKILL.md
285console.log(`${chapter.title}: ${duration.toFixed(0)}ms`);
low line 162

Access to .env file

SourceSKILL.md
162xi_api_key: process.env.ELEVENLABS_API_KEY,
low line 186

Buffer.from base64 decode

SourceSKILL.md
186audioChunks.push(Buffer.from(msg.audio, "base64"));
low line 319

External URL reference

SourceSKILL.md
319- [ElevenLabs Streaming API](https://elevenlabs.io/docs/api-reference/text-to-speech/stream)
low line 320

External URL reference

SourceSKILL.md
320- [WebSocket API Reference](https://elevenlabs.io/docs/api-reference/text-to-speech/v-1-text-to-speech-voice-id-stream-input)
low line 321

External URL reference

SourceSKILL.md
321- [ElevenLabs Models](https://elevenlabs.io/docs/overview/models)
Scanned on May 17, 2026
View Security Dashboard
Installation guide →