Skip to content

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

Description

@anandgupta42

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions