You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Close config trust-boundary gaps and gate the completion loader
- Trust-gate cache_dir, cache_enabled, llm_model, llm_max_concurrent and
llm_token_budget so an untrusted local/repo config can't redirect cache
writes or amplify paid-LLM usage; only honored from trusted sources.
'config set' now also warns when these keys are written to an untrusted
local config so the value isn't silently ignored on the next load.
- Scheme/host-validate llm_endpoint on accept (rejects file://, hostless and
malformed forms) and re-validate at the root.go enforcement point so env/
profile-sourced endpoints can't slip a non-http(s) scheme past
RequireSecureURL, which only blocks http:// for non-localhost; this prevents
leaking llm_api_key in cleartext.
- Gate the completion profile loader behind the TrustStore and strip control
characters from completion descriptions.
fmt.Fprintf(os.Stderr, "warning: authority key %q in local config requires trust to take effect; run:\n basecamp config trust %s\n", key, config.ShellQuote(absPath))
357
+
fmt.Fprintf(os.Stderr, "warning: %q in local config requires trust to take effect; run:\n basecamp config trust %s\n", key, config.ShellQuote(absPath))
0 commit comments