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
{{ message }}
Repository navigation
[MCP]: Configured secrets remain visible in console log artifacts #41509
--secrets redacts matching values in MCP responses and page snapshots, but generated console-*.log artifacts still contain the raw value.
Reproduction
Configure PASSWORD=password123 in a secrets file.
Use browser_type with text: "PASSWORD" on a page that logs the field value.
Inspect the response and .playwright-mcp/console-*.log.
Response:
<secret>PASSWORD</secret>
Console artifact:
Text: password123
Reproduced on main. tests/mcp/secrets.spec.ts covers response redaction but not console artifact redaction.
Expected: when --secrets is configured, generated console artifacts should redact resolved values as <secret>PASSWORD</secret>, matching MCP responses.
Following the contribution guidelines, I'd like to work on this if approved for community contribution. Please assign it to me.
Activity