Skip to main content

deepgram-multi-env-setup

Configures Deepgram multi-environment setups for development, staging, and production, ensuring proper management of API keys and configurations.

Install this skill

or
14/100

Security score

The deepgram-multi-env-setup skill was audited on Feb 25, 2026 and we found 34 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 130

Template literal with variable interpolation in command context

SourceSKILL.md
130throw new Error(`Unknown environment: ${env}`);
medium line 134

Template literal with variable interpolation in command context

SourceSKILL.md
134throw new Error(`DEEPGRAM_API_KEY not set for ${env}`);
medium line 185

Template literal with variable interpolation in command context

SourceSKILL.md
185```yaml
medium line 234

Template literal with variable interpolation in command context

SourceSKILL.md
234```yaml
medium line 336

Template literal with variable interpolation in command context

SourceSKILL.md
336result.errors.push(`API key error: ${projectsError.message}`);
medium line 345

Template literal with variable interpolation in command context

SourceSKILL.md
345result.errors.push(`Project ${projectId} not accessible`);
medium line 392

Template literal with variable interpolation in command context

SourceSKILL.md
392console.log(`${env.name.toUpperCase()}`);
medium line 393

Template literal with variable interpolation in command context

SourceSKILL.md
393console.log(` Valid: ${result.valid ? 'YES' : 'NO'}`);
medium line 394

Template literal with variable interpolation in command context

SourceSKILL.md
394console.log(` API Key: ${result.apiKeyValid ? 'OK' : 'INVALID'}`);
medium line 395

Template literal with variable interpolation in command context

SourceSKILL.md
395console.log(` Project Access: ${result.projectAccess ? 'OK' : 'DENIED'}`);
medium line 398

Template literal with variable interpolation in command context

SourceSKILL.md
398console.log(` Features: ${result.features.join(', ')}`);
medium line 403

Template literal with variable interpolation in command context

SourceSKILL.md
403result.errors.forEach(e => console.log(` - ${e}`));
medium line 414

Template literal with variable interpolation in command context

SourceSKILL.md
414```hcl
low line 73

Access to .env file

SourceSKILL.md
73apiKey: process.env.DEEPGRAM_API_KEY_DEV!,
low line 74

Access to .env file

SourceSKILL.md
74projectId: process.env.DEEPGRAM_PROJECT_ID_DEV!,
low line 90

Access to .env file

SourceSKILL.md
90apiKey: process.env.DEEPGRAM_API_KEY_STAGING!,
low line 91

Access to .env file

SourceSKILL.md
91projectId: process.env.DEEPGRAM_PROJECT_ID_STAGING!,
low line 107

Access to .env file

SourceSKILL.md
107apiKey: process.env.DEEPGRAM_API_KEY_PRODUCTION!,
low line 108

Access to .env file

SourceSKILL.md
108projectId: process.env.DEEPGRAM_PROJECT_ID_PRODUCTION!,
low line 126

Access to .env file

SourceSKILL.md
126const env = process.env.NODE_ENV || 'development';
low line 151

Access to .env file

SourceSKILL.md
151const env = process.env.NODE_ENV || 'development';
low line 372

Access to .env file

SourceSKILL.md
372apiKey: process.env.DEEPGRAM_API_KEY_DEV!,
low line 373

Access to .env file

SourceSKILL.md
373projectId: process.env.DEEPGRAM_PROJECT_ID_DEV!,
low line 377

Access to .env file

SourceSKILL.md
377apiKey: process.env.DEEPGRAM_API_KEY_STAGING!,
low line 378

Access to .env file

SourceSKILL.md
378projectId: process.env.DEEPGRAM_PROJECT_ID_STAGING!,
low line 382

Access to .env file

SourceSKILL.md
382apiKey: process.env.DEEPGRAM_API_KEY_PRODUCTION!,
low line 383

Access to .env file

SourceSKILL.md
383projectId: process.env.DEEPGRAM_PROJECT_ID_PRODUCTION!,
low line 86

External URL reference

SourceSKILL.md
86baseUrl: 'http://localhost:3000',
low line 103

External URL reference

SourceSKILL.md
103baseUrl: 'https://staging.example.com',
low line 120

External URL reference

SourceSKILL.md
120baseUrl: 'https://api.example.com',
low line 352

External URL reference

SourceSKILL.md
352{ url: 'https://static.deepgram.com/examples/nasa-podcast.wav' },
low line 457

External URL reference

SourceSKILL.md
457- [Deepgram Projects](https://developers.deepgram.com/docs/projects)
low line 458

External URL reference

SourceSKILL.md
458- [API Key Management](https://developers.deepgram.com/docs/api-key-management)
low line 459

External URL reference

SourceSKILL.md
459- [Environment Best Practices](https://developers.deepgram.com/docs/environments)
Scanned on Feb 25, 2026
View Security Dashboard
Installation guide →