Skip to content

security: deviceId stored unencrypted in localStorage #448

Description

@nanaf6203-bit

Summary

src/utils/security/transactionSecurity.ts stores deviceId in localStorage unencrypted.

Affected area

src/utils/security/transactionSecurity.ts line ~88

Steps to reproduce / impact

Device fingerprint is reusable to impersonate the user across browsers on the same machine and supports correlation of identity-bound security policies.

Expected behaviour

Store only a salted hash, refresh per session, never reuse across origins. Or remove entirely if not used in security decisions.

Acceptance criteria

  • Document the threat model.
  • Migrate from storage to per-request payload.
  • Audit other localStorage entries for similarly sensitive data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programpriority/p2P2 — medium prioritysecuritySecurity issue or hardening opportunity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions