Skip to content

Commit 88ebf86

Browse files
fix(accessibility): redact password in createAccessibilityAuthConfig log
Replace JSON.stringify(args) with a redacted copy so the plaintext password never reaches the log stream. Bumps version to 1.2.17. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2f3377c commit 88ebf86

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@browserstack/mcp-server",
3-
"version": "1.2.16",
3+
"version": "1.2.17",
44
"description": "BrowserStack's Official MCP Server",
55
"mcpName": "io.github.browserstack/mcp-server",
66
"main": "dist/index.js",

server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{
1212
"registryType": "npm",
1313
"identifier": "@browserstack/mcp-server",
14-
"version": "1.2.16",
14+
"version": "1.2.17",
1515
"transport": {
1616
"type": "stdio"
1717
},

src/tools/accessibility.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ async function executeCreateAuthConfig(
280280
undefined,
281281
config,
282282
);
283-
logger.info(`Creating auth config: ${JSON.stringify(args)}`);
283+
logger.info(
284+
`Creating auth config: ${JSON.stringify({ ...args, password: "***" })}`,
285+
);
284286

285287
const result = await createAuthConfig(args, config);
286288

0 commit comments

Comments
 (0)