We release security updates for the following versions:
| Version | Supported |
|---|---|
| 0.2.x | ✅ |
| 0.1.x | ✅ |
| < 0.1 | ❌ |
dlzoom implements several security measures to protect your credentials and data:
- Never logged: Zoom API credentials are never written to logs
- Secure storage: Credentials read from environment variables or config files (not command line)
- Masked in output: Credentials are masked in debug output and error messages
- Meeting ID validation: Prevents path traversal and command injection attacks
- File path sanitization: Output paths are validated to prevent directory traversal
- URL validation: Recording URLs are validated before download
- HTTPS only: All API communication uses HTTPS
- Token expiration: OAuth tokens are automatically refreshed
- Timeout protection: Network calls have timeout limits (30 seconds)
- Rate limit handling: Automatic retry with exponential backoff
- Atomic writes: Files are written atomically to prevent corruption
- Disk space checks: Ensures sufficient disk space before downloads
- Size validation: Downloaded files are validated against expected sizes
- Temporary file cleanup: Temporary files are automatically removed
- Automated scanning: Dependencies are scanned for vulnerabilities via Trivy
- Regular updates: Dependencies are kept up-to-date
- Minimal dependencies: Only essential dependencies are included
- Confidential client: The broker holds the Zoom client secret and performs the Authorization Code exchange and token refresh on behalf of the CLI.
- Short‑lived storage: Authorization results and tokens are stored briefly in KV (≤ 10 minutes) to complete login; the CLI persists refreshed tokens locally under the user config directory.
- CORS: Endpoints allow CLI access; deployments can restrict origin via
ALLOWED_ORIGIN. - Endpoints: See
zoom-broker/README.mdfor/zoom/auth/start,/callback,/zoom/auth/poll, and/zoom/token/refresh. - Self‑hosting: If you deploy your own broker, you are responsible for securing the Worker, secrets (
ZOOM_CLIENT_ID/ZOOM_CLIENT_SECRET), and KV namespace. Always use HTTPS and restrict CORS where possible.
- Non-root user: Docker containers run as non-root user (UID 1000)
- Minimal base image: Uses
python:3.11-slimfor smaller attack surface - Multi-stage builds: Build dependencies not included in final image
- Regular scanning: Docker images scanned with Trivy on every build
- SBOM generation: Software Bill of Materials generated during release and attached as artifacts.
We take security seriously. If you discover a security vulnerability, please follow these steps:
Please do not:
- Open a public GitHub issue
- Post on social media or forums
- Discuss publicly until fixed
Email: yaniv@golan.name
Subject: [SECURITY] Brief description of vulnerability
Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Your contact information
Within 24 hours:
- Acknowledgment of your report
- Initial assessment of severity
Within 7 days:
- Detailed response with:
- Confirmation or rejection of vulnerability
- Estimated timeline for fix
- Planned disclosure date
Timeline:
- Critical vulnerabilities: Fixed within 7 days
- High severity: Fixed within 30 days
- Medium/Low severity: Fixed in next regular release
Once a vulnerability is confirmed and fixed:
- Patch released on all supported versions
- Security advisory published on GitHub Security Advisories
- CVE assigned (if applicable)
- Credit given to reporter (unless anonymity requested)
We follow responsible disclosure practices:
- Private reporting period: 90 days
- Fix development: Work with reporter to develop fix
- Public disclosure: After patch is released
- Credit: Reporter acknowledged in release notes
After a fix is released, we will:
- Publish GitHub Security Advisory
- Update CHANGELOG.md with security notes
- Announce in release notes
- Update documentation if needed
✅ Do:
- Use environment variables or config files for credentials
- Use
.envfiles with restrictive permissions (600) - Store credentials in secure password managers
- Use Server-to-Server OAuth apps (not user tokens)
- Limit OAuth app scopes to minimum required
❌ Don't:
- Pass credentials via command line arguments
- Commit credentials to version control
- Share credentials via email or chat
- Use overly permissive OAuth scopes
- Reuse credentials across environments
Secure .env file:
# Set restrictive permissions
chmod 600 .env
# Verify permissions
ls -l .env
# Should show: -rw------- (only owner can read/write)Example .env:
ZOOM_ACCOUNT_ID=your_account_id
ZOOM_CLIENT_ID=your_client_id
ZOOM_CLIENT_SECRET=your_client_secretAdd to .gitignore:
# Credentials
.env
credentials.json
config.yaml
*.key
*.pemRun as non-root:
# dlzoom Docker images already run as non-root (UID 1000)
docker run --rm yanivgolan1/dlzoom:latest --helpUse specific version tags:
# ✅ Good: Specific version
docker run --rm yanivgolan1/dlzoom:0.1.0 --help
# ❌ Avoid: latest tag (changes without notice)
docker run --rm yanivgolan1/dlzoom:latest --helpMount volumes read-only when possible:
# Mount config as read-only
docker run --rm \
-v $(pwd)/config.yaml:/app/config.yaml:ro \
-v $(pwd)/downloads:/app/downloads \
-e ZOOM_ACCOUNT_ID="$ZOOM_ACCOUNT_ID" \
yanivgolan1/dlzoom:0.1.0 download 123456789Use HTTPS proxies only:
# If using a proxy, ensure it's HTTPS
export HTTPS_PROXY=https://proxy.example.com:8080Verify TLS certificates:
# dlzoom verifies TLS certificates by default
# Don't disable certificate verification in productionUse dedicated download directory:
# Create dedicated directory with appropriate permissions
mkdir -p ~/zoom-recordings
chmod 700 ~/zoom-recordings
# Download to dedicated directory
dlzoom 123456789 --output-dir ~/zoom-recordingsClean up temporary files:
# dlzoom automatically cleans up temporary files
# But periodically check /tmp for orphaned filesOur CI/CD pipeline runs multiple security scans:
- Tool: Trivy (filesystem scan)
- Frequency: Every push/PR
- Scope: Python and Node dependencies (CLI and broker)
- Results: Uploaded to GitHub Security tab
- Tool: Trivy (container scan)
- Frequency: Every build
- Scope: OS packages, Python dependencies, misconfigurations
- Results: Uploaded to GitHub Security tab
- Tool: GitHub CodeQL (planned)
- Frequency: Every push/PR
- Scope: Source code vulnerabilities
- Results: GitHub Security tab
GitHub Security Tab:
- Go to repository: https://github.com/yaniv-golan/dlzoom
- Click Security tab
- View Dependabot alerts and Code scanning alerts
Local Scanning:
# Scan Python dependencies
pip install pip-audit
pip-audit
# Scan Docker image
docker build -t dlzoom:test .
docker run --rm aquasec/trivy image dlzoom:test
# Scan Node dependencies (broker)
trivy fs --severity CRITICAL,HIGH zoom-brokerDefinition:
- Remote code execution
- Authentication bypass
- Credential exposure
- Data loss
Response:
- Immediate assessment (< 24 hours)
- Emergency patch (< 7 days)
- Public advisory and CVE
Definition:
- Local privilege escalation
- Denial of service
- Information disclosure
- CSRF/XSS (if applicable)
Response:
- Assessment within 48 hours
- Patch within 30 days
- Security advisory
Definition:
- Minor information disclosure
- Non-exploitable bugs
- Defense-in-depth improvements
Response:
- Included in next regular release
- Documented in CHANGELOG
- Primary: yaniv@golan.name
- GitHub Security: https://github.com/yaniv-golan/dlzoom/security
Coming soon: PGP public key for encrypted vulnerability reports.
We recognize security researchers who responsibly disclose vulnerabilities:
No vulnerabilities reported yet.
Last Updated: 2025-10-02
Thank you for helping keep dlzoom secure! 🔒