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
- Log leakage: remove valueToStore content from console.error at parse
and success paths; replace with type/key metadata only. Also suppress
the full config dump in getConfig() (key count only).
- Misleading editable flag: derive editable from !securityCritical so
the config schema correctly reports security-critical keys as non-editable
via the MCP tool.
- Auth bypass (opt-in hardening): add DESKTOP_COMMANDER_UI_TOKEN env-var
enforcement for _internal_set_config_value. When the host sets this var,
callers must supply a matching _uiToken in args (timing-safe comparison).
The config-editor UI reads window.__DC_UI_TOKEN injected by the hosting
app's preload and passes it automatically. When the env var is unset the
behaviour is unchanged for backward compatibility.
- Docstrings: add JSDoc to pathExists, detectAvailableShells (config.ts),
listProcesses, killProcess (process.ts), and isConfigFieldKey
(config-field-definitions.ts) to restore docstring coverage above 80%.
0 commit comments