Skip to content

[verify] paste-token mask renders bullets on macOS (PR #90893) #90894

Description

@anurag-bg-neu

Context

PR #90893 flips masked: false → true in modelsAuthPasteTokenCommand so that openclaw models auth paste-token --provider <p> renders the token input as masked bullets instead of cleartext echo.

The fix uses @clack/prompts password(), which is cross-platform and ships to macOS/Linux automatically. The author's repro environment is Windows 10 only.

Verification request

Could a macOS maintainer confirm that after PR #90893 merges:

  1. pnpm openclaw models auth paste-token --provider anthropic
  2. At the token prompt — type any string (e.g., sk-ant-DUMMY_TOKEN); each character should render as instead of the typed letter — matching the already-masked sibling paste-api-key

No real Anthropic account is needed — the provider validator checks format only; any plausible string reaches the prompt.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions