comeonoliver/skillshub/elevenlabs-security-basics
Claude Code and agent skill by comeonoliver/skillshub
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Apply ElevenLabs security best practices for API keys, webhook HMAC validation, and voice data protection. Use when securing API keys, validating webhook signatures, or auditing ElevenLabs security configuration. Trigger: "elevenlabs security", "elevenlabs secrets", "secure elevenlabs", "elevenlabs API key security", "elevenlabs webhook signature", "elevenlabs HMAC".
Install
npx vskill@latest install comeonoliver/skillshub/elevenlabs-security-basicsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as comeonoliver/skillshub/elevenlabs-security-basics.
ElevenLabs Security Basics
Overview
Security best practices for ElevenLabs API key management, webhook HMAC signature verification, and protecting cloned voice data. ElevenLabs uses a single API key (xi-api-key) and HMAC webhook authentication.
Prerequisites
- ElevenLabs SDK installed
- Understanding of environment variables
- Access to ElevenLabs dashboard (Settings > API Keys)
Instructions
Step 1: API Key Management
Git pre-commit hook to prevent accidental key commits:
Step 2: Environment-Specific Keys
Step 3: Webhook HMAC Signature Verification
ElevenLabs webhooks include an ElevenLabs-Signature header for HMAC verification:
Step 4: Express Webhook Endpoint with Verification
Step 5: API Key Rotation Procedure
Step 6: Voice Data Protection
Security Checklist
- [ ] API keys in environment variables (never in source code)
- [ ]
.envfiles in.gitignore - [ ] Different API keys for dev/staging/prod
- [ ] Pre-commit hook scanning for key patterns (
sk_) - [ ] Webhook signatures verified with HMAC-SHA256
- [ ] Replay protection on webhooks (5-minute timestamp check)
- [ ] Webhook failures monitored (auto-disabled after 10 consecutive failures)
- [ ] Voice cloning operations audit-logged
- [ ] Cloned voice consent documented
- [ ] API key rotation scheduled quarterly
Webhook Failure Policy
ElevenLabs auto-disables webhooks after:
- 10+ consecutive delivery failures, AND
- Last successful delivery was 7+ days ago (or never delivered)
Always return HTTP 200 quickly from your webhook handler.
Error Handling
| Security Issue | Detection | Mitigation | |
|---|---|---|---|
| Exposed API key | Git scanning, CI check | Rotate immediately, revoke old key | |
| Invalid webhook signature | verifyWebhookSignature() returns false | Log and reject (HTTP 401) | |
| Replay attack | Timestamp > 5 minutes old | Reject with timestamp check | |
| Unauthorized voice cloning | Audit logs | Restrict clone permissions |
Resources
Next Steps
For production deployment, see elevenlabs-prod-checklist.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/jeremylongshore/claude-code-plugins-plus-skills/elevenlabs-security-basics/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/comeonoliver/skillshub/elevenlabs-security-basics)