Deepgram's security policy can be found on our main website.
This project implements comprehensive supply chain security measures to protect against vulnerabilities in dependencies.
pnpm 10.0.0+ is required - this project will not work with npm or yarn.
Security configurations (.npmrc):
ignore-scripts=true- All lifecycle scripts are disabled to prevent malicious code executionenable-pre-post-scripts=false- Pre/post install scripts are blockedminimum-release-age=14400- Packages must be 10+ days old before installation (4-hour minimum in minutes)verify-store-integrity=true- Package integrity hashes are verifiedtrust-policy=strict- Strict trust policies enforcedstrict-peer-dependencies=true- Strict peer dependency resolution
All dependencies are pinned to exact versions (no ^ or ~ ranges) to ensure:
- Reproducible builds across all environments
- No unexpected updates that could introduce vulnerabilities
- Full control over dependency updates
Updates to dependencies should be:
- Tested thoroughly in development
- Scanned for security vulnerabilities
- Reviewed before merging to main
This project uses Snyk for continuous security monitoring:
Local Security Checks:
# Run security scan on root project
pnpm run security-check
# Run security scan on frontend
cd frontend && pnpm run security-check
# Scan all projects
pnpm run security-check:allCI/CD Integration:
- Security scanning integrated where applicable
- Build fails if any vulnerabilities are detected (severity threshold: low)
Required Secret:
SNYK_TOKENmust be configured if using CI/CD security scanning
The pnpm-lock.yaml file is protected:
- CI uses
--frozen-lockfileflag to prevent modifications - Any lockfile changes must be committed explicitly
- Ensures consistency between development and production
If you discover a security vulnerability in this project:
- Do NOT open a public GitHub issue
- Email security concerns to: [email protected]
- Include detailed information about the vulnerability
- Allow reasonable time for response before public disclosure
We take security seriously and will respond promptly to legitimate security concerns.