fix(docs): replace Math.random() nonce with crypto.randomUUID() in Wagmi integration example
Open
- Dominant language
- JavaScript
- Stars
- 337
- Forks
- 792
- Avg merge
- 17h 23m
- Merged PRs (30d)
- 49
Description
The Wagmi integration setup guide uses Math.random() to generate a SIWE nonce. Math.random() is not cryptographically secure and should not be used for security-sensitive values. The authenticate-users guide already uses the correct window.crypto.randomUUID() approach — this makes the Wagmi integration consistent and safe.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.