Skip to content

[verify] gateway password mask renders bullets on macOS (PR #90571) #90634

Description

@anurag-bg-neu

Context

PR #90571 switches the Gateway password prompt in openclaw configure --section gateway from clack text() to password(), so the typed password renders as masked bullets instead of cleartext echo. The issue is source-verifiable on current main: src/commands/configure.gateway.ts routes authMode === "password" through a text() call at the Gateway password prompt. The fix is in cross-platform @clack/prompts code with no process.platform branching — it ships to macOS automatically. The author's repro environment is Windows 10 only.

Verification request

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

  1. pnpm openclaw configure --section gateway
  2. Gateway port → press Enter (accept default)
  3. Gateway bind mode → Loopback
  4. Gateway access protection → Password ← reaches the leak surface
  5. Tailscale exposure → Off
  6. At Gateway password — type any test string (e.g., DUMMY_PASSWORD); each character should render as instead of the typed letter
  7. Confirm the persisted gateway.auth.password value in ~/.openclaw/openclaw.json is the typed string (not bullets — masking is render-only)

No real gateway is needed — DUMMY_PASSWORD is sufficient.

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