Skip to content

Fix/vscode mask password in logs#79

Open
grongierisc wants to merge 2 commits into
intersystems-community:masterfrom
grongierisc:fix/vscode-redact-password-logs
Open

Fix/vscode mask password in logs#79
grongierisc wants to merge 2 commits into
intersystems-community:masterfrom
grongierisc:fix/vscode-redact-password-logs

Conversation

@grongierisc

Copy link
Copy Markdown

Summary

Mask credentials written to the VS Code output channel.

Password and other sensitive fields now appear as ******** in:

  • objectscript.conn logs
  • Named server configuration logs
  • MCP process environment logs

The actual environment passed to the MCP server remains unchanged.

Testing

  • Added unit tests for nested credential redaction
  • Verified source objects are not modified
  • Verified extension compilation and TypeScript checks
  • Tested non-sensitive environment values remain visible

Prevent passwords and related credential values from leaking through connection, named-server, and process environment diagnostics.
Keep credential values hidden while making the log placeholder compact and familiar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant