security: remove hardcoded LiveKit credentials and SearXNG static secret#91
Merged
Lightheartdevs merged 1 commit intomainfrom Mar 9, 2026
Merged
Conversation
- hvac-token-server.py: Replace hardcoded LiveKit Cloud API key, secret, and URL with environment variable reads. Fail fast with a clear error if credentials are not set. The previous values (APIRUdt5f4Hp87o / bTpgs0RC42jjluOevB9D64zcYhZFG7qEdU0T1m1QMNX) were real credentials committed in plaintext — rotate immediately on cloud.livekit.io. - settings.yml: Replace static SearXNG secret_key with a CHANGEME placeholder. All three platform installers (Linux, Windows, macOS) already generate a cryptographically random key at install time and overwrite this file, so this only affects users who docker compose up without running the installer. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
yasinBursali
added a commit
to yasinBursali/DreamServer
that referenced
this pull request
Mar 21, 2026
Removed Access-Control-Allow-Origin: * from /config.yaml and / locations. The VS Code extension uses its own HTTP client (not browser fetch), so CORS headers are unnecessary. The wildcard allowed any website to exfiltrate internal LLM API URLs and server topology from config.yaml. Closes Light-Heart-Labs#91 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Lightheartdevs
pushed a commit
that referenced
this pull request
Mar 22, 2026
…fig (#539) Removed Access-Control-Allow-Origin: * from /config.yaml and / locations. The VS Code extension uses its own HTTP client (not browser fetch), so CORS headers are unnecessary. The wildcard allowed any website to exfiltrate internal LLM API URLs and server topology from config.yaml. Closes #91 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resources/frameworks/voice-agent/core/hvac-token-server.py— real API key and secret were committed in plaintext. Replaced withos.environ.get()reads that fail fast if not set.dream-server/config/searxng/settings.yml— the hardcoded hex value is now aCHANGEMEplaceholder. All three installers (Linux/Windows/macOS) already generate a random key at install time.grace-hvac-jtcdy0sb— the old key (APIRUdt5f4Hp87o) and secret are still in git historygit filter-repoor BFG Repo Cleaner to purge the credentials from git history (optional but recommended since the credentials will be rotated anyway)Test plan
hvac-token-server.pyraisesRuntimeErrorwhen env vars are not setsettings.ymlwith a generated secret)CHANGEMEplaceholder is obvious enough to prevent accidental use without the installer🤖 Generated with Claude Code