fix(macos): mask sensitive wizard cli prompts#76746
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. Source inspection gives a high-confidence reproduction path: send a sensitive wizard text step to Next step before merge Security Review detailsBest possible solution: Land a focused macOS CLI fix that honors the existing Do we have a high-confidence way to reproduce the issue? Yes. Source inspection gives a high-confidence reproduction path: send a sensitive wizard text step to Is this the best way to solve the issue? Yes. The proposed termios no-echo branch is the narrow owner-side fix for the macOS CLI client, avoids What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 935f078a89f0. |
Summary
WizardStep.sensitivein the bundledopenclaw-mac wizardtext prompt path.getpass(3), so long credentials are not truncated.Fixes #76698.
Validation
swift build --package-path apps/macos --product OpenClaw --configuration release✅swift build --package-path apps/macos --product openclaw-mac --configuration release✅git diff --check✅swiftformat --lint apps/macos/Sources --config .swiftformatblocked locally:swiftformat: command not foundswiftlint --config .swiftlint.ymlblocked locally:swiftlint: command not foundNotes
This is the focused macOS CLI follow-up to #76693.