Imported from the byteflow.tools deep audit on 2026-06-22.
Problem: Hash Generator includes HMAC mode, which requires a shared secret. Secret input should be treated differently from normal text input. Users should not see shared secrets displayed as regular text by default, and the tool should make local-only handling and clipboard risks explicit.
Affected URL:
Reproduction steps:
- Open Hash Generator.
- Switch from Text Hash to HMAC mode.
- Enter a dummy shared secret and payload.
- Inspect input visibility, copy behavior, warnings, and storage.
- Check whether the UI warns about not using production secrets.
Expected behavior: HMAC secret input should be masked by default, with a show/hide control and strong privacy guidance.
Actual behavior: HMAC mode does not provide enough secret-specific UI behavior and warning clarity.
Impact: users may expose secrets in screen recordings, shared screens, screenshots, or shoulder-surfing situations.
Proposed fix:
- Use password-style input for HMAC secret by default.
- Add show/hide secret toggle.
- Add warning near secret input: “Use dummy or rotated secrets for debugging.”
- Ensure secret is never stored in localStorage, sessionStorage, URL, recipe exports, or analytics.
- Add test coverage for storage and export behavior.
Acceptance criteria:
- HMAC secret field is masked by default.
- User can reveal/hide secret intentionally.
- Secret-specific privacy warning is visible.
- No secret is persisted or exported by default.
- HMAC output remains accurate for supported algorithms.
Imported from the byteflow.tools deep audit on 2026-06-22.
Problem: Hash Generator includes HMAC mode, which requires a shared secret. Secret input should be treated differently from normal text input. Users should not see shared secrets displayed as regular text by default, and the tool should make local-only handling and clipboard risks explicit.
Affected URL:
Reproduction steps:
Expected behavior: HMAC secret input should be masked by default, with a show/hide control and strong privacy guidance.
Actual behavior: HMAC mode does not provide enough secret-specific UI behavior and warning clarity.
Impact: users may expose secrets in screen recordings, shared screens, screenshots, or shoulder-surfing situations.
Proposed fix:
Acceptance criteria: