Please do not open a public issue for security problems. Report them privately to the repository owner through GitHub's private vulnerability reporting feature.
- Never commit
.envfiles, API keys, logs, or model responses. - The repository previously tracked
.envfiles in the root,client/,rebuild/server/, and the archived beta track, plus a server log. They have been removed from the tracked tree. Treat any key that appeared in git history as compromised: revoke it at the provider first, then purge history withscripts/purge_secrets.sh, force-push, and audit provider usage. - The server logs prompt lengths instead of prompt bodies at INFO level. Set
LOG_LEVEL=DEBUGonly for local debugging. - Bring-your-own-key settings live in
%APPDATA%\Vulcan\settings.json.ServerTokenandLlmApiKeyare encrypted with Windows DPAPI under the current Windows user, so the file must not be copied between machines or accounts and must never be committed. The key is forwarded to the configured Vulcan server asX-LLM-API-Keyfor a single request and is not logged by the server. insert_componentaccepts only.sldprtand.sldasmpaths from the model, but it runs with the signed-in Windows user's file permissions. Review assembly requests before executing them on a shared workstation.- Set
VULCAN_ALLOW_CUSTOM_LLM_BASE_URL=falseon a shared server to prevent clients from redirecting prompts and keys to an arbitrary provider endpoint.
- Set
VULCAN_API_TOKENand requireAuthorization: Bearer <token>on the server. - Keep
HOST=127.0.0.1unless a trusted reverse proxy terminates TLS in front of the service. - Do not enable Flask debug mode in production. The Docker image runs gunicorn with
FLASK_ENV=production. - Per-IP rate limiting is in-memory and per worker, with a bounded key table. Use a shared store such as Redis when running multiple workers or replicas.
- Set
VULCAN_TRUST_PROXY=trueonly when exactly one trusted reverse proxy terminates TLS in front of the service; the header is otherwise client-controlled.
See README.md for deployment and configuration guidance, and server/.env.example for the full environment template.