altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

security: broaden headersCommand failure-message masking beyond pattern-based maskString

Open anandgupta42 opened this issue 4 months ago • 0 comments

Found during v0.9.1 release review (CTO). Telemetry.maskString() only redacts known shapes (sk-…, Bearer , emails, hosts). A verbose auth CLI in headersCommand that prints a bare unprefixed token to stderr on failure would surface unmasked in status.error/mcp list/logs. Consider entropy-based redaction for the headersCommand failure path, or document the residual risk.

anandgupta42 avatar Jul 08 '26 23:07 anandgupta42